较实用精准的头部信号指标源码
-
相关简介:较实用精准的头部信号指标源码 不带未来的主图指标源码供交流。我把它起名为:阴阳波峰基本能在每大小波段提示作头信号,希望大家喜欢。 阳顶:=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
-
文章来源:股海网作者:股海网发布时间:2013-06-13浏览次数:
较实用精准的头部信号指标源码
不带未来的主图指标源码供交流。我把它起名为:“阴阳波峰”基本能在每大小波段提示作头信号,希望大家喜欢。
阳顶:=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;{蓝色};