通达信大盘专用支撑线主图公式修改版
在老版的基础上,将撑压线由虚线变成了实线,比以前更直观了
源码
MA135:=MA(VOL,135);
TJ1:=VOL=HHV(VOL,10) AND VOL 1.0618*REF(VOL,1) AND C =REF(C,1)*1 AND C =O AND VOL =MA135*3.5;
LJL:=FILTER(TJ1,3);
TJ3:=IF(BARSLAST(LJL)=1 AND CLOSE REF(LOW,3),1,0);
ST:=TJ3=1;
CL:=FILTER(ST,3);
STICKLINE(C,REF(L,BARSLAST(CL)),REF(L,BARSLAST(CL)),4,0),COLORYELLOW;
STICKLINE(CLOSE,REF(L,BARSLAST(LJL)),REF(L,BARSLAST(LJL)),4,0),COLORCYAN;
STICKLINE(LJL,OPEN,CLOSE,1,0),COLORYELLOW;
DRAWTEXT(LJL,L*0.99, 支撑 ),COLORF00FF0;