编写条件:
编写方法:
网友求助:
Var2:=1;
Var3:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),18)/4;
Var4:=IF(1,IF(Var3>23.16,Var3,0),0);
Var5:=Var3<10;
Var6:=Var3<2;
Var7:=Var5 OR Var6;
长期趋势: ZIG(3,8),colorblue;
短期趋势: ZIG(3,4.5), coloryellow;
M5日: EMA(CLOSE,5), COLOR0099EE;
M10: EMA(CLOSE,10) , COLOREEFF00;
M20: EMA(CLOSE,20), COLORcccccc;
M30: EMA(CLOSE,30), COLOr00ccff;
M60: EMA(CLOSE,60),COLORcccccc;
DRAWTEXT(crOSS(ZIG(3,8),REF(ZIG(3,8),1)),LOW*0.98,'买') , colorred;
DRAWTEXT(CROSS(REF(ZIG(3,10),1),ZIG(3,10)),HIGH*1.05,'卖'),colorgreen;
解答如下:
=====ZIG=========