通达信短线是银主图+短银盘中强火+最佳点火副图+早盘点火选股预警指标公式源码
通达信短线是银主图指标公式源码:
M60:=MA(C,60);
M120:=MA(C,120);
DRAWBAND(M60,RGB(90,0,0),M120,RGB(0,90,0));
{牛熊变线}
变线:=EMA(MA(CLOSE,30),5),LINETHICK0;{20 或 30 或 35}
STICKLINE(C>=变线 AND C>=O,H,L,0,0),COLORRED;
STICKLINE(C>=变线 AND C>=O,C,O,2.7,1),COLORRED;
STICKLINE(C>变线 AND C<=O,H,L,0,1),COLORCYAN;
STICKLINE(C>变线 AND C<=O,C,O,3,0),COLORCYAN;
STICKLINE(C<变线 AND C<=O,H,L,0,1),COLORCYAN;
STICKLINE(C<变线 AND C<=O,C,O,3,0),COLORCYAN;
STICKLINE(C<变线 AND C<=O,H,L,0,1),COLORGRAY;
STICKLINE(C<变线 AND C>O,H,L,0,1),COLORGRAY;
STICKLINE(C<变线 AND C>O,C,O,3,1),COLORGRAY;
STICKLINE(C<变线 AND C<=O,C,O,3,1),COLORGRAY;
{分水岭操作线}
PM:MA(C,5),COLORGRAY,LINETHICK1;{可用13}
IF(PM<REF(PM,1),PM,DRAWNULL),COLORGRAY,LINETHICK0;
IF(PM>=REF(PM,1),PM,DRAWNULL),COLORRED,LINETHICK2;
IF(PM=REF(PM,1),PM,DRAWNULL),COLORRED,LINETHICK2;
A:=MA(CLOSE,12)+ABS(MA(CLOSE,12)-REF(MA(CLOSE,12),1));{原公式为17,最终确定为12}
B:=MA(CLOSE,12)+MA(CLOSE,12)-REF(MA(CLOSE,12),1);
分水岭:=IF(MA(CLOSE,12)<B,B,MA(CLOSE,12));
操作线:=分水岭-(EMA(C,3)-分水岭);
AA:=CROSS(分水岭,操作线);
STICKLINE(AA,C,O,3,0),COLOR0000AA;
STICKLINE(AA,C,O,2,0),COLOR0033CC;
STICKLINE(AA,C,O,1,0),COLOR0055EE;
STICKLINE(AA,C,O,0.3,0),COLOR0099FF;
STICKLINE(AA,H,L,0,1),COLOR0099FF;
RR:=CROSS((MA(VOL,5)),(MA(VOL,10))) AND MA(C,2)>=MA(C,4); {AND VOL>=REF(VOL,1)}
STICKLINE(RR,C,O,3,0),COLOR0000AA;
STICKLINE(RR,C,O,2,0),COLOR0033CC;
STICKLINE(RR,C,O,1,0),COLOR0055EE;
STICKLINE(RR,C,O,0.3,0),COLOR0099EE;
STICKLINE(RR,H,L,0,1),COLOR0099FF;
MA5:MA(CLOSE,5),NODRAW;
MA10:MA(CLOSE,10),COLORCC66FF;
MA20:MA(CLOSE,20),COLORFFCC66,LINETHICK2;
MA60:MA(CLOSE,60),COLOR00FF99,LINETHICK2;
MA120:MA(C,120),COLORGRAY;
DRAWTEXT(CROSS(MA60,MA120),MA60,'牛'),COLORYELLOW,LINETHICK4;
DRAWTEXT(CROSS(MA120,MA60),MA60,'熊'),COLORWHITE,LINETHICK;
通达信短银盘中强火副图指标公式源码:
去停牌:=DYNAINFO(13)>0;
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
{DIFF:=EMA(CLOSE,8)-EMA(CLOSE,13);
DEA:=EMA(DIFF,5);}
A1:=DIFF>DEA;
RSV1:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
K:=SMA(RSV1,3,1);
D:=SMA(K,3,1);
A2:=K>D;
LC:=REF(CLOSE,1);
RSI1:=(SMA(MAX(CLOSE-LC,0),5,1))/(SMA(ABS(CLOSE-LC),5,1))*100;
RSI2:=(SMA(MAX(CLOSE-LC,0),13,1))/(SMA(ABS(CLOSE-LC),13,1))*100;
A3:=RSI1>RSI2;
RSV:=-(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*100;
LWR1:=SMA(RSV,3,1);
LWR2:=SMA(LWR1,3,1);
A4:=LWR1>LWR2;
BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
A5:=CLOSE>BBI;
MTM:=CLOSE-REF(CLOSE,1);
MMS:=100*EMA(EMA(MTM,5),3)/EMA(EMA(ABS(MTM),5),3);
MMM:=100*EMA(EMA(MTM,13),8)/EMA(EMA(ABS(MTM),13),8);
A6:=MMS>MMM;
涨买入:=(A1 AND A2 AND A3 AND A4 AND A5 AND A6) AND REF(A1 AND A2 AND A3 AND A4 AND A5 AND A6,1)=0;
上涨:=A1 AND A2 AND A3 AND A4 AND A5 AND A6;
HM:=MA(HIGH,30)*(1+15/100);
M1:=MA(C,5);
M2:=MA(C,10);
M3:=MA(C,20);
M4:=MA(C,60);
AAA:=(C>M1)AND(M1>M2)AND(M2>M3);
{AND(M1/M4<1.35)AND(M1>REF(M1,1))AND(M2>REF(M2,1))AND(M3>REF(M3,1))}
DIFF1:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA1 := EMA(DIFF1,9);
MACD1 := 2*(DIFF1-DEA1);
MACDH:=CROSS(MACD1,0);
DIFF22:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA22:=EMA(DIFF22,9);
JJ :=(C*3+H+L+O)/6;SK := EMA(JJ,13) - EMA(JJ,21);
SD := EMA(SK,3);
SP := EMA(SK,10);
AAA1:=EMA(C,7)-EMA(C,21);
B1:=EMA((0.668*REF
(AAA1,1)+0.333*AAA1),1);
X1:=V/SUM(V,13);
X2:=DMA(C,X1);
X3:=(C-X2)/X2*40;
L2:=MA(AMOUNT/(100*V),13);
CYS13:= (C-L2)/L2*100;
XDFHTH:=REF(AAA1,1)<=REF(B1,1) ;
点火:=CYS13>4.5 AND DIFF22>DEA22 AND C>=EMA(C,5) AND AAA1-B1>0;
MA5:=MA(C,5);
压力:=HHV(MA5,60);
小牛涨大:=O>REF(C,1)*1.02 AND C>O AND C>=压力 AND 压力>=REF(C,1) AND MA5>REF(MA5,1) AND 去停牌 ;
VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);
VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3AA>0),91,0);
大胆搏:=FILTER((VAR4AA>90),45);{,(LOW)*(0.93),'←---大胆搏 '),COLORYELLOW;};
最强火:=CROSS(MACD1,0) AND AAA AND 涨买入 AND C>=HM ;
强火3:(大胆搏 AND 点火 AND 涨买入) OR (大胆搏 AND 点火 AND 小牛涨大) AND AAA;
通达信最佳点火副图指标公式源码:
DIFF:=EMA(CLOSE,8)-EMA(CLOSE,13);
DEA:=EMA(DIFF,5);
A1:=DIFF>DEA;
{MACD金叉:IF(A1,1,0),COLORRED;}
RSV1:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
K:=SMA(RSV1,3,1);
D:=SMA(K,3,1);
A2:=K>D;
{KDJ金叉:IF(A2,2,0),COLORRED;}
LC:=REF(CLOSE,1);
RSI1:=(SMA(MAX(CLOSE-LC,0),5,1))/(SMA(ABS(CLOSE-LC),5,1))*100;
RSI2:=(SMA(MAX(CLOSE-LC,0),13,1))/(SMA(ABS(CLOSE-LC),13,1))*100;
A3:=RSI1>RSI2;
{RSI金叉:IF(A3,3,0),COLORRED;}
RSV:=-(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*100;
LWR1:=SMA(RSV,3,1);
LWR2:=SMA(LWR1,3,1);
A4:=LWR1>LWR2;
{LWR金叉:IF(A4,4,0),COLORRED;}
BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
A5:=CLOSE>BBI;
{BBI金叉:IF(A5,5,0),COLORRED;}
MTM:=CLOSE-REF(CLOSE,1);
MMS:=100*EMA(EMA(MTM,5),3)/EMA(EMA(ABS(MTM),5),3);
MMM:=100*EMA(EMA(MTM,13),8)/EMA(EMA(ABS(MTM),13),8);
A6:=MMS>MMM;
{MTM金叉:IF(A6,6,0),COLORRED;}
涨买入:=(A1 AND A2 AND A3 AND A4 AND A5 AND A6) AND REF(A1 AND A2 AND A3 AND A4 AND A5 AND A6,1)=0;
上涨:=A1 AND A2 AND A3 AND A4 AND A5 AND A6;
HM:=MA(HIGH,30)*(1+15/100);
M1:=MA(C,5);
M2:=MA(C,10);
M3:=MA(C,20);
M4:=MA(C,60);
AAA:=(C>M1)AND(M1>M2)AND(M2>M3) AND (M1/M4<1.45);
{AND(M1>REF(M1,1))AND(M2>REF(M2,1))AND(M3>REF(M3,1))}
DIFF1:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA1 := EMA(DIFF1,9);
MACD1 := 2*(DIFF1-DEA1);
ENTERLONG:CROSS(MACD1,0) AND AAA AND 涨买入 AND C>=HM ;
通达信早盘点火选股预警指标公式源码:
去停牌:=DYNAINFO(13)>0;
DIFF:=EMA(CLOSE,8)-EMA(CLOSE,13);
DEA:=EMA(DIFF,5);
A1:=DIFF>DEA;
RSV1:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
K:=SMA(RSV1,3,1);
D:=SMA(K,3,1);
A2:=K>D;
LC:=REF(CLOSE,1);
RSI1:=(SMA(MAX(CLOSE-LC,0),5,1))/(SMA(ABS(CLOSE-LC),5,1))*100;
RSI2:=(SMA(MAX(CLOSE-LC,0),13,1))/(SMA(ABS(CLOSE-LC),13,1))*100;
A3:=RSI1>RSI2;
RSV:=-(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*100;
LWR1:=SMA(RSV,3,1);
LWR2:=SMA(LWR1,3,1);
A4:=LWR1>LWR2;
BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
A5:=CLOSE>BBI;
MTM:=CLOSE-REF(CLOSE,1);
MMS:=100*EMA(EMA(MTM,5),3)/EMA(EMA(ABS(MTM),5),3);
MMM:=100*EMA(EMA(MTM,13),8)/EMA(EMA(ABS(MTM),13),8);
A6:=MMS>MMM;
涨买入:=(A1 AND A2 AND A3 AND A4 AND A5 AND A6) AND REF(A1 AND A2 AND A3 AND A4 AND A5 AND A6,1)=0;
上涨:=A1 AND A2 AND A3 AND A4 AND A5 AND A6;
HM:=MA(HIGH,30)*(1+15/100);
M1:=MA(C,5);
M2:=MA(C,10);
M3:=MA(C,20);
M4:=MA(C,60);
AAA:=(C>M1)AND(M1>M2)AND(M2>M3);
{AND(M1/M4<1.35)AND(M1>REF(M1,1))AND(M2>REF(M2,1))AND(M3>REF(M3,1))}
DIFF1:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA1 := EMA(DIFF1,9);
MACD1 := 2*(DIFF1-DEA1);
MACDH:=CROSS(MACD1,0);
DIFF22:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA22:=EMA(DIFF22,9);
JJ :=(C*3+H+L+O)/6;SK := EMA(JJ,13) - EMA(JJ,21);
SD := EMA(SK,3);
SP := EMA(SK,10);
AAA1:=EMA(C,7)-EMA(C,21);
B1:=EMA((0.668*REF
(AAA1,1)+0.333*AAA1),1);
X1:=V/SUM(V,13);
X2:=DMA(C,X1);
X3:=(C-X2)/X2*40;
L2:=MA(AMOUNT/(100*V),13);
CYS13:= (C-L2)/L2*100;
XDFHTH:=REF(AAA1,1)<=REF(B1,1) ;
点火:=CYS13>4.5 AND DIFF22>DEA22 AND C>=EMA(C,5) AND AAA1-B1>0;
MA5:=MA(C,5);
压力:=HHV(MA5,60);
小牛涨大:=O>REF(C,1)*1.02 AND C>O AND C>=压力 AND 压力>=REF(C,1) AND MA5>REF(MA5,1) AND 去停牌 ;
VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);
VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3AA>0),91,0);
大胆搏:=FILTER((VAR4AA>90),45);{,(LOW)*(0.93),'←---大胆搏 '),COLORYELLOW;};
强火2:小牛涨大 AND MACDH AND 涨买入;