以下是较实用精准的头部信号指标源码

较实用精准的头部信号指标源码

不带未来的主图指标源码供交流。我把它起名为:“阴阳波峰”基本能在每大小波段提示作头信号,希望大家喜欢。

阳顶:=REF(HIGH,1)>REF(HIGH,2) AND REF(HIGH,2)>REF(HIGH,3) AND REF(HIGH,3)>REF(HIGH,4) AND REF(HIGH,1)>REF(HIGH,5) AND
REF(HIGH,1)>REF(HIGH,6) AND REF(HIGH,1)>REF(HIGH,7) AND REF(HIGH,1)>REF(HIGH,8) AND REF(HIGH,1)>REF(HIGH,9) AND
REF(CLOSE,1)>REF(OPEN,1) AND HIGH<REF(HIGH,1) AND CLOSE<REF(CLOSE,1);
成交额:=REF(AMOUNT,1)>REF(AMOUNT,2) AND REF(AMOUNT,1)>REF(AMOUNT,3) AND REF(AMOUNT,1)>REF(AMOUNT,4) OR
REF(AMOUNT,2)>REF(AMOUNT,3) AND REF(AMOUNT,2)>REF(AMOUNT,4) AND REF(AMOUNT,2)>REF(AMOUNT,5) OR
REF(AMOUNT,3)>REF(AMOUNT,4) AND REF(AMOUNT,3)>REF(AMOUNT,5) AND REF(AMOUNT,3)>REF(AMOUNT,6);

头部阳线:=成交额 AND 阳顶;

DRAWTEXT(头部阳线,REF(HIGH,1),’ ̄ ̄ ̄ ̄’),ALIGN1,COLORMAGENTA;

阴顶:=REF(HIGH,1)>REF(HIGH,2) AND REF(HIGH,2)>REF(HIGH,3) AND REF(HIGH,3)>REF(HIGH,4) AND REF(HIGH,1)>REF(HIGH,5) AND
REF(HIGH,1)>REF(HIGH,6) AND REF(HIGH,1)>REF(HIGH,7) AND REF(HIGH,1)>REF(HIGH,8) AND REF(HIGH,1)>REF(HIGH,9) AND
REF(OPEN,1)>REF(CLOSE,1) AND HIGH<REF(HIGH,1) AND CLOSE<REF(OPEN,1);

头部阴线:=成交额 AND 阴顶;

DRAWTEXT(头部阴线,REF(HIGH,1),’ ̄ ̄ ̄’),ALIGN1,COLORGREEN;

STICKLINE(CLOSE>OPEN,CLOSE,OPEN,7,0) ,COLOR000055;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,6,0) ,COLOR000066;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,5,0) ,COLOR000077;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,4,0) ,COLOR000099;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0) ,COLOR0000bb;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,COLOR0000dd;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0) ,COLOR0000ff;{红色}

STICKLINE(CLOSE<OPEN,H,L,0,0),COLORFFFF00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,8,0 ),COLORff7700;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,7,0 ),COLORff6600;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,6,0 ),COLORff9900;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,5,0 ),COLORffbb00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,4,0 ),COLORffcc00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0 ),COLORffdd00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 ),COLORffee00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0 ),COLORffFF00;{蓝色};

 

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