当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:平台突破主图,突破前高位
软件名称:[B]平台突破主图,突破前高位[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:分享版
软件大小:2.00 KB
官方主页:Home Page
更新时间:2024-11-27 00:14:40
软件简介:
平台突破主图指标
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;
[url=http://www.70822.com/soft/sort013/sort05/down-175676.html]平台突破主图,突破前高位[/url]