当前位置: 网站首页 > 股票软件公式 > 通达信公式 > 文章 当前位置: 通达信公式 > 文章

通达信源码:金色60分钟,短线买卖,短线买进

点击: 次    来源:顶尖财经    作者:股市狙击 - 小 + 大

1、金色60分钟,TDX副图和预警 上线即杀超高胜率

公式的解释:
原理:把前期有庄介入,处于安全线上的票进行监控,当上穿金色60即进行预警。

RSI1:=SMA(MAX(CLOSE-REF(CLOSE,1),0),7,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100,COLORWHITE;

RSI2:=SMA(MAX(CLOSE-REF(CLOSE,1),0),7,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100,COLORWHITE;

YY:=SMA(MAX(CLOSE-REF(CLOSE,1),0),7,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100;

RSI4:=SMA(YY,7,1),LINETHICK1,COLORWHITE;

QSA:=MA(((CLOSE-LLV(LOW,48))/(HHV(HIGH,48)-LLV(LOW,48))*50),17)+9,COLORFFFFFF;

QSB:=MA(((CLOSE-LLV(LOW,53))/(HHV(HIGH,53)-LLV(LOW,53))*50),17)+9,COLOR3377DD;

QSC:=EMA(((CLOSE-LLV(LOW,38))/(HHV(HIGH,38)-LLV(LOW,38))*50),17)+18,COLORYELLOW,LINETHICK1;

A1:=MA(QSA,7)*1.372,COLORGREEN,LINETHICK1;

A2:=A1*1.0887;

A3:=(1.5*(QSB+RSI4)-(A2+A1))+12;

YYW:=IF((CROSS(RSI2,RSI4) OR CROSS(RSI2,A3) AND A3<38 AND RSI1<51),48,38),COLORBLUE,LINETHICK1;

XG1:=YYW=48 AND CROSS(YY,38) AND REF(MA(C,3),1)<=MA(C,3);

MA3:=MA(CLOSE,3)COLORMAGENTA;

MA7:=MA(CLOSE,7)COLORGREEN;

MA60:=MA(C,60)COLORRED,LINETHICK2;

JXJD3:=ATAN((MA3/REF(MA3,1)-1)*100)*180/3.1416;

XG2:=CROSS(MA3,MA7);

XG3:=C>MA60 AND JXJD3>15;

XG4:= RSI1>50 AND  RSI2>50;

YYWB:=YYW=48 AND CROSS(YY,38) AND REF(MA(C,3),1)<=MA(C,3);

AA:=LLV(LOW,10);

BB:=HHV(HIGH,25);

DLX:= EMA((CLOSE-AA)/(BB-AA)*4,4);

YY1:=DLX;

X1:=(YY1>1.75);

X2:=COUNT(XG2,10)>0;

X3:=COUNT(YYWB,20)>0;

DIF:=EMA(CLOSE,12)-EMA(CLOSE,25);

DEA:=EMA(DIF,5);

MACD:=(DIF-DEA)*2;

MACD120:=REF(MACD/2,BARSLAST(MACD=HHV(MACD,120))),COLORRED,LINETHICK2;

MACD250:=REF(MACD/2,BARSLAST(MACD=HHV(MACD,250))),COLORWHITE,LINETHICK2;

X4:=NOT(REF(MACD120,1)=MACD120);

XG:X1 AND X2 AND X3 AND XG3 AND X4 AND XG4 AND CROSS(C,MA60);



2、短线买卖 信号多短线公式通达信副图公式

短线买卖 通达信副图公式,没未来函数( 顶尖财经 股票学院: http://58188.com )

信号比较多,短线指标,可以结合其他的公式过滤一下。

{短线买卖}
VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=EXPMA(EXPMA(EXPMA(VAR1,4),4),4);
J: (VAR2-REF(VAR2,1))/REF(VAR2,1)*100, COLORSTICK;
D: MA(J,3);
K: MA(J,1);
V1:=EMA(CLOSE,60)-EMA(CLOSE,300);
V2:=EMA(V1,300);
V3:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
V6:=CLOSE/REF(CLOSE,3)>=1.1;
买入:IF((V6 AND COUNT(V6,3)=1),2,0),COLORYELLOW,LINETHICK2;
STICKLINE(C>(REF(C,1))AND(CROSS(K,D)),1.0,买入,1,0),COLORRED;



3、短线买进,赚钱就逃,通达信副图

 {短线买进}

VAR1:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*200;
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1);
VAR4:=3*VAR2-2*VAR3;
VAR5:=LLV(LOW,5);
VAR6:=HHV(HIGH,5);
VAR7:=EMA((CLOSE-VAR5)/(VAR6-VAR5)*100,4)*2;
VAR8:=EMA(0.667*REF(VAR7,1)+0.333*VAR7,2);
VAR9:=3*VAR7-2*VAR8;
VARA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
VARB:=POW(MA(LOW,5),2)+MA(LOW,5);
VARC:=POW(MA(HIGH,5),2)+MA(HIGH,5);
VARD:=(VARA-LLV(VARB,64))/(HHV(VARC,64)-LLV(VARB,64))*150+65-10;
VARE:=SMA(VARD,3,1)*1.5-100;
VARF:=SMA(VARE,3,1);
VAR10:=3*VARE-2*VARF;
VAR11:=(HIGH+LOW+CLOSE*2)/4;
VAR12:=EMA(VAR11,13);
VAR13:=STD(VAR11,13);
VAR14:=(VAR11-VAR12)*100/VAR13;
VAR15:=EMA(VAR14,5);
VAR16:=EMA(VAR15,13);
VAR17:=EMA(VAR15,13)+200-100;
VAR18:=EMA(VAR17,10);
VAR19:=3*VAR17-2*VAR18;
VAR1A:=VAR2+VAR7+VARE+VAR17;
VAR1B:=VAR3+VAR8+VARF+VAR18;
VAR1C:=VAR4+VAR9+VAR10+VAR19;
VAR1D:=(HIGH+LOW+CLOSE)/3;
VAR1E:=AMOUNT/VOL/100;
VAR1F:=SUM(AMOUNT,5)/SUM(VOL,5)/100;
VAR20:=(VAR1D-MA(VAR1D,34))/(0.015*AVEDEV(VAR1D,34));
VAR21:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);
VAR22:=(HIGH+LOW+CLOSE+VAR1D)/4;
VAR23:=EMA(VAR22,24);
VAR24:=STD(VAR22,24);
VAR25:=(VAR22-VAR23)/VAR24*100;
VAR26:=(VAR1D-MA(VAR1D,24))/(0.015*AVEDEV(VAR1D,24));
VAR27:=EMA(VAR25,5);
VAR28:=(VAR1E-MA(VAR1E,21))/(0.015*AVEDEV(VAR1E,21));
VAR29:=(VAR1F-MA(VAR1F,90))/(0.015*AVEDEV(VAR1F,90));
VAR2A:=((VAR29+VAR28+VAR27+VAR26+VAR20)/5+165)/4;
VAR2B:=(VAR1A+VAR1B+VAR1C*30)/32/5-15;
VAR2C:=(VAR2A+VAR2B)/2/1.1;
短线: VAR2C, , COLORGREEN;
MID: MA(短线,26), , COLORWHITE;
UPPER: MID+2*STD(短线,26);
LOWER: MID-2*STD(短线,26), , COLORFFFFFF;
IF(短线>MID,MID,短线), , COLORRED;
买点: DRAWICON(CROSS(短线,MID),MID*0.97,1);
DRAWICON(CROSS(短线,LOWER),LOWER*0.97,3);
DRAWTEXT(买点,100,'买'), COLORRED;
卖点: DRAWICON(CROSS(UPPER,短线),UPPER*0.97,2);
MID, , COLORYELLOW;
DRAWTEXT(卖点,100,'卖'), COLORGREEN;

上一篇:通达信源码:压力支撑,跳空高开未回调,分时买卖点

下一篇:通达信源码:缠论新笔 缠论顶底,发现龙头,价值选股副图