以下是同花顺分时指标选股公式源码

同花顺分时指标选股公式源码:

    价:=C,COLORWHITE;
    TT:=BARSCOUNT(C);
    ZZ:=SUM(AMOUNT,TT)/SUM(VOL*100,TT);
    ZZ1:=BETWEEN(C/ZZ,1.05,0.95);
    均线:IF(ZZ1=0,MA(C,TT),ZZ),COLORYELLOW;
    突破:=C>=REF(HHV(H,TT),1)ANDHHVBARS(VOL,TT)=0ANDC/均线<1.09ANDTT>13ANDTT<240;
    DRAWTEXT(C>=REF(HHV(H,TT),1)ANDHHVBARS(VOL,TT)=0ANDC/均线<1.09ANDTT>=13ANDTT<240,C-0.10,'突破'),COLORRED;
    STICKLINE(C>=REF(HHV(H,TT),1)ANDHHVBARS(VOL,TT)=0ANDC/均线<1.09ANDTT>=13ANDTT<230,DYNAINFO(3),CLOSE+0.10,0.8,1);
    主力扫盘:=COUNT(突破,13)>=3ANDC>=REF(HHV(H,TT),1)ANDHHVBARS(VOL,TT)=0;
    DRAWTEXT(主力扫盘,(DYNAINFO(3))*9.8/10,'主力扫盘'),COLORYELLOW;
    STICKLINE(主力扫盘,(DYNAINFO(3))*9/10,DYNAINFO(3),800,890),COLORRED,LINETHICK9;
    已主力扫盘:=BARSLAST(主力扫盘)<13;
    DRAWTEXT(BARSLAST(主力扫盘)<8,(DYNAINFO(3))*9.5/10,'已扫盘'),COLORGREEN;
    全仓买进:=C>=REF(HHV(H,TT),1)ANDHHVBARS(VOL,TT)=0ANDC/均线<1.09ANDTT>13ANDTT<240ANDBARSLAST(主力扫盘)>=21;
    DRAWTEXT(全仓买进,(DYNAINFO(3))*9.4/10,'全仓买进'),COLORCYAN;
    STICKLINE(全仓买进,(DYNAINFO(3))*9/10,DYNAINFO(3),100,-1),COLORRED,LINETHICK4;
    VAR1:=AMOUNT/10000;VAR2:=IF(VOL-REF(VOL,1)<0,VOL,0);VAR3:=SUM((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*VAR2/1000,0);VAR3<REF(VAR3,1)ANDREF(VAR3,1)<REF(VAR3,2)ANDREF(VAR3,2)<REF(VAR3,3);

同花顺分时指标选股公式截图

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