突破信号指标 源码
-
相关简介:突破信号指标 指标说明: 阻力、压力、动能、突破信号一目了然 指标源码: N:=19; VAR1:=HHV(HIGH,N); VAR2:=LLV(LOW,N); 阻力线:EMA((CLOSE-VAR2)/(VAR1-VAR2),21)-0.5,COLORF0F000,LINETHICK2; 操作线:EMA((CLOSE-VAR2)/(VAR1-VAR2),5)-0.5,colorred,LINETHICK2; DRAWTEXT(CROSS(操作线,阻力线) AND 阻力线0.1,阻力线,'突破'
-
文章来源:股海网作者:股海网发布时间:2016-09-05浏览次数:
突破信号指标
指标说明:
阻力、压力、动能、突破信号一目了然
指标源码:
N:=19;
VAR1:=HHV(HIGH,N);
VAR2:=LLV(LOW,N);
阻力线:EMA((CLOSE-VAR2)/(VAR1-VAR2),21)-0.5,COLORF0F000,LINETHICK2;
操作线:EMA((CLOSE-VAR2)/(VAR1-VAR2),5)-0.5,colorred,LINETHICK2;
DRAWTEXT(CROSS(操作线,阻力线) AND 阻力线<0.1,阻力线,'突破'),coloryellow;
DRAWTEXT(CROSS(阻力线,操作线) AND 阻力线>0.25,阻力线,'破位'),colorgreen;
红绿棒:(操作线-阻力线),COLORSTICK;