波段王组合公式
Var59:=1/WINNER(CLOSE);
Var33:=MA(CLOSE,13);
Var34:=100-ABS((CLOSE-Var33)/Var33*100);
Var35:=LLV(LOW,75);
Var36:=HHV(HIGH,75);
Var37:=(Var36-Var35)/100;
Var38:=SMA((CLOSE-Var35)/Var37,20,1);
Var39:=SMA((OPEN-Var35)/Var37,20,1);
VarA3:=3*Var38-2*SMA(Var38,15,1);
VarB3:=3*Var39-2*SMA(Var39,15,1);
VarC3:=100-VarB3;
VarE3:=REF(LOW,1)*0.9;
VarF3:=LOW*0.9;
Var40:=(VarF3*VOL+VarE3*(CAPITAL-VOL))/CAPITAL;
Var41:=EMA(Var40,30);
Var42:=CLOSE-REF(CLOSE,1);
Var43:=MAX(Var42,0);
Var44:=ABS(Var42);
Var45:=SMA(Var43,7,1)/SMA(Var44,7,1)*100;
Var46:=SMA(Var43,13,1)/SMA(Var44,13,1)*100;
Var47:=BARSCOUNT(CLOSE);
Var48:=SMA(MAX(Var42,0),6,1)/SMA(ABS(Var42),6,1)*100;
Var49:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;
Var3A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
Var3B:=SMA((SMA(Var3A,4,1)-50)*2,3,1);
Var3C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
Var3D:=SMA(Var3C,4,1);
Var3E:=SMA(Var3D,3,1);
Var3F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
Var50:=Var48<=25 AND Var49<-95 AND
Var3F>20 AND Var3B<-30 AND Var3E<30 AND Var41-CLOSE>=-0.25 AND
Var45<22 AND Var46<28 AND
Var47>50;
Var51:=(HIGH+LOW+CLOSE)/3;
Var52:=(Var51-MA(Var51,14))/(0.015*AVEDEV(Var51,14));
Var53:=(Var51-MA(Var51,70))/(0.015*AVEDEV(Var51,70));
Var54:=IF(Var52>=150
AND Var52<200 AND Var53>=150 AND
Var53<200,10,0);
Var55:=IF(Var52<=-150 AND Var52>-200 AND
Var53<=-150 AND Var53>-200,-10,Var54);
绝处逢生: IF(Var53>=200 AND
Var52>=150,15,IF(Var53<=-200 AND
Var52<=-150,-15,Var55))+50,LINETHICK1,CROSSDOT,colorWHITE;
Var56:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
Var57:=REVERSE(Var56);
Var58:=SMA(Var56,3,1);
波段王:
SMA(Var58,3,1),colorFF10FF,linethick0;
波段鬼:
SMA(波段王,3,1),colorWHITE,linethick0;
低吸: IF(CROSS(波段王,波段鬼) AND
波段王<50,25,0),stick,linethick3,COLORRED;
DRAWTEXT(CROSS(波段王,波段鬼) AND
波段王<50,25,低吸),linethick1,COLORWHITE;
VarF:=100-3*SMA((CLOSE-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1),15,1);
Var19:=100-3*SMA((OPEN-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1),15,1);
Var20:=VarF<REF(Var19,1)
AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
DRAWTEXT(Var20 AND
COUNT(Var20,30)=1,45,大资金活动),linethick2,COLOR0000ff;
大资金:IF(Var20 AND
COUNT(Var20,30)=1,30,0),stick,LINETHICK2,COLOR0000ff;
Var1:=(CLOSE*2+HIGH+LOW)/4*10;
Var2:=EMA(Var1,13)-EMA(Var1,34);
Var3:=EMA(Var2,5);
Var4:=2*(Var2-Var3)*5.5;
主力撤:
IF(Var4<=0,Var4,0),colorWHITE;
主力进:
IF(Var4>=0,Var4,0),linethick2,COLOR0000ff;
Var5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;
Var6:=EMA(3*Var5-2*SMA(Var5,18,1),5);
Var7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;
Var8:=(INDEXC*2+INDEXH+INDEXL)/4;
Var9:=EMA(Var8,13)-EMA(Var8,34);
VarA:=EMA(Var9,3);
VarB:=(Var9-VarA)/2;
VarE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
Var10:=(HIGH+LOW+CLOSE)/3;
Var11:=(Var10-MA(Var10,14))/(0.015*AVEDEV(Var10,14));
Var12:=(Var10-MA(Var10,70))/(0.015*AVEDEV(Var10,70));
Var13:=IF(Var11>=150
AND Var11<200 AND Var12>=150 AND
Var12<200,10,0);
Var14:=IF(Var11<=-150 AND Var11>-200 AND
Var12<=-150 AND
Var12>-200,-10,Var13);
Var15:=(CLOSE-MA(CLOSE,11))/MA(CLOSE,11)*100;
Var16:=100-ABS(Var15);
Var17:=IF(Var16<90,Var16,100);
Var1A:=IF(VarE>0,VarE,0);
Var1B:=IF(Var12>=200
AND Var11>=150,15,IF(Var12<=-200 AND
Var11<=-150,-15,Var14))+60;
Var1C:=Var1A>48 AND Var1B>60 AND
Var17<100;
DRAWTEXT(Var1C AND
COUNT(Var1C,30)=1,40,出现必大涨),linethick2,colorred;
DRAWTEXT(Var1C
AND COUNT(Var1C,30)=1,25,回调找低点),linethick2,coloryellow;
出货:IF(Var1C AND
COUNT(Var1C,30)=1,30,0),stick,LINETHICK2,colorred;
MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA30:=MA(CLOSE,30);
MA60:=MA(CLOSE,60);
MA65:=MA(CLOSE,65);
MA250:=MA(CLOSE,250);
均线流:(((((MA5
> MA65) AND (MA10 > MA65)) AND (MA30 > MA65)) AND (MA5 < MA30)) *
7),POINTDOT,LINETHICK3;
PL1:=(((CLOSE - MA60) / MA60) <
0.1);
PL2:=(((CLOSE - MA250) / MA250) < 0.3);
偏离率:(((PL1 = 1) AND (PL2
= 1)) * 5),STICK,LINETHICK0,colorwhite;
STICKLINE((偏离率 =
5),0,5,5,1),colorwhite;
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA
:=EMA(DIFF,9);
MACD超跌:=(COUNT((DIFF < DEA),10) = 10);
MACD:(MACD超跌 *
"MACD.MACD"(26,12,9))*(-1),STICK,LINETHICK2,colorFFFF00;
目标:if(均线流=7
AND macd and 偏离率=5
,-15,0),LINETHICK2,colorFFFFFF;
MBSJ:=BARSLAST((目标 =10));
放量上涨:=(((VOL /
REF(VOL,1)) >= 1.1) AND ((CLOSE / REF(CLOSE,1)) >=
1.01));
SZSJ:=BARSLAST((放量上涨 =
1));
MACD金叉:=CROSS(DIFF,DEA);
JCSJ:=BARSLAST((MACD金叉 = 1));
金叉:((MACD金叉
AND (REF(MACD,1) < 0)) *
-15),stick,color66FF00,LINETHICK2;
DRAWTEXT(金叉,-3,金叉),color66FF00,LINETHICK2;
突破:((((偏离率
= 0) AND (REF(偏离率,1) = 5)) AND (REF((COUNT((偏离率 = 5),10) = 10),1) = 1)) *
40),stick,LINETHICK2,color66FF00;
DRAWTEXT(突破,50,突★破),Linethick3,color66FF00;
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),4.1,1)/SMA(ABS(CLOSE-LC),4.1,1)*100;
DRAWICON(CROSS(84,RSI) ,h*1.03,5);
DRAWICON(CROSS(RSI,11)
,l*0.99,4);
Var27a:=REF(CLOSE,1);
Var28a:=SMA(MAX(CLOSE-Var27a,0),5.5,1)/SMA(ABS(CLOSE-Var27a),6,1)*100;
DRAWICON(IF(CROSS(76,Var28a),1,0),h*1.03,5);
VARA1:=((AMOUNT)/(VOL))/(100);
VARB1:=((3)*(HIGH)+LOW+OPEN+(2)*(CLOSE))/(7);
VARC1:=((SUM(AMOUNT,7))/(VARA1))/(100);
VARD1:=DMA(VARB1,(VOL)/(VARC1));
VARE1:=((CLOSE-VARD1)/(VARD1))*(100);
VARF1:=((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)))*(100);
VARJ1:=MA(VARE1,20)+STD(VARE1,20);
BIAS18:=((CLOSE-MA(CLOSE,18))/(MA(CLOSE,18)))*(100);
aa1:=SMA(VARF1,3,1);
ss1:=(REF(BIAS18,1)>=5)
AND CROSS(VARJ1,VARE1) AND
(aa1>79);
Var1aa:=ZIG(3,10)<REF(ZIG(3,10),1) AND
REF(ZIG(3,10),1)>REF(ZIG(3,10),2);{ZIG
有未来}
Var2aa:=ZIG(3,10)>REF(ZIG(3,10),1) AND
REF(ZIG(3,10),1)<REF(ZIG(3,10),2);
果断买入:IF(Var2aa AND
COUNT(Var2aa,3)=1,-15,0),stick,LINETHICK1,COLORFF00FF;
果断卖出:IF(Var1aa AND
COUNT(Var1aa,3)=1,15,0),stick,LINETHICK1,COLORYELLOW;
STICKLINE(Var2aa,0,-25,4,0),colorff00ff;
STICKLINE(Var1aa,0,25,4,0),COLORYELLOW;
VAR91:=(((CLOSE
- LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) *
100);
VAR92:=SMA(VAR91,3,1);
VAR93:=SMA(VAR92,3,1);
VAR94:=((3 * VAR92)
- (2 * VAR93));
VAR95:=(VAR92 + VAR93);
VAR96:=(VAR95 <
55);
VAR97:=(VAR95 <
60);
VAR98:=CROSS(MA(CLOSE,10),MA(CLOSE,15));
VAR99:=CROSS(MA(CLOSE,10),MA(CLOSE,19));
VAR4A:=(REF(VAR96,3)
AND (((((REF(VAR96,18) OR REF(VAR96,27)) OR REF(VAR96,76)) OR REF(VAR96,87)) OR
REF(VAR96,99)) OR REF(VAR96,212)));
VAR4B:=(REF(VAR96,23) AND (REF(VAR96,78)
OR REF(VAR96,132)));
VAR4C:=(SARTURN(2,3,30) = 1);
VAR4D:=(REF(VAR96,8)
AND (REF(VAR96,132) OR REF(VAR96,76)));
VAR4E:=((REF(VAR97,18) AND
REF(VAR97,88)) AND REF(VAR97,90));
VAR4F:=((CLOSE / REF(CLOSE,1)) >=
1.099);
VAR100:=((OPEN = LOW) AND (HIGH = CLOSE));
VAR101:=((VOL <
MA(VOL,5)) AND (VOL < REF(VOL,1)));
VAR102:=(((VAR4F AND VAR100) AND
VAR101) AND (COUNT(((VAR4F AND VAR100) AND VAR101),20) = 1));
(VAR102 AND
(((((((VAR98 OR VAR99) OR VAR4A) OR VAR3B) OR VAR4C) OR VAR4D) OR VAR4E) OR
(VAR95 < 38)));
DRAWTEXT(VAR102 AND
COUNT(VAR102,20)=1,60,井★喷),linethick2,COLOR00ff00;
井喷:IF(Var102 AND
COUNT(Var102,20)=1,50,0),stick,LINETHICK2,COLOR00ff00;
上一篇:通达信财神买卖指标公式 下一篇:通达信主力进场源码副图