通达信生命线指标公式
2020/3/1 19:09:29
VAR1:=MA(C,1)/MA(REF(C,18),18)*100;
大盘趋势:MA(INDEXC,1)/MA(REF(INDEXC,18),18)*100,LINETHICK2,COLOR00FFFF;
生命线:MA(FORCAST(VAR1,20),6)+大盘趋势,COLOR00FF00,LINETHICK2;
{投股票网-股票公式网站 www.tou18.cn}
VAR2:=MA(O,1)/MA(REF(O,18),18)*100;
VAR3:=MA(H,1)/MA(REF(H,18),18)*100;
VAR4:=MA(L,1)/MA(REF(L,18),18)*100;
SP:=VAR1;
KP:=VAR2;
ZG:=VAR3;
ZD:=VAR4;
STICKLINE(KP>=SP ,SP ,KP,7,0 ),COLORFF2020;
STICKLINE(KP>=SP ,SP ,KP,4,0 ),COLORFF2020;
STICKLINE(KP>=SP ,SP ,KP,2,0 ),COLORFFFF00;
STICKLINE(SP>KP,SP,KP,7 ,0 ),COLOR2020FF;
STICKLINE(SP>KP,SP,KP,4 ,0 ),COLORB0B0FF;
STICKLINE(SP>KP,SP,KP,2 ,0 ),COLOR00FFFF;
STICKLINE(SP>KP,KP,ZD,0.5,0 ),COLOR00FFFF;
STICKLINE(SP>KP,SP,ZG,0.5 ,0 ),COLOR00FFFF;
STICKLINE(KP>=SP,SP,ZD,0.5 ,0 ),COLORFFFF80;
STICKLINE(KP>=SP,KP,ZG,0.5 ,0 ),COLORFFFF80;
投 股票网 www.t ou18.cn
股市公式下载推荐