通达信跌高开主图指标公式
n:=6;
m:=4;
_10日涨跌%: (C-REF(CLOSE,10))/REF(CLOSE,10)*100,COLORGREEN,NODRAW;
BOLL:MA(CLOSE,20),COLORWHITE,LINETHICK1;
{机构专用}
日:=150;昨前:=3;
高1:=REF(HHV(H,日),昨前);
低1:=REF(LLV(L,日),昨前);
H1:=高1-(高1-低1)*0.191;
H2:=高1-(高1-低1)*0.382;
H3:=高1-(高1-低1)*0.5;
H4:=高1-(高1-低1)*0.618;
H5:=高1-(高1-低1)*0.809;
顶:REFDATE(高1,DATE),COLORRED;
一0.809:REFDATE(H1,DATE),COLORYELLOW;
二0.618:REFDATE(H2,DATE),COLORMAGENTA;
三0.500:REFDATE(H3,DATE),COLORWHITE;
四0.382:REFDATE(H4,DATE),COLORGREEN;
五0.191:REFDATE(H5,DATE),COLORYELLOW;
低:REFDATE(低1,DATE),COLORRED;
VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
压力支撑线:(EMA(VAR1,3)+EMA(VAR1,6)+EMA(VAR1,12)+EMA(VAR1,24))/4 COLORRED,LINETHICK1;
主力成本: EMA(COST(9),250),COLOR00FFFF,NODRAW;
{RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
周K:=MA(“KDJ.K”(9,3,3) ,5),LINETHICK1,COLORLIGRAY;
周D:=MA(“KDJ.D”(9,3,3) ,5),LINETHICK1,COLORGREEN;
周J:=MA(“KDJ.J”(9,3,3) ,5),LINETHICK1,COLORLIRED;
共振:=CROSS(K,D) AND CROSS(周K,周D);}
{BOLL:MA(CLOSE,20),COLORWHITE,LINETHICK1;
曙光:= REF(C《O AND O/C》=1.016,1) AND C》O AND REF(C,1)》O AND REF(C,1)/O》=1.012 AND C》=REF(C+(O-C)/3,1);
{DGK:=REF(C《O,2) AND REF(C《O,1) AND O》REF(C,1)AND O=L AND C》=REF(C+(O-C)*2/3,1);}
{DRAWICON(曙光,L*0.95,1);}
{光头光脚大阳线:=C》O AND O=L AND C/O》=1.02;
DRAWICON(光头光脚大阳线,L*0.98,9);}
{LOWV:=LLV(LOW,5);
HIGHV:=HHV(HIGH,5);
RSV1:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,M);
给:=EMA(RSV1,3);
力:=MA(给,3);
DRAWICON(给=REF(给,1)=1,L*0.95,1);
DRAWICON(给=REF(给,1)=1,H*1.05,2);};
ZT:=C/REF(C,1)》1.097;
ZTBPJ:=REF(C,BARSLAST(ZT)+1)*0.98;{涨停不破价}
ZTBP:=BARSLAST(ZT)《30 AND (LLV(C,BARSLAST(ZT))》=ZTBPJ OR
LLV(C,BARSLAST(ZT))=ZTBPJ);{涨停不破价}
STICKLINE(ZTBP,REF(C,BARSLAST(ZT)+1)-REF(C,BARSLAST(ZT)+1)*0.001,REF(C,BARSLAST(ZT)+1),1,0),COLORYELLOW;
不破价:=REF(L,BARSLAST(ZT));
LS0:=BARSLAST(ZT);LS11:=IF(2,LS0=2,ZT);
LS21:=IF(2,LLV(L,2)》REF(L,2),1);
ZT不破2:=LS11 AND LS21;
DRAWTEXT(ZT不破2,不破价-不破价*0.02,‘3’),COLORGREEN;
LS14:=IF(4,LS0=4,ZT);
LS24:=IF(4,LLV(L,4)》REF(L,4),1);
ZT不破4:=LS14 AND LS24;
DRAWTEXT(ZT不破4,不破价-不破价*0.02,‘5’),COLORGREEN;
LS17:=IF(7,LS0=7,ZT);
LS27:=IF(7,LLV(L,7)》REF(L,7),1);
ZT不破7:=LS17 AND LS27;
DRAWTEXT(ZT不破7,不破价-不破价*0.02,‘8’),COLORGREEN;
LS22:=IF(12,LS0=12,ZT);
LS32:=IF(12,LLV(L,12)》REF(L,12),1);
ZT不破12:=LS22 AND LS32;
DRAWTEXT(ZT不破12,不破价-不破价*0.02,‘13’),COLORGREEN;
XH:=FILTER(ZT,13);
BH:=BARSLAST(ZT);
CZ:=REF(H,BH)-REF(L,BH);
迫线:=C》O AND V》REF(V,1) AND L》REF(C,1) AND REF(ZT,1);
小阳:=C》O AND V》REF(V,1) AND REF(ZT,1);
起爆:=REF(HHV(V,8),1)/V》=1.97 AND REF(HHV(小阳,8),1) AND C》O;
STICKLINE(ZT,REF(O,BH),REF(C,BH),2,0),COLORYELLOW;
STICKLINE(迫线,O,C,2,0),COLORMAGENTA;
LB:BOLL-2*STD(CLOSE,20),COLORYELLOW;
MTM:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
买:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX《0,2) AND CROSS(DX,MA(DX,2)),1,0);
DRAWTEXT(FILTER(买=1,5),LOW-0.02,‘。’),COLORRED;
DRAWICON(C《MA(C,250) AND C》MA(C,10) AND REF(C,1)《REF(O,1)*0.97 AND C/O》1.03 AND V/CAPITAL》0.03,L*0.97,9);
(股票知识网zhishi.southmoney.com)
要闻导读
|
||||||||||
|