以下是通达信TJX-3号副图指标

通达信TJX-3号副图指标

源码

VAR1:=(EMA(CLOSE,12)-EMA(CLOSE,26))*100+50;
VAR2:=EMA(VAR1,9);
VAR3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
VAR4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
VAR5:=SMA(VAR4,13,8);
指示: CEILING(SMA(VAR5,13,8));
VAR6:=SMA(VAR3,21,8);
买入1(横):0, COLORYELLOW;
买入2(竖):0, COLORRED;
卖出1(横):0,COLORCYAN;
卖出2(竖):0, COLORGREEN;
 STICKLINE(指示-VAR6<-65,0,5,15,1), COLORYELLOW;
 STICKLINE(LONGCROSS(VAR1,VAR2*1.05,15) AND VAR1<40,20,-20,8,0), COLORRED;
 STICKLINE(指示-VAR6>85,95,90,15,1),COLORCYAN;
 STICKLINE(LONGCROSS(VAR2,VAR1*0.95,7) AND VAR1>60,100,60,8,0), COLORGREEN;
90, POINTDOT;
0, POINTDOT;
中分线: 45, POINTDOT;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。