同花顺买卖优化指标公式
2021/4/15 18:23:03
VAR:=(CLOSE-LLV(LOW,32))/(HHV(HIGH,32)-LLV(LOW,32))*1.2*CLOSE;
VAR1:=EMA(VAR,3);
VAR2:=EMA(VAR,5);
VAR3:=EMA(VAR,7);
T1:=VAR2>=VAR3 AND VAR1<REF(VAR1,1);
T2:=VAR2<VAR3 AND VAR1>REF(VAR1,1);
STICKLINE(VAR1>=VAR2,VAR3,VAR1,6,0),Color0000ff;
STICKLINE(VAR1>=VAR2,VAR3,REF(VAR1,1),1,0),Color0000ff;
STICKLINE(VAR1<VAR2,VAR3,VAR1,6,0),Colorff9900;
STICKLINE(VAR1<VAR2,VAR3,REF(VAR1,1),1,0),Colorff9900;
STICKLINE(T1,VAR1,VAR3,6,0),Colorffdd55;
STICKLINE(T1,VAR1,REF(VAR3,1),1,0),Colorffdd55;
STICKLINE(T2,VAR1,VAR3,6,0),Color00ffff;
STICKLINE(T2,VAR1,REF(VAR3,1),1,0),Color00ffff;
高抛:HHV(EMA(VAR,5),20),colorgray,Linethick2;
低吸:LLV(EMA(VAR,5),20),colorgray,Linethick2;
DRAWICON(CROSS(VAR,低吸),低吸,"buy");
DRAWICON(CROSS(高抛,VAR),VAR,"sell");
DRAWGBK(DATE>900101,STRIP(RGB(20,0,0),RGB(10,10,0),1));
投股 票网 www.tou 18.cn
股市公式下载推荐