通达信公式精进壹号主图
VAR1:=((CLOSE-MA(CLOSE,6))/(MA(CLOSE,6)))*(100);
VAR2:=((CLOSE-MA(CLOSE,24))/(MA(CLOSE,24)))*(100);
VAR3:=((CLOSE-MA(CLOSE,32))/(MA(CLOSE,32)))*(100);
VAR4:=(VAR1+VAR2+VAR3)/(3);
VAR5:=EMA(VAR4,5);
MACD:(EMA(EMA(VAR1,5),5))*(3),COLORFF00FF,COLORSTICK,LINETHICK2;
VAR6:=IF((VAR4<=(-20)),10,0);
VAR7:=HHV(VAR6,10);
STICKLINE((VAR6=10),20,10,1,0),COLOR0000FF;
底:IF((VAR6=10),10,0);{}
DRAWTEXT((VAR6=10),LOW,’底’),COLORFFFFFF;
VARA:=IF(VAR7 AND CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0);
K:(EMA(VAR5,5))*(2),COLORFFFF00;
D:EMA(K,5),COLOR0000FF;
J:(K)*(3)-(D)*(2),COLOR00FFFF;
VAR8:=(HIGH+LOW+CLOSE)/(3);
VAR9:=(VAR8-MA(VAR8,14))/((0.015)*(AVEDEV(VAR8,14)));
VAR10:=(VAR8-MA(VAR8,70))/((0.015)*(AVEDEV(VAR8,70)));
VAR11:=IF((VAR9>=150) AND (VAR9<200) AND (VAR10>=150) AND (VAR10<200),10,0);
VAR12:=IF((VAR9<=(-150)) AND (VAR9>(-200)) AND (VAR10<=(-150)) AND (VAR10>(-200)),(-10),VAR11);
VAR13:=((CLOSE-MA(CLOSE,13))/(MA(CLOSE,13)))*(100);
VAR14:=100-ABS(VAR13);
VAR15:=IF((VAR14<90),VAR14,100);
VAR16:=IF((VAR10>=200) AND (VAR9>=150),15,IF((VAR10<=(-200)) AND (VAR9<=(-150)),(-15),VAR12))+60;
VAR17:=(VAR16>60) AND (VAR15<150);
加速:IF(VAR17 AND (COUNT(VAR17,20)=1),10,0);
DRAWTEXT(VAR17 AND (COUNT(VAR17,20)=1),10,’加速’),COLORFFFFFF;
通达信公式周期箱体主图
1、 本站所有指标公式源码资源均是从网络采集和会员提供所得,仅供用来学习研究,请于下载后的24h内自行删除,正式商用请购买正版。如若本站内容侵犯了原著者的合法权益,请携带相关版权文件联系我们进行下架或删除。
2、文章内文字内容均为本站原创发布,任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。原文链接:https://www.zhibiao123.cn/185769.html,转载请注明出处。