通达信仓位管理指标公式
2021/2/28 18:05:12
满仓:1,POINTDOT,COLORRED;
粉色五成:0.5,POINTDOT,COLORLIRED;
灰色五成:0.5,POINTDOT,COLORGRAY;
清仓:0,COLORWHITE;
VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
VAR2:=EMA(EMA(EMA(VAR1,4),4),4);
VAR3:=(VAR2-REF(VAR2,1))/REF(VAR2,1)*100;
VAR4:=MA(VAR3,2);
VAR5:=EMA(CLOSE,5)-EMA(CLOSE,55);
VAR6:=EMA(VAR5,10);
STICKLINE(VAR3>VAR4 AND VAR5<VAR6,0,0.5,3.7,0),COLORLIRED;
STICKLINE(VAR3>VAR4 AND VAR5>VAR6,0,1,3.7,0),COLORRED;
STICKLINE(VAR3<VAR4 AND VAR5>VAR6,0,0.5,3.7,0),COLORGRAY;
STICKLINE(VAR3<VAR4 AND VAR5<VAR6,0,0.05,3.7,0),COLORWHITE;
DRAWICON(VAR3>VAR4 AND VAR5<VAR6 AND REF((VAR3>VAR4 AND VAR5<VAR6)<1,1),0.5,23);
DRAWICON(VAR3>VAR4 AND VAR5>VAR6 AND REF((VAR3>VAR4 AND VAR5>VAR6)<1,1),0.9,9);
DRAWICON(VAR3<VAR4 AND VAR5>VAR6 AND REF((VAR3<VAR4 AND VAR5>VAR6)<1,1),0.65,2);
DRAWICON(VAR3<VAR4 AND VAR5<VAR6 AND REF((VAR3<VAR4 AND VAR5<VAR6)<1,1),0.2,15);
看股吧 公式 www.kanguba.c om
其它股票公式列表