杨百万系列指标之百万冲浪
-
相关简介:参数:N 7 1 20 1,N1 21 5 30 1 Var1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100; Var2:=REVERSE(Var1); Var3:=SMA(Var1,3,1); K: SMA(Var3,3,1); D: SMA(K,4,1); Var4:=CROSS(D,K) AND D80; STICKLINE(Var4,0,110,7,0); Var5:=1/SUM(1-CLOSE/REF(CLOSE,1),n1)/
-
文章来源:股海网作者:股海网发布时间:2015-01-16浏览次数:
参数:N 7 1 20 1,N1 21 5 30 1
Var1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
Var2:=REVERSE(Var1);
Var3:=SMA(Var1,3,1);
K: SMA(Var3,3,1);
D: SMA(K,4,1);
Var4:=CROSS(D,K) AND D>80;
STICKLINE(Var4,0,110,7,0);
Var5:=1/SUM(1-CLOSE/REF(CLOSE,1),n1)/100*VOL/WINNER(CLOSE)*OPEN;
A1: IF(Var5>100,100,IF(Var5<-100,-100,Var5));
Var6:=COUNT(CLOSE>OPEN,20);
Var7:=COUNT(CLOSE<OPEN,20);
Var8:=IF(Var6>Var7,CLOSE,HIGH);
Var9:=EMA(Var8,13);
VarA:=CLOSE-Var9;
VarB:=EMA(VarA,21);
VarC:=(HHV(CLOSE,n)-LLV(CLOSE,n))/SUM(ABS(CLOSE-REF(CLOSE,1)),n);
VarD:=VarC*(-1);
IF(CROSS(VarB,VarC),A1+100,A1);
IF(Var5<100 AND VarA>0,-100,A1);
STICKLINE(Var5>100,0,A1,2,0);
STICKLINE(Var5<-100,0,A1,2,0);
VarE:=MA(WINNER(CLOSE),18)*100;
CROSS(VarE,2.5)*(-95);
VarF:=REF(LOW,1)*0.9;
Var10:=LOW*0.9;
Var11:=(Var10*VOL+VarF*(CAPITAL-VOL))/CAPITAL;
Var12:=EMA(Var11,30);
Var13:=CLOSE-REF(CLOSE,1);
Var14:=MAX(Var13,0);
Var15:=ABS(Var13);
Var16:=SMA(Var14,7,1)/SMA(Var15,7,1)*100;
Var17:=SMA(Var14,13,1)/SMA(Var15,13,1)*100;
Var18:=BARSCOUNT(CLOSE);
Var19:=SMA(MAX(Var13,0),6,1)/SMA(ABS(Var13),6,1)*100;
Var1A:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;
Var1B:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
Var1C:=SMA((SMA(Var1B,4,1)-50)*2,3,1);
Var1D:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
Var1E:=SMA(Var1D,4,1);
Var1F:=SMA(Var1E,3,1);
Var20:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
Var21:=Var19<=25 AND Var1A<-95 AND Var20>20 AND Var1C<-30 AND Var1F<30 AND Var12-CLOSE>=-0.25 AND Var16<22 AND Var17<28 AND Var18>50;
STICKLINE(Var21,0,75,3,0);
DRAWTEXT(CROSS(Var21,0.5) AND COUNT(Var21=1,10)=1,20,'百万导弹');