大智慧指标——百万强弱(副图
N:=9;M1:=2;M2:=2;M3:=3;
Var1:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
Var2:=REVERSE(Var1);
Var3:=SMA(Var1,M1,1);
K: SMA(Var3,M2,1);
D: SMA(K,M3,1);
J: 3*K-2*D;
Var4:=SMA(Var2,M1,1);
W: SMA(Var4,M2,1);
R: SMA(W,M3,1);
Var5:=REF(CLOSE,1);
RSI1: SMA(MAX(CLOSE-Var5,0),5,1)/SMA(ABS(CLOSE-Var5),5,1)*100;
Var6:=MA(WINNER(CLOSE),N)*100;
CROSS(Var6,2.5)*(-45);
Var7:=REF(LOW,1)*0.9;
Var8:=LOW*0.9;
Var9:=(Var8*VOL+Var7*(CAPITAL-VOL))/CAPITAL;
VarA:=EMA(Var9,30);
VarB:=CLOSE-REF(CLOSE,1);
VarC:=MAX(VarB,0);
VarD:=ABS(VarB);
VarE:=SMA(VarC,7,1)/SMA(VarD,7,1)*100;
VarF:=SMA(VarC,13,1)/SMA(VarD,13,1)*100;
Var10:=BARSCOUNT(CLOSE);
Var11:=SMA(MAX(VarB,0),6,1)/SMA(ABS(VarB),6,1)*100;
Var12:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;
Var13:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
Var14:=SMA((SMA(Var13,4,1)-50)*2,3,1);
Var15:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
Var16:=SMA(Var15,4,1);
Var17:=SMA(Var16,3,1);
Var18:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
Var19:=Var11<=25 AND Var12<-95 AND Var18>20 AND Var14<-30 AND Var17<30 AND VarA-CLOSE>=-0.25 AND VarE<22 AND VarF<28 AND Var10>50;
STICKLINE(Var19,0,35,3,0);
DRAWTEXT(CROSS(Var19,0.5) AND COUNT(Var19=1,10)=1,20,'百万导弹');