以下是通达信探底逃顶短线操盘副图指标公式

    N:9;

    M:35;

    R1:=(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N))*100-70;

    R2:=SMA(R1,N,1)+100;

    R3:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;

    R4:=SMA(R3,3,1);

    R5:=SMA(R4,3,1)+100;

    R6:=R5-R2;

    短线操盘1:IF(R6>0,R6,0),COLORYELLOW,POINTDOT;

    STICKLINE(REF(短线操盘1,1)<短线操盘1,短线操盘1,REF(短线操盘1,1),1,1),COLORRED,LINETHICK3;;

    STICKLINE(REF(短线操盘1,1)>短线操盘1,短线操盘1,REF(短线操盘1,1),1,1),COLOR00FF00,LINETHICK3;

    短线天使:CROSS(短线操盘1,M)*50;

    量价:=(VOL/CLOSE)/3;

    统计主动买量:=SUM((IF(((量价>0.20)AND(CLOSE>(REF(CLOSE,1)))),量价,0)),0);

    统计主动卖量:=SUM((IF(((量价>0.20)AND(CLOSE<(REF(CLOSE,1)))),量价,0)),0);

    涨停能量:=((统计主动买量)/统计主动卖量)*10;

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

    VAR2:=SMA(VAR1,9,1);

    VAR3:=SMA(VAR2,9,1);

    VAR4:=3*VAR2-2*VAR3;

    VAR5:=CROSS(VAR4,95);

    VAR6:=EMA(CLOSE,12)-EMA(CLOSE,150);

    VAR7:=EMA(VAR6,9);

    探底:(VAR6-VAR7)*2,NODRAW;

    VAR8:=探底<0and探底>REF(探底,1)ANDREF(探底,1)<REF(探底,2)ANDREF(探底,2)<REF(探底,3)ANDREF(探底,3)<REF(探底,4)ANDVAR4<30;

    VAR1T:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;

    VAR2T:=2*ABS(VAR1T);

    VAR5T:=(HIGH+LOW+CLOSE)/3;

    VAR6T:=(VAR5T-MA(VAR5T,14))/(0.015*AVEDEV(VAR5T,14));

    VAR7T:=(VAR5T-MA(VAR5T,70))/(0.015*AVEDEV(VAR5T,70));

    VAR8T:=IF(VAR6T>=150ANDVAR6T<200andvar7t>=150ANDVAR7T<200,10,0);

    VAR9T:=IF(VAR6T<=-150and=""var6t="">-200ANDVAR7T<=-150and=""var7t="">-200,-10,VAR8T);

    VARAT:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;

    VARBT:=100-ABS(VARAT);

    预警系统:=IF(VAR7T>=200ANDVAR6T>=150,100,IF(VAR7T<=-200ANDVAR6T<=-150,-5,VAR9T))+0;

    趋势线:VAR4,DOTLINE,COLORWHITE;

    仓位控制:ROUND(10-VAR4/10),NODRAW;

    DRAWICON(VAR5,100,15);

    底部启动:0,COLORYELLOW;

    DRAWICON(VAR8,5,34);

    风险区:90,DOTLINE,COLORBLUE;

    DRAWBAND(预警系统,RGB(10,100,10),0,RGB(100,10,0));

image.png

   文章来源:通达信探底逃顶短线操盘副图指标公式源码

 

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