S:=12;
P:=26;
M:=14;
P1:=10;
P2:=30;
DIFF:(EMA(CLOSE,S) – EMA(CLOSE,P)),COLOR0000FF;
DEA:EMA(DIFF,M),COLOR00FFFF;
MACD:(2 * (DIFF – DEA)),COLORSTICK,LINETHICK2;
STICKLINE(((MACD < REF(MACD,1)) AND (MACD > 0)),0,MACD,2,0),LINETHICK2,COLOR00FFFF;
STICKLINE(((MACD > REF(MACD,1)) AND (MACD < 0)),0,MACD,2,0),LINETHICK2,COLORFF00FF;
HH:=MA(CLOSE,10);
GG:=MA(CLOSE,12);
上:=EMA((MA(HIGH,3) * 1.05),30);
下:=EMA((MA(LOW,3) * 0.96),30);
决战:STICKLINE((((CROSS(DIFF,DEA) AND ((下 – REF(下,1)) > 0)) AND (MACD >= REF(MACD,1))) AND (DIFF < 0)),DIFF,0.4,3,0),COLOR0000FF;
DRAWICON((((CROSS(DIFF,DEA) AND ((下 – REF(下,1)) > 0)) AND (MACD >= REF(MACD,1))) AND (DIFF < 0)),0.4,0);
DRAWTEXT((((CROSS(DIFF,DEA) AND ((下 – REF(下,1)) > 0)) AND (MACD >= REF(MACD,1))) AND (DIFF = REF(MACD,5)) AND ((下 – REF(下,1)) > 0)) AND (MACD = 0)),3),0,0.5,3,0),COLOR00FF00;
DRAWICON(FILTER(((((MACD >= REF(MACD,5)) AND ((下 – REF(下,1)) > 0)) AND (MACD = 0)),3),0.5,0);
DRAWTEXT(FILTER(((((MACD >= REF(MACD,5)) AND ((下 – REF(下,1)) > 0)) AND (MACD = 0)),3),0.5,’。绝佳买入’),COLOR00FF00;
VCF1:=LLV(LOW,5);
VCF2:=HHV(HIGH,5);
VCF3:=EMA((((CLOSE – VCF1) / (VCF2 – VCF1)) * 100),4);
VCF4:=EMA(((0.667 * REF(VCF3,1)) + (0.333 * VCF3)),2);
VCF5:=((HIGH + LOW) / 2);
VCF6:=DMA(VCF5,(VOL / SUM(VOL,5)));
VCF7:=DMA(VCF5,(VOL / SUM(VOL,13)));
VCF8:=DMA(VCF5,(VOL / SUM(VOL,34)));
VCF9:=DMA(VCF5,(VOL / SUM(VOL,75)));
VCFA:=EMA(WINNER((0.9 * CLOSE)),5);
VCFB:=(1 – EMA(WINNER((1.2 * CLOSE)),5));
VCFC:=EMA(WINNER(CLOSE),5);
VCFD:=((100 * (CLOSE – VCF6)) / VCF6);
VCFE:=((100 * (CLOSE – VCF7)) / VCF7);
VCFF:=((100 * (MIN(CLOSE,OPEN) – VCF8)) / VCF8);
VCF10:=BARSLAST(((VCF8 > VCF9) AND (REF(VCF8,1) 0) OR (((1 – WINNER((1.2 * CLOSE))) >= 0.8) AND (WINNER(CLOSE) < 0.05))) AND (COUNT((VCFE < (0 - 16)),2) > 0)) AND (COUNT((VCFF < (0 - 20)),2) > 0));
VCF12:=((((COUNT((VCFD < (0 - 10)),2) > 0) AND (COUNT((VCFE < (0 - 15)),2) > 0)) AND (COUNT((VCFF < (0 - 15)),2) > 0)) AND (COUNT((VCFA > 0.8),VCF10) = 0));
VCF13:=(((COUNT((VCF11 OR VCF12),2) > 0) AND (VCF3 > REF(VCF3,1))) AND (((1 – WINNER((1.15 * CLOSE))) * 100) > 80));
出击1:=IF((VCF13 AND (COUNT(VCF13,3) 0),0.35,’★黑马股票’),COLORFFFFFF;
DRAWTEXT((黑马股票出击 > 0),0.35,’出击’),COLOR00FF00;
VAR26:=(((CLOSE – REF(CLOSE,1)) / REF(CLOSE,1)) * 100);
VAR27:=((EMA(CLOSE,12) – EMA(CLOSE,26)) * 100);
VAR28:=EMA(VAR27,9);
VAR29:=(2 * (VAR27 – VAR28));
STICKLINE(((VAR27 < (0 - 50)) AND (VAR26 > 7)),0,(0 – 0.1),5,0),COLOR0000FF;
DRAWTEXT((((VAR27 < (0 - 50)) AND (VAR26 > 7)) AND (VAR27 < VAR28)),(0 - 0.08),'底'),COLORFFFFFF;
DRAWTEXT((((VAR27 < (0 - 50)) AND (VAR26 > 7)) AND (VAR27 >= VAR28)),(0 – 0.1),’追’),COLORFFFFFF;
VAR1:=1;
VAR2:=MA(CLOSE,18);
VAR3:=(((CLOSE – VAR2) / VAR2) * 100);
VAR4:=MA(VAR3,1);
升跌:=(VAR4 * VAR1);
VAR5:=BARSLAST((CROSS((0 – 10),VAR4) = 1));
VAR6:=BARSLAST((CROSS(VAR4,10) = 1));
VAR7:=((VAR4 < (0 - 10)) AND (VAR5 >= 5));
VAR8:=((VAR4 > 10) AND (VAR6 >= 5));
C1:(0.01 * (IF(((VAR4 < (0 - 10)) AND (VAR5 >= 5)),VAR4,0) * VAR1)),LINETHICK1,COLOR0000FF;
C2:=C1;
C3:=(IF(((VAR4 > 10) AND (VAR6 >= 5)),VAR4,0) * VAR1);
C4:=C3;
D1:=((((升跌 > REF(升跌,1)) AND VAR7) * 0.2) * VAR1);
中期底部:=LLV(CLOSE,30);
D:(FILTER(((((((升跌 > REF(升跌,1)) AND (LOW 中期底部)) AND VAR7) * 0.5) * VAR1),3) * 0.5),LINETHICK2,COLOR0000FF;
DRAWTEXT((D >= 0.25),D,’★-铁底’),COLOR00FFFF;
STICKLINE(((CROSS(MACD,DIFF) AND (MACD >= (0 – 0.05))) AND (MACD = (0 – 0.05))) AND (MACD = (0 – 0.05))) AND (MACD = (0 – 0.05))) AND (MACD 7)) AND (VAR277 < VAR288)),(-0.08),'★'),COLORFFFFFF;
DRAWTEXT((((VAR277 < (-50)) AND (VAR266 > 7)) AND (VAR277 >= VAR288)),(-0.1),’● ‘),COLORFFFFFF;
VAC:=(LOW * 0.9);
VAB:=EMA(LLV(LOW,90),21);
VAD:=(((VAC * VOL) + (VAB * (CAPITAL – VOL))) / CAPITAL);
VAE:=EMA(VAD,30);
VAF:=(CLOSE – REF(CLOSE,1));
VA10:=MAX(VAF,0);
VA11:=ABS(VAF);
VA12:=((SMA(VA10,7,1) / SMA(VA11,7,1)) * 100);
VA13:=((SMA(VA10,13,1) / SMA(VA11,13,1)) * 100);
VA14:=((SMA(MAX(VAF,0),6,1) / SMA(ABS(VAF),6,1)) * 100);
VA15:=((((-200) * (HHV(HIGH,60) – CLOSE)) / (HHV(HIGH,60) – LLV(LOW,60))) + 100);
VA16:=(((CLOSE – LLV(LOW,15)) / (HHV(HIGH,15) – LLV(LOW,15))) * 100);
VA17:=SMA(((SMA(VA16,4,1) – 50) * 2),3,1);
VA18:=(((INDEXC – LLV(INDEXL,14)) / (HHV(INDEXH,14) – LLV(INDEXL,14))) * 100);
VA19:=SMA(VA18,4,1);
VA1A:=SMA(VA19,3,1);
VA1B:=(((HHV(HIGH,30) – CLOSE) / CLOSE) * 100);
VA1C:=((((((((VA14 20)) AND (VA17 < (-30))) AND (VA1A < 30)) AND ((VAE - CLOSE) >= (-0.25))) AND (VA12 < 22)) AND (VA13 < 28));
低买1:=STICKLINE(VA1C,0,0.1,1,1);
发射:STICKLINE(VA1C,0,0.7,2,0),LINETHICK2,COLOR0000FF;
DRAWTEXT((VA1C > 0),0.7,’^★发射’),COLORFFFFFF;
【股票投资】【通达信】买入超强指标公式
特别声明:文章内容仅供参考,不造成任何投资建议。投资者据此操作,风险自担。