通達(dá)信反線主圖指標(biāo)公式
基本概況:
- 指標(biāo)類別: 通達(dá)信指標(biāo)
- 授權(quán)方式: 免費版
- 指標(biāo)評級: ★★★★★
- 指標(biāo)語言: 簡體中文
- 指標(biāo)來源: 互聯(lián)網(wǎng)
- 指標(biāo)日期: 2017-07-20 00:00:00
內(nèi)容介紹:
通達(dá)信反線主圖指標(biāo)公式:
{反線主圖:}
DRAWGBK(C>0, RGB(10,10,30),RGB(66,10,20),0,'11',0);
DRAWKLINE(H,O,L,C);
MA120:MA(CLOSE,120),COLORFFFF00,LINETHICK1;
MA60:MA(CLOSE,60),COLOR00FF00,LINETHICK1;
{MA30:MA(CLOSE,30),COLORF0F000,LINETHICK1;}
MA20:MA(CLOSE,20),COLORFF00FF,LINETHICK1;
MA10:MA(CLOSE,10),COLOR00FFFF,LINETHICK1;
MA5:MA(CLOSE,5),COLORWHITE,LINETHICK1;
{漲跌停標(biāo)識}
C2:=REF(C,1);
非ST漲停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);
漲停:=非ST漲停;
{STICKLINE(漲停,O,C,2.8,0),COLOR00E8E8;}
STICKLINE(漲停,O,C,2.6,0),COLOR9B37FF;
STICKLINE(漲停,H,L,1,0),COLOR7400E8;
非ST跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0);
跌停:=非ST跌停;
STICKLINE(跌停,O,C,2.7,0),COLORFF5555;
STICKLINE(跌停,H,L,1,0),COLORBLUE;
半漲1:=IF((C-C2)*100/C2>=(5-0.01*100/C2),1,0);
半漲2:=IF((C-C2)*100/C2<(10-0.01*100/C2),1,0);
JRS:=半漲1 AND 半漲2 AND FINANCE(33)>0;
STICKLINE(JRS AND C>O,O,C,2.7,0),COLOR020EF4;
{STICKLINE(JRS,H,L,0,0),COLOR020EF4;}
NUMBER:=COUNT(非ST漲停,BARSSINCE(非ST漲停)+1);
DRAWNUMBER(非ST漲停,HIGH*1.02,NUMBER),COLORWHITE;{漲停處標(biāo)識次序}
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.56,0,0,NUMBER),COLORWHITE;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.45,0,0,'上市以來共漲停:'),COLORYELLOW;
{前期小高位}
A1:=REF(H,10)=HHV(H,2*10+1);
B1:=FILTER(A1,10);
C1:=BACKSET(B1,10+1);
HD:=FILTER(C1,10);
A2:=REF(H,10)=LLV(H,2*10+1);
B2:=FILTER(A2,10);
C3:=BACKSET(B2,10+1);
LD:=FILTER(C3,10);
前期小高位:REF(H,BARSLAST(HD)),COLORFFA346,POINTDOT;
STICKLINE(H,前期小高位,前期小高位,8,0),COLORFFA346;
{鯉魚躍龍門}
LT8:=LLVBARS(L,60);
LTT8:=BARSLAST(CURRBARSCOUNT=CONST(LT8)+1);
HT8:=FINDHIGHBARS(H,LT8+1,60,1);
龍門:DRAWLINE(CURRBARSCOUNT=CONST(HT8)+1,H,ISLASTBAR,REF(H,HT8),0),COLORYELLOW,LINETHICK2;
DRAWTEXT(ISLASTBAR,龍門,' 龍門'),COLORLIGRAY;
TT8:=BARSLAST(CURRBARSCOUNT=CONST(HT8)+1);
AA8:=CROSS(C,CONST(龍門));
TJ8:=COUNT(AA8,TT8+1)=1 AND AA8;
TJ18:=COUNT(V<MA(V,277),TT8+1) ;
BL8:=TJ18/(TT8+1)*100;
XG8:=TJ8 AND TT8>40 AND BL8>70;
XGT8:=BARSLAST(CURRBARSCOUNT=CONST(BARSLAST(XG8))+1);
ZH8:=REF(H,TT8);
YL8:=REF(L,LTT8);
XC8:=REF(C,XGT8);
YZ8:=(XC8-YL8)/YL8*100;
ZBL8:=YZ8/REF(LTT8,XGT8);
XGA8:=XG8 AND ZBL8<2.95;
NOTEXT_AA:DRAWLINE(TT8=0,H,LTT8=0,L,0),COLORFF8080,LINETHICK2;
NOTEXT_BB:DRAWLINE(LTT8=0,L,XGT8=0,L,0),COLORFF8080,LINETHICK2;
STICKLINE(XGA8,C,O,1,0),COLOR0E66FA;
DRAWTEXT(XGA8,龍門*0.985,'躍龍門'),COLORYELLOW;
{量能平臺}
N1:=19;
TK:=CONST(REFV(HHVBARS(V,21),1)+1);
LNPT:=IF(CURRBARSCOUNT<=N1+3,CONST(IF(TK=0,C,REF((H+L)/2,TK))),DRAWNULL);
量能平臺:HHV(LNPT,21),COLOR8000FF,LINETHICK2;
NOTEXT_新量能點:
IF(CURRBARSCOUNT=TK+1,量能平臺,DRAWNULL),CIRCLEDOT,COLORRED,LINETHICK4;
NOTEXT2:IF(CURRBARSCOUNT=TK+1,量能平臺,DRAWNULL),CIRCLEDOT,COLORYELLOW,LINETHICK2;
DRAWTEXT(ISLASTBAR,量能平臺,' 量能'),COLORLIGRAY;
{鎖倉拉升}
獲利盤:=WINNER(C)*100;
近鄰籌碼:=(WINNER(C*1.07)-WINNER(C*0.93))*85;
換手率:=V/CAPITAL*100;
VAR7:=ZIG(3,13);
轉(zhuǎn)向:
相關(guān)推薦: