通达信您已获利指标公式
2020/5/30 18:07:21
Var1:=(CLOSE-LLV(LOW,981))/(HHV(HIGH,981)-LLV(LOW,981))*100;
Var2:=(CLOSE-LLV(LOW,393))/(HHV(HIGH,393)-LLV(LOW,393))*100;
VarA:=(CLOSE-LLV(CLOSE,124))/(HHV(CLOSE,124)-LLV(CLOSE,124))*100;
VarC:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100;
VarD:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100;
VarE:=BARSCOUNT(CLOSE);
VarF:=VarC<20 AND VarD<23 AND VarE>35;
Var3:=IF(FILTER( VarA=0,89)=1,60,0);
Var4:=IF(DATE,ABS((CLOSE-LLV(LOW,265))/LLV(LOW,265))*100,0);
25%分批建仓:Var3>0*25,COLORMAGENTA;
您已获利%:Var4,COLORRED;
Var5:=MA(BARSLAST(LOW=LLV(LOW,13))*IF(CLOSE>OPEN,VOL,1),3);
Var6:=Var5=0 OR Var5<0.38;
Var7:=Var6 AND (您已获利%=0 OR 您已获利%<0.4) ;
DRAWTEXT(Var7>0,1,'↑'), , COLORYELLOW;
DRAWTEXT(CROSS(您已获利%,20),您已获利%,'20%↓'),COLORGREEN;
看股吧公 式 www .kanguba.com
其它股票公式列表