大智慧公式编写教程 大智慧探庄叮庄副图源码
N:=27;M1:=3;M2:=3;M3:=4;
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);
Var4:=SMA(Var2,M1,1);
W: SMA(Var4,M2,1);
R: SMA(W,M3,1);
Var5:=3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)-2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
Var6:=3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)-2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
Var7:=100-Var6;
Var8:=100-Var5;
Var9:=REF(CLOSE,1);
VarA:=100*VOL/CAPITAL*10;
STICKLINE(Var8<REF(Var7,1),(-1)*Var8,(-1)*Var7,VarA,1);
VarB:=MA(Var7,3);
STICKLINE((-1)*Var8>VarB,(-1)*Var8,(-1)*Var7,VarA,1);
STICKLINE(Var8>=REF(Var7,1),(-1)*Var8,(-1)*Var7,VarA,1);
FORCAST((-1)*Var7,21);
-100;
0;
-80;
VarC:=MA(WINNER(CLOSE),18)*100;
CROSS(VarC,2.5)*(-95);
VarD:=REF(LOW,1)*0.9;
VarE:=LOW*0.9;
VarF:=(VarE*VOL+VarD*(CAPITAL-VOL))/CAPITAL;
Var10:=EMA(VarF,30);
Var11:=CLOSE-REF(CLOSE,1);
Var12:=MAX(Var11,0);
Var13:=ABS(Var11);
Var14:=SMA(Var12,7,1)/SMA(Var13,7,1)*100;
Var15:=SMA(Var12,13,1)/SMA(Var13,13,1)*100;
Var16:=BARSCOUNT(CLOSE);
Var17:=SMA(MAX(Var11,0),6,1)/SMA(ABS(Var11),6,1)*100;
Var18:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;
Var19:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
Var1A:=SMA((SMA(Var19,4,1)-50)*2,3,1);
Var1B:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
Var1C:=SMA(Var1B,4,1);
Var1D:=SMA(Var1C,3,1);
Var1E:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
Var1F:=Var17<=25 AND Var18<-95 AND Var1E>20 AND Var1A<-30 AND Var1D<30 AND Var10-CLOSE>=-0.25 AND Var14<22 AND Var15<28 AND Var16>50;
STICKLINE(Var1F,0,45,5,0);
DRAWTEXT(CROSS(Var1F,0.5) AND COUNT(Var1F=1,10)=1,20,'百万导弹');