通达信公式源码概况:
指标类别:通达信公式
授权方式: 免费版
指标评级: ★★★★★
指标分类: 策略
画线方法: 副图
公式解读:
M:=4;N:=7;
低开长阳:OPEN CLOSEANDOPEN/REF(C,1) =1-M/100ANDCLOSE/OPEN =1+N/100,COLORRED;
DRAWICON(低开长阳,1.1,4);
MA5:=EMA(C,5);MA10:=EMA(C,10);VV1:=CROSS(MA5,MA10);VVV1:=COUNT(VV1,5) =1;MV5:=EMA(V,5);MV10:=EMA(V,10);VV2:=CROSS(MV5,MV10);VVV2:=COUNT(VV2,5) =1;DIF:= quot;.DIF quot;(12,26,9);DEA:= quot;macd.DEA quot;(12,26,9);VV3:=CROSS(DIF,DEA);VVV3:=COUNT(VV3,5) =1;VVV4:=ABS((C-MA10)/MA10)*100 2ANDC REF(C,1);涨停:=C/REF(C,1) =1.097;VVV5:=COUNT(涨停,5) =1;买入:VVV1ANDVVV2ANDVVV3ANDVVV4ANDVVV5;
C REF(H,1)ANDOPEN REF(C,1)*1.015ANDREF(C,2)/REF(C,1) 1.015ANDCLOSE/REF(CLOSE,1) 1.03;
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));
KK:=INTPART(SMA(RSV,3,1));
DD:=INTPART(SMA(K,3,1));
JJ:=INTPART(((3*K)-(2*D)));
N:=(KK+DD);
KX:=(N 25);
KX1:=REF(KX,29);
XX:=(N 18);
XX1:=REF(XX,31);
XXX:=(N 23);
XXX1:=REF(XXX,198);
KP:=((KX1ORXX1)ORXXX1);
KA1:=(((REF(CLOSE,2)/REF(OPEN,2)) 0.95)AND(REF(CLOSE,2) REF(CLOSE,3)));
KA2:=(((REF(OPEN,1) REF(CLOSE,2))AND(REF(CLOSE,1) REF(CLOSE,2)))AND(REF(CLOSE,1) ((REF(CLOSE,2)+REF(OPEN,2))/2)));
KA3:=(CLOSE REF(CLOSE,1));
KA4:=(LLV(LOW,13)=REF(LOW,1));
KP2:=(COUNT((((KA1ANDKA2)ANDKA3)ANDKA4),3) 0);
KP3:=CROSS((-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14))),80);
KD:=(N 45);
KD1:=(((((REF(KD,180)ORREF(KD,179))ORREF(KD,31))ORREF(KD,29))ORREF(KD,13))ORREF(KD,11));
KP4:=((KP2ANDKP3)ANDKD1);
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
KP5:=2*(DIFF-DEA);
KD2:=((((REF(KD,180)ORREF(KD,261))ORREF(KD,98))ORREF(KD,77))ORREF(KD,1));
KP6:=((KP2ANDKP5)ANDKD2);
KP7:=(N 34);
KP8:=REF(KP7,11);
KP9:=(N 45);
KP10:=((REF(KP9,83)ANDKP8)ANDKP2);
KP11:=(N 38);
KP12:=((REF(KP11,19)ANDREF(KP11,32))ANDKP2);
KP13:=((REF(KP9,28)ANDREF(KP11,101))ANDKP2);
KP14:=(N 43);
KP15:=((REF(KP14,28)ANDREF(KP14,189))ANDKP2);
I:=((((((REF(CLOSE,2)/REF(OPEN,2)) 0.95)AND(REF(OPEN,1) REF(CLOSE,2)))AND((ABS((REF(OPEN,1)-REF(CLOSE,1)))/REF(CLOSE,1)) 0.03))AND((CLOSE/OPEN) 1.05))AND(CLOSE REF(CLOSE,2)));
I1:=2*(DIFF-DEA);
T3:=(N 40);
T4:=((REF(T3,34)ORREF(T3,28))ORREF(T3,57));
KP16:=((IANDI1)ANDT4);
线:90,COLORGREEN;
中轴线:50,COLORRED;
线:10,COLORGREEN;
出击:IF(KPANDKP2ORKP4ORKP6ORKP10ORKP12ORKP13ORKP15ORKP16,100,10),COLORGREEN;
V1:=V/REF(V,1) 0.3ANDREF(V,1) REF(V,2)ANDDYNAINFO(23) DYNAINFO(22);P1:=(C-REF(C,1))/REF(C,1) 0.04ANDC OANDREF(C,1) REF(O,1);T1:=BARSLAST(MA(C,5) REF(MA(C,5),1)) =1ANDBARSLAST(MA(C,5) REF(MA(C,5),1)) =3;S1:=REF(MA(C,5) MA(C,10)ANDC MA(C,5)ANDC MA(C,10)*1.15,1);选股:V1ANDP1ANDT1ANDS1;
箱顶:HHV(MA((LOW+HIGH+CLOSE+O)/4,5),58),COLOR00AAFF;
箱底:LLV(MA((LOW+HIGH+CLOSE+O)/4,6),88),COLORGREEN,LINETHICK2;
VAR2:=EMA((HIGH+LOW+CLOSE)/3*(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10))*20/10+箱底,2);
VAR3:=(3*VAR2-2*SMA(VAR2,5,1))*0.3;
VAR4:=(HHV(INDEXH,13)-INDEXC)/(HHV(INDEXH,13)-LLV(INDEXL,13));
VAR5:=EMA(3*VAR4-2*SMA(VAR4,18,1),5);
VAR6:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8));
VAR7:=3*SMA(VAR6,3,1)-2*SMA(SMA(VAR6,3,1),5,1);
VAR8:=(INDEXC*2+INDEXH+INDEXL)/4;
VAR9:=EMA(VAR8,13)-EMA(VAR8,34);
VARA:=EMA(VAR9,5);
流向:=(VAR9-VARA+箱底)*1,COLORYELLOW;
VARG1:=1.86*EMA(CLOSE,5)-EMA(CLOSE,13);
力度:VARG1,COLORFFAA99;
K2:=BACKSET(趋势力度 REF(趋势力度,1),2);
IF(K2,趋势力度,DRAWNULL),COLORFF00FF,LINETHICK1;
AS:=箱底;
牛气冲天:STICKLINE(趋势力度 =AS,AS,趋势力度,0,0),COLORRED;
STICKLINE(趋势力度 =REF(趋势力度,1)
AND趋势力度 AS,AS,趋势力度,0,1),COLORWHITE;
趁机派发:STICKLINE(REF(趋势力度,2) REF(趋势力度,1)AND趋势力度 =REF(趋势力度,1)
AND趋势力度 AS,AS,趋势力度,0,0),COLORGREEN;
熊气盖天:STICKLINE(趋势力度 AS-0.5,AS-0.5,趋势力度,0,1),;
MA3:MA(C,3),COLORAAEE00;
MA21:MA(C,21),COLORGREEN;
K1:=BACKSET(MA21 REF(MA21,1),2);
强A:IF(K1,MA21,DRAWNULL),COLOR0000FF,LINETHICK2;
{DRAWTEXT(CROSS(MA3,箱底),L*0.99, 试 ),COLORRED;}
DRAWTEXT(CROSS(MA3,MA21),L, 买 ),COLORYELLOW;
DRAWTEXT(CROSS(MA3,箱顶)ANDC 箱顶,箱顶, 追 ),COLOR00EEAA;
DRAWTEXT(CROSS(箱顶,MA3)ANDC 箱顶,H, 卖 ),COLORFFAA99;
DRAWTEXT(REF(资金流向,2) REF(资金流向,1)ANDREF(资金流向,1) 资金流向
AND资金流向 箱顶ANDC 箱顶,H*1.0051, 顶 ),COLORWHITE;
DRAWTEXT(CROSS(趋势力度,箱底),箱底, 加仓 ),COLORRED;
FL:MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1)),COLORF4E202;
FS:MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1),COLORF4E202,LINETHICK2;
CG:IF(MA(CLOSE,17) FS,FS,MA(CLOSE,17)),COLORF4E202,LINETHICK2;
年线:=EMA(C,250);
浮筹:CG-(EMA(C,3)-CG),COLORFF8080;
散筹:年线-(EMA(C,3)-年线),COLORFF80FF,LINETHICK2;
DRAWTEXT(CURRBARSCOUNT=89,9.5, ★本指标适合上涨特征明显个股,暴跌
途中慎用!! ),COLOR0000FF;
DRAWTEXT(CURRBARSCOUNT=89,8.7, ★粉线下叉FL暴涨点;
粉线下叉趋势力度为安全买点!! ),COLOR0078FF;
DRAWTEXT(CURRBARSCOUNT=89,8.0, ★出现加仓信号可少量试买!! ),COLOR00FF00;
DRAWTEXT(CURRBARSCOUNT=89,7.3, ★当粉线和A线同时向下趋势,
果断买入!! ),COLOR00FFFF;
MA250:=EMA(C,250);
HC250:=COUNT(C MA250,10) =8AND(CROSS(L,MA250*1.02)ORCROSS(L,MA250));
HCBP:=FILTER(COUNT(HC250,3)ANDC MA250,5);
DRAWTEXT(HCBP,L*0.98, #39;蜻蜓点水 #39;);
公式解读:
输出XG:开盘价 1日前的收盘价 AND 收盘价 1日前的最高价
每日通达信公式解答: