|
王国强波段流星指标源码,波段流星公式源码2010-05-20 2:24VAR1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1);
VAR4:=SMA(VAR3,3,1);
波: VAR3;
段: VAR4;
VAR6:=CROSS(VAR3,VAR4) AND VAR3<20;
DRAWTEXT(FILTER(VAR6,10)=1,40,'底'),LINETHICK3 ;
STICKLINE(FILTER(VAR6,10)=1,0,30,10,0),COLORGREEN ;
VAR7:=CROSS(VAR4,VAR3) AND VAR3>80;
STICKLINE(FILTER(VAR7,5)=1,80,100,10,0),COLORYELLOW ;
DRAWTEXT(FILTER(VAR7,5)=1,70,'顶'),LINETHICK3 ,COLORYELLOW;
VAR8:=CROSS(VAR2,VAR3) AND VAR3>80 AND VAR3>VAR4;
STICKLINE(VAR8,85,100,10,0) ;
rsv:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100;
k89:=SMA(rsv,30,1);
d89:=SMA(k89,3,1);
长k:stickline(d89>=ref(d89,1),d89,ref(d89,1),8,0),colorwhite;
长d:stickline(d89<ref(d89,1),d89,ref(d89,1),8,0),colorff9900;
VAbR1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
VAbR2:=SMA(VAbR1,9,1)+100;
VAbR3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAbR4:=SMA(VAbR3,3,1);
VAbR5:=SMA(VAbR4,3,1)+100;
趋势线: 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-
2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),
color00ff00,linethick1;
{wn万能超短买卖}
vaar1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
Vaar2:=REF(Vaar1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
Vaar3:=REF(Vaar2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
Vaar4:=REF(Vaar3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
Vaar5:=REF(Vaar4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
Vaar6:=REF(Vaar5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
Vaar7:=REF(Vaar6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
Vaar8:=REF(Vaar7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
Vaar9:=REF(Vaar8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VaarA:=REF(Vaar9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VaarB:=REF(VaarA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VaarC:=REF(VaarB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VaarD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);
VaarE:=REF(VaarD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VaarF:=REF(VaarE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
Vaar10:=REF(VaarF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
Vaar11:=REF(Vaar10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
Vaar12:=REF(Vaar11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
Vaar13:=REF(Vaar12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
Vaar14:=REF(Vaar13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
Vaar15:=REF(Vaar14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
Vaar16:=REF(Vaar15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
Vaar17:=REF(Vaar16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
Vaar18:=REF(Vaar17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
Vaar19:=REF(VaarD OR VaarE OR VaarF OR Vaar10 OR Vaar11 OR Vaar12 OR Vaar13 OR
Vaar14 OR Vaar15 OR Vaar16 OR Vaar17 OR Vaar18,1) AND Vaar1;
drawtext(Vaar19,40,'B'),colorwhite;
Vaar1A:=REF(Vaar1 OR Vaar2 OR Vaar3 OR Vaar4 OR Vaar5 OR Vaar6 OR Vaar7 OR
Vaar8 OR Vaar9 OR VaarA OR VaarB OR VaarC,1) AND VaarD;
drawtext(Vaar1A,100,'S'),coloryellow;
0,coloraaaaaa;
20,pointdot,coloraaaaaa;
50,coloraaaaaa;
80,pointdot,coloraaaaaa;
100,coloraaaaaa;
|
|