通达信平台突破主图突破前高位


N:=10;

YLX:=1;ZCX:=1;DG:=1;

Z1:=STRCAT(HYBLOCK,' ');

Z2:=STRCAT(Z1,DYBLOCK);

Z3:=STRCAT(Z2,' ');

DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLORYELLOW;




DRAWKLINE(H,O,L,C);







涨停:=IF(REF(C,1)*1.1-C<0.01 ,1,0);

STICKLINE(涨停,OPEN,CLOSE,-1,0),COLORMAGENTA;

DRAWTEXT(涨停,L-0.1,'涨'),COLORMAGENTA;




NE:=IF(NAMELIKE('S') OR NAMELIKE('*S'),0.05,0.1);

曾涨停:=H/REF(C,1)-1>=NE-0.01/REF(C,1) AND C<H AND PERIOD=5;

STICKLINE(曾涨停,H-(H-MAX(O,C)),H,0,0),COLORFF00B3;

曾跌停:=REF(C,1)/L-1>=NE-0.01/REF(C,1) AND L<C AND PERIOD=5;

STICKLINE(曾跌停,L+(MIN(O,C)-L),L,0,0),COLORYELLOW;

DRAWTEXT(曾涨停 AND PERIOD=5,H+0.2,'炸'),COLORGREEN;

DRAWTEXT(曾跌停 AND PERIOD=5,L-0.1,'撬'),COLORYELLOW;







A1:=REF(C,N)=HHV(C,2*N+1); B1:=FILTER(A1,N); C1:=BACKSET(B1,N+1); HD:=FILTER(C1,N);

A2:=REF(C,N)=LLV(C,2*N+1); B2:=FILTER(A2,N); C2:=BACKSET(B2,N+1); LD:=FILTER(C2,N);




UU:=BACKSET(BARSTATUS=2,BARSLAST(HD)+1);VV:=UU>REF(UU,1);




前期高位:=REF(C,BARSLAST(HD));

前期低位:=REF(C,BARSLAST(LD));

STICKLINE(H AND YLX=1,前期高位,前期高位,5,0),COLORYELLOW;

STICKLINE(L AND ZCX=1,前期低位,前期低位,5,0),COLORGRAY;




STICKLINE(CROSS(C,REF(前期高位,1)) AND (VOL>=REF(V,1)*2 OR VOL>=REF(V,2)*2),(C+O)/2,O+0.02,2.5,0),COLORYELLOW;




前高:REF(C,BARSLAST(VV)),COLORYELLOW,LINETHICK1,DOTLINE;

顶高:REF(C,BARSLAST(VV))*DG,COLORGRAY,LINETHICK1,NODRAW;




平台周期:BARSLAST(VV),NODRAW;

平台振幅:(HHV(H,平台周期)-LLV(L,平台周期))/LLV(L,平台周期)*100,NODRAW;




DRAWTEXT(CURRBARSCOUNT=5,前高,STRCAT(('前高:'),CON2STR(前高,2))),COLORYELLOW;




未来函数检测结果如下:
该公式包含未来函数:BACKSET
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股朋指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股朋指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股朋指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图