以下是通达信通用攻击反转指标 源码

通达信通用攻击反转指标 源码

N:=14;
M:=84;
TYP:=(HIGH+LOW+CLOSE)/3;
C1:(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N));
C2:(TYP-MA(TYP,M))/(0.015*AVEDEV(TYP,M));
注意了结:200,COLORRED;
底部区域:-150,COLORGREEN;
RSV:=(((CLOSE – LLV(LOW,9)) / (HHV(HIGH,9) – LLV(LOW,9))) * 100);
买入时机: IF(CROSS(C1,-150),-150,-200),COLORred,LINETHICK1;
LL:=REF(CLOSE,1);
MM:=SMA(MAX(CLOSE-LL,0),6,1)/SMA(ABS(CLOSE-LL),6,1)*100;
分批出: IF(CROSS(80,MM),200,250),COLORCYAN,LINETHICK1;
牛启动: IF(CROSS(C2,-70),-100,-150),COLORGREEN,LINETHICK1;
VAR2:=REF(LOW,1);
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;
VAR4:=EMA(VAR3*10,3);
VAR5:=LLV(LOW,13);
VAR6:=HHV(VAR4,13);
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618;
VAR9:=IF(VAR8>100,100,VAR8);
var10:=var9*10;
STICKLINE(VAR9>-120,0,VAR10,8,1);
STICKLINE(VAR9>1 AND “KDJ.J”>REF(“KDJ.J”,1) AND REF(“KDJ.J”,1)<REF(“KDJ.J”,2),0,VAR10,8,0),COLORRED;
STICKLINE(VAR9>0.1 AND VAR9<1 AND “KDJ.J”>REF(“KDJ.J”,1) AND REF(“KDJ.J”,1)<REF(“KDJ.J”,2),0,VAR10,8,0),COLOREE00EE;

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