九毛八公式指标
公式模块:
抄底逃顶公式如何修改为选股预警公式,请老师帮忙
如何到抄底,逃顶,放量,等信号做成可以用条件选股的方式来直接选到出了这些信号的个股,以提高看盘效果,请老师帮忙,小弟先谢谢老师了,
公式源码:
Var1:=(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, , linethick1,COLORRED;
段: Var4, , linethick1,COLORYELLOW;
Var5:=crOSS(Var2,Var3) AND Var3<25;
STICKLINE(Var5,0,Var3+5,1,1), , linethick1,COLORRED;
Var6:=CROSS(Var3,Var4) AND Var3<25;
Var7:=Var6 AND vol>REF(VOL,1)*2 AND VOL>REF(MA(VOL,5),1)*2;
STICKLINE(Var6,0,Var3+5,1,1), , linethick1,COLORWHITE;
DRAWTEXT(Var6 AND COUNT(Var6,10)=1,Var3+15,'抄底'), , linethick1,COLORWHITE;
STICKLINE(Var7,0,Var3+5,1,1), , linethick1,COLORRED;
DRAWTEXT(Var7 AND COUNT(Var7,10)=1,Var3+5,'放量'), , linethick1,COLORRED;
Var8:=CROSS(Var2,Var3) AND Var3>80 AND Var3>Var4;
STICKLINE(Var8 AND COUNT(Var8,5)=1,Var3-5,100,1,1), , linethick1,COLORGREEN;
Var9:=CROSS(Var4,Var3) AND Var3>80;
STICKLINE(Var9,Var3-5,100,1,1), , linethick1,COLORYELLOW;
DRAWTEXT(Var9 AND COUNT(Var9,10)=1,Var3-15,'逃顶'), , linethick1,COLORYELLOW;
VAR1:=(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);
VAR6:=CROSS(VAR3,VAR4) AND VAR3<25;
抄底:VAR6 AND COUNT(VAR6,10)=1;
=====================
VAR1:=(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);
VAR8:=CROSS(VAR2,VAR3) AND VAR3>80 AND VAR3>VAR4;
VAR9:=CROSS(VAR4,VAR3) AND VAR3>80;
逃顶:VAR9 AND COUNT(VAR9,10)=1;