九毛八公式指标
公式模块:
请老师将同花顺买不亏这个指标改成同花顺选股公式。谢谢
Var2:=LLV(LOW,33);
Var3:=HHV(HIGH,21);
Var4:=EMA((CLOSE-Var2)/(Var3-Var2)*100,20)*0.998;
短线通道:20,colorgreen; 短线顶部:85,colorff00ff;
强弱分界:50,color00ffff;
DRAWTEXT(FILTER(CLOSE>0,100),15,'安全区'),colorwhite;
短线:=EMA(0.667*REF(Var4,1)+0.333*Var4,1);
STICKLINE(短线>=REF(短线,1),短线+0.5,短线-1,6,0),colorred,linethick2;
STICKLINE(短线<REF(短线,1),短线+0.5,短线-1,6,0),color00ff00;
STICKLINE(短线通道>短线,短线通道,短线,7,0),color00ffff, linethick3;
DRAWTEXT(crOSS(短线,短线通道) ,短线+1,'买不亏'),colorff00ff;
Var2:=LLV(LOW,33);
Var3:=HHV(HIGH,21);
Var4:=EMA((CLOSE-Var2)/(Var3-Var2)*100,20)*0.998;
短线:=EMA(0.667*REF(Var4,1)+0.333*Var4,1);
买不亏:CROSS(短线,20);