最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信精准线 主图公式 和谐源码分享

    正文概述    2024-04-13 13:56:55  

    {公式名称: 精准线

    参数数量: 2

    参数1: 精准启动, 最小: 0, 最大: 90, 缺省: 1

    参数2: 精准启动1, 最小: 1, 最大: 90, 缺省: 2

    主图叠加}

    VAR1:=CLOSE/REF(CLOSE,1) =1.04 AND CLOSE/REF(CLOSE,1) =1.075;

    STICKLINE(VAR1,CLOSE,REF(CLOSE,1),2.2,0),COLORRED;

    VAR2:=CLOSE/REF(CLOSE,1) =1.093;

    STICKLINE(VAR2,OPEN,CLOSE,3,0),COLOR0077BB;

    STICKLINE(VAR2,OPEN,CLOSE,2.6,0),COLOR0088CC;

    STICKLINE(VAR2,OPEN,CLOSE,2.2,0),COLOR0099CC;

    STICKLINE(VAR2,OPEN,CLOSE,1.8,0),COLOR00AADD;

    STICKLINE(VAR2,OPEN,CLOSE,1.4,0),COLOR00BBDD;

    STICKLINE(VAR2,OPEN,CLOSE,1,0),COLOR00CCEE;

    STICKLINE(VAR2,OPEN,CLOSE,0.6,0),COLOR00DDEE;

    STICKLINE(VAR2,OPEN,CLOSE,0.2,0),COLOR00EEFF;

    STICKLINE(VAR2,OPEN,CLOSE,0.1,0),COLORYELLOW;

    STICKLINE(VAR2,HIGH,LOW,0,0),COLORYELLOW;

    精准扫描:BACKSET(CURRBARSCOUNT=13,42),NODRAW;

    划线范围:BACKSET(CURRBARSCOUNT=0,55),NODRAW;

    VAR3:=IF(CURRBARSCOUNT =55 AND CURRBARSCOUNT =13 AND 精准扫描,CONST(REF(LOW,精准启动)),DRAWNULL);

    辅助线1:IF(CURRBARSCOUNT =55 AND 精准扫描=0,CONST(REF(LOW,精准启动)),DRAWNULL),DOTLINE,COLORRED;

    有效K线1:精准扫描 AND ABS((MAX(OPEN,CLOSE)-VAR3)/VAR3*100) =1.5,NODRAW;

    满足1:COUNT(有效K线1,55) =3,NODRAW;

    成立线1:IF(CONST(满足1),VAR3,DRAWNULL),COLORGREEN,LINETHICK2;

    STICKLINE(有效K线1,OPEN,CLOSE,2,0),COLORMAGENTA;

    STICKLINE(有效K线1,LOW,HIGH,0,0),COLORMAGENTA;

    STICKLINE(CURRBARSCOUNT=精准启动+1,OPEN,CLOSE,2,0),COLORMAGENTA;

    STICKLINE(CURRBARSCOUNT=精准启动+1,LOW,HIGH,0,0),COLORMAGENTA;

    VAR4:=IF(CURRBARSCOUNT =55 AND CURRBARSCOUNT =13 AND 精准扫描,CONST(REF(LOW,精准启动1)),DRAWNULL);

    辅助线2:IF(CURRBARSCOUNT =55 AND 精准扫描=0,CONST(REF(LOW,精准启动1)),DRAWNULL),DOTLINE,COLORRED;

    有效K线2:精准扫描 AND ABS((MAX(HIGH,CLOSE)-VAR4)/VAR4*100) =1.5,NODRAW;

    满足2:COUNT(有效K线2,55) =2,NODRAW;

    成立线2:IF(CONST(满足2),VAR4,DRAWNULL),COLORGREEN,LINETHICK2;

    STICKLINE(有效K线2,OPEN,CLOSE,2,0),COLORMAGENTA;

    STICKLINE(有效K线2,LOW,HIGH,0,0),COLORMAGENTA;

    STICKLINE(CURRBARSCOUNT=精准启动1+1,OPEN,CLOSE,2,0),COLORWHITE;

    STICKLINE(CURRBARSCOUNT=精准启动1+1,LOW,HIGH,0,0),COLORWHITE;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信精准线 主图公式 和谐源码分享 加入收藏