通达信生命线指标公式

 2024-01-16 22:28:03    通达信指标网  

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;

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;

  •  标签:  

原文链接:https://www.tdxzb.com/?id=2246

本文版权:如无特别标注,本站文章均为原创。

相关文章

服务热线

18020657357

微信客服

微信客服