冠军一号分时买卖 通达信分时主图指标 源码 贴图
H1:=MAX(DYNAINFO(3),DYNAINFO(5));L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;{www.9m8.cn 九毛八公式指标网}
阻力:L1+P1*7/8,COLORGREEN;
支撑:L1+P1*0.5/8,COLORRED;
中:(支撑+阻力)/2,COLORWHITE,POINTDOT;
现价:CLOSE,COLORWHITE,LINETHICK2;
顶卖:STICKLINE(C 阻力,阻力,C,5,0),COLORGREEN;
底买:STICKLINE(C 支撑,支撑,C,5,0),COLORRED;
MR:=C 支撑 AND CROSS(C,REF(C,2));
DRAWTEXT(CROSS(现价,支撑),支撑,'★买'),COLORRED;
DRAWTEXT(CROSS(现价,阻力),阻力-(支撑-中)/5,'★卖'),COLORMAGENTA;
DRAWTEXT(ISLASTBAR,阻力,'顶'),COLORGREEN;
DRAWTEXT(ISLASTBAR,支撑,'底'),COLORRED;
DRAWTEXT(ISLASTBAR,(支撑+阻力)/2,'中'),COLORWHITE;