通达信指标突破主图
{MA10:MA(CLOSE,10);
MA20:MA(CLOSE,20);
MA30:MA(CLOSE,30);
MA60:MA(CLOSE,60);
MA120:MA(CLOSE,120);
MA250:MA(CLOSE,250);}
VARA1:=REF(H,60)=HHV(H,121);
VARB1:=FILTER(VARA1,60);
VARC1:=BACKSET(VARB1,61);
VARHD:=FILTER(VARC1,60);
VARQGC:=REF(H,BARSLAST(VARHD));
VARTP:=CROSS(C,VARQGC);
VARQGTS:=BARSLAST(VARHD);
{分析家公式网www.70822.com}
VARTPTS:=BARSLAST(VARTP);
VARQGTPYES:=VARTPTS<VARQGTS;
VARQGTPTS:=IF(VARQGTPYES,VARTPTS,DRAWNULL),NODRAW;
VARQGZF:=(C/VARQGC-1)*100,NODRAW;
NOTEXT前高:IF(BACKSET(ISLASTBAR,VARQGTS+1),VARQGC,DRAWNULL),COLOR9932CD,DOTLINE;
突破天数:VARQGTPTS,COLOR9932CD,NODRAW;
突破涨幅:VARQGZF,COLOR9932CD,NODRAW;
p20194282324450447.jpg
|