九毛八公式指标
公式模块:
(1)麻烦老师写个有绿变红的选股公式。
(2)红方块比前一个方块.大一倍以上的选股公式。
Var1:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
Var2:=REVERSE(Var1);
Var3:=SMA(Var1,M1,1);
Var4:=SMA(Var2,M1,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),COLORRED;
VarB:=MA(Var7,3);
STICKLINE((-1)*Var8>VarB,(-1)*Var8,(-1)*Var7,VarA,1),COLOR00CCCC;
STICKLINE(Var8>=REF(Var7,1),(-1)*Var8,(-1)*Var7,VarA,1),COLOR00FF00;
FORCAST((-1)*Var7,21)
;
-100;
0;
-80,COLOR00CCCC;
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;
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;
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;
xg:ref(Var8>=REF(Var7,1),1)and Var8<REF(Var7,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;
xg2:Var8<REF(Var7,1)and (Var8-Var7)/ref((Var8-Var7),1)>2;