通达信MACD+KDJ副图源码贴图

 2023-11-17 21:17:59    通达信指标网  

VAR1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

VAR2:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;

VAR3:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;

VAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;

VAR5:=(VAR2+2*VAR3+3*VAR4)/7;

VAR6:=MA(VAR5,1); 

MACD: VAR3*8,COLORSTICK ,LINETHICK6 ;

K: SMA(VAR1,3,1), , COLORRED;

D: SMA(K,3,1), , COLORGREEN;

J: 3*K-2*D, , COLORWHITE;

底部: 20,LINETHICK2 ,POINTDOT COLOR77AA1A;

预警: 80,LINETHICK2 ,POINTDOT COLORCYAN;

顶部: 100,LINETHICK2 ,POINTDOT COLOR22A6E6;

先知: STICKLINE(VAR6<=-8,68,0,2,0), , COLORYELLOW;

逢低介入: IF(VAR6<-8,38,0),LINETHICK1,COLORYELLOW;

消失后买: IF(VAR6<-8,18,0),LINETHICK6,POINTDOT COLORYELLOW;

  •  标签:  

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

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

相关文章

服务热线

18020657357

微信客服

微信客服