指标介绍:
指标中有详细的买卖信号,看指标操作。
源码
(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;
BIAS1:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5);
DIF:=(BIAS1-REF(BIAS1,16));
DBCD1:SMA(DIF,76,1);
MM:MA(DBCD1,5);