同花顺支撑压力主图源码
2017-10-17网络 编 辑:翔博软件
白线金叉蓝线时买入,白线死叉蓝线时卖出。
var1:=COST(10)*0;
var2:=99990905;
var3:=IF(DATE<=var2,1,0);
var4:=(LOW+HIGH+CLOSE)/3*var3;
操作: MA(var4,5);
拉升: HHV(操作,13);
压力: HHV(操作,60)*var3;
买卖: LLV(操作,13);
底部支撑: LLV(LOW,60)*1.02*var3;
顶部: HHV(HIGH,60)*0.98*var3;
var5:=EMA(WINNER(COST(50)),4);
var6:=EMA(WINNER(CLOSE),4)-var5;
var7:=EMA(var6,8);
var8:=2*(var6-var7);
var9:=3*var6-2*var7*var3;
varA:=LLV(LOW,36);
varB:=HHV(HIGH,30);
varC:=EMA((CLOSE-varA)/(varB-varA)*4,4)*25*var3;
varD:=varC;
varE:=(varC-LLV(varC,4))/(HHV(varC,4)-LLV(varC,4))*4*25*var3;
varF:=CROSS(varE,87.5) AND varD<40;