|
不错的中线公式
操盘助手
n:=7;
Var1:=EMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,25)-LLV(LOW,10))*4,n);
多: STICKLINE(Var1>REF(Var1,1),Var1,MA(Var1,3),6,0), , COLORRED;
空: STICKLINE(Var1< REF(Var1,1),Var1,EMA(Var1,3),6,1), , COLORGREEN;
Var2:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
Var3:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
Var4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
Var5:=(Var2+2*Var3+3*Var4)/6;
Var6:=MA(Var5,3);
Var7:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
Var8:=SMA(Var7,3,1);
Var9:=SMA(Var8,3,1);
VarA:=3*Var8-2*Var9;
关注: STICKLINE(CROSS(VarA,Var9) AND COUNT(Var6<-9,2)>=1,0.01,1.8,7,0), , COLORCYAN;
VarB:=REF(LOW,1)*0.9;
VarC:=LOW*0.9;
VarD:=(VarC*VOL+VarB*(CAPITAL-VOL))/CAPITAL;
VarE:=EMA(VarD,30);
VarF:=CLOSE-REF(CLOSE,1);
Var10:=MAX(VarF,0);
Var11:=ABS(VarF);
Var12:=SMA(Var10,7,1)/SMA(Var11,7,1)*100;
Var13:=SMA(Var10,13,1)/SMA(Var11,13,1)*100;
Var14:=SMA(MAX(VarF,0),6,1)/SMA(ABS(VarF),6,1)*100;
Var15:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;
Var16:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
Var17:=SMA((SMA(Var16,4,1)-50)*2,3,1);
Var18:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
Var19:=SMA(Var18,4,1);
Var1A:=SMA(Var19,3,1);
Var1B:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
Var1C:=Var14<=25 AND Var15<-95 AND Var1B>20 AND Var17<-30 AND Var1A<30 AND VarE-CLOSE>=-0.25 AND Var12<22 AND Var13<28;
※低买: STICKLINE(Var1C,0,1,6,0), , COLORRED;
黄空框持股: STICKLINE(Var1>3,3,3.5,8,1), , COLORYELLOW;
※休息: STICKLINE(CROSS(3,Var1),1.5,3.5,4,0), , COLORMAGENTA;
Var1D:=CROSS(MA(INDEXV,31),MA(INDEXV,2));
Var1E:=LLV(INDEXL,60);
Var1F:=IF(INDEXC>Var1E*1.15,Var1D,0);
红色空框大盘见顶: STICKLINE(Var1F>0.2,3.1,3.4,40,1), , COLORRED;
Var20:=CROSS(MA(INDEXV,14),MA(INDEXV,51));
Var21:=HHV(INDEXH,125);
Var22:=IF(INDEXC< Var21,Var20,0);
Var23:=(INDEXC-REF(INDEXC,26))/REF(INDEXC,26)*100;
绿色空框大盘见底: STICKLINE(Var23<-9.5 AND Var22>0.2,3.11,3.4,40,1), , COLORGREEN;
0, , ;
DRAWTEXT(DATE=1021216,1,'当大盘安全时买卖振幅大的股票,短线进出,如市场成交量低迷首选小盘,小市值的'), , ;
注意: 3, ,COLORWHITE;
卖出: 3.5, , COLORMAGENTA;
STICKLINE(Var1>3,3,3.5,8,1), , COLORYELLOW; |
|