九毛八公式指标
公式模块:
请老师 把 百万踏浪 做 几 个 选股公式 谢谢老师 1(底部放量+短买+满仓买入) 2(短买+满仓买入) 3(满仓买入)
VARZ:=(H+L+C)/3;
VAR2Z:=(C-LLV(L,100))/(HHV(H,100)-LLV(L,100))*200;
VAR3Z:=SMA(VAR2Z,3,1);
线:=SMA(VAR3Z,3,1);
中线:=EMA((VARZ-LLV(VARZ,60))/(HHV(VARZ,60)-LLV(VARZ,60)),2)*100;
HAN:=DATE<1130918;
STICKLINE(线<30 AND 中线<15,0,100,25,0)*HAN,COLOR990060;
STICKLINE(线<30 AND 中线<15,0,70,25,0)*HAN,COLOR990062;
STICKLINE(线<30 AND 中线<15,0,40,25,0)*HAN,COLOR990065;
STICKLINE(线<30 AND 中线<15,0,20,25,0)*HAN,COLOR990069;
VAR3:=(2*CLOSE+HIGH+LOW)/4;
VAR4:=LLV(LOW,34);
VAR5:=HHV(HIGH,34);
趋势:=EMA((VAR3-VAR4)/(VAR5-VAR4)*100,13);
人气:=EMA(0.667*REF(趋势,1)+0.333*趋势,2);
导弹:=IF(crOSS(趋势,人气) AND 人气<5 AND 趋势<5,30,0);
手:=IF(CROSS(人气,趋势) AND 人气>85,80,0);
低吸:= IF(CROSS(趋势,人气) AND 趋势<10,20,0);
高抛:= IF(CROSS(人气,趋势) AND 人气>96,80,100);
VAR26:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
VAR28:=SMA(VAR26,3,1);
波王:= SMA(VAR28,3,1);
波鬼:= SMA(波王,3,1);
底部买进:= (波王<10 AND 波鬼<10 AND 波王>REF(波王,1) ) ;
底部:=FILTER(底部买进,4);
进:=IF(CROSS(人气,趋势) AND 人气>55 AND 趋势>55,50,100);
VAR1:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;
大顶:=STICKLINE(VAR1>20 AND FILTER(VAR1<REF(VAR1,1),5),VAR1+5,0,7,0);
VAR2:=HHV(VAR1>20,10);
危险:= STICKLINE(VAR2 AND CROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+2*STD(CLOSE,20)),VAR1+10,0,4,0);
注意止损:=STICKLINE(VAR2 AND FILTER(VAR1< REF(VAR1,1),6) AND CROSS(MA(CLOSE,5),MA(CLOSE,2)),VAR1+6,0,3,0);
大底:=STICKLINE(VAR1<-20 AND FILTER(VAR1> REF(VAR1,1),5),VAR1-5,0,7,0);
减:=IF(CROSS(波鬼,波王) AND 波鬼>80,85,0);
短顶:=STICKLINE(VAR1>9 AND FILTER(VAR1<REF(VAR1,1) OR 进=50,5) ,60,85,2,0);
VAR1X:=REF(CLOSE,1);
江波: SMA(MAX(CLOSE-VAR1X,0),5,1)/SMA(ABS(CLOSE-VAR1X),5,1)*100*HAN,COLORGREEN,LINETHICK2;
VAR2X:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR3X:=SMA(VAR2X,4,1);
VAR4X:=SMA(VAR3X,2,1);
VAR5X:=SMA(VAR4X,2,1);
冯: 3*VAR4X*HAN-2*VAR5X, COLORMAGENTA,LINETHICK2;
江: VAR5X*HAN, COLORYELLOW ,LINETHICK2;
波: VAR4X*HAN, COLORRED,LINETHICK2;
VAR7:=CROSS(VAR4X,VAR5X) AND VAR4X<35;
VAR8:=VAR7 AND vol>REF(VOL,1)*2 AND VOL>REF(MA(VOL,5),1)*2;
QW:=CROSS(冯,波) AND 35<波 AND 波<46;
STICKLINE(FILTER(QW,10)=1,0,VAR4X,2.5,0)*HAN,COLORFF11FF;
STICKLINE(FILTER(QW,10)=1,0,VAR4X,2,0)*HAN,COLORFF33FF;
STICKLINE(FILTER(QW,10)=1,0,VAR4X,0.9,0)*HAN,COLORFF77FF;
STICKLINE(FILTER(QW,10)=1,0,VAR4X,0.3,0)*HAN,COLORFF99FF;
DRAWTEXT(FILTER(QW,10),30,'...短买')*HAN,COLORRED;
VAR01:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
VAR02:=SMA(VAR01,3,1);
VAR03:=SMA(VAR02,3,1);
VAR04:=SMA(VAR03,3,1);
波0:= VAR03;
段0:= VAR04;
VAR06:=CROSS(VAR03,VAR04) AND VAR03<25;
VAR07:=VAR06 AND VOL>REF(VOL,1)*2 AND VOL>REF(MA(VOL,5),1)*2;
ASD:=STICKLINE(VAR8 OR VAR07,0,20,6,0);
STICKLINE(ASD,0,36,3,0 )*HAN,COLOR990000;
STICKLINE(ASD,0,36,2.7,0 )*HAN,COLORCC0000;
STICKLINE(ASD,0,36,2.1,0 )*HAN,COLORFF4400;
STICKLINE(ASD,0,36,1.2,0 )*HAN,COLORFF8800;
STICKLINE(ASD,0,36,0.4,0 )*HAN,COLORFFCC00;
DRAWTEXT(FILTER(ASD,15),33,'..底部放量')*HAN,COLORGREEN;
VARA:=CROSS(VAR5X,VAR4X) AND VAR4X>83;
V3:=100-(100-3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))
*100,20,1)+2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))
*100,20,1),15,1));
V4:=100-(100-3*SMA((O-LLV(L,55))/(HHV(H,55)-LLV(L,55))
*100,20,1)+2*SMA(SMA((O-LLV(L,55))/(HHV(H,55)-LLV(L,55))
*100,20,1),15,1));
T7:=V3>REF(V4,1) AND V>REF(V,1) AND C>REF(C,1);
DRAWTEXT(T7 AND COUNT(T7,30)=1,20,'..。满仓')*HAN,COLORRED;
DRAWTEXT(T7 AND COUNT(T7,30)=1,15,'..。买入!')*HAN,COLORRED;
STICKLINE(T7 AND COUNT(T7,30)=1,0,30,3.2,0)*HAN,COLOR0077FF;
STICKLINE(T7 AND COUNT(T7,30)=1,0,30,2.5,0)*HAN,COLOR0099FF;
STICKLINE(T7 AND COUNT(T7,30)=1,0,30,1.9,0)*HAN,COLOR00BBFF;
STICKLINE(T7 AND COUNT(T7,30)=1,0,30,0.4,0)*HAN,COLOR00FFFF;
江A:=STICKLINE(底部=1 OR 导弹=30 OR 大底=1 OR 低吸=20 , 0,25,1,0)*HAN;
江AA:=STICKLINE(江A=1 AND REF(江波,1)<19 , 0,25,1,0);
风:=STICKLINE(江AA=1 , 0,25,1,0);
部A:=FILTER(风,18);
风BA:=STICKLINE(部A,-2,15,3,0),COLORLIGREEN ;
底抄:=STICKLINE((VAR7),-2,江,1,0);
部AA:=FILTER(底抄,10);
底抄A:=STICKLINE((部AA),0,江,1,0);
STICKLINE((部AA),0,江,3.1,0)*HAN,COLOR777777;
STICKLINE((部AA),0,江,2.6,0)*HAN,COLOR999999;
STICKLINE((部AA),0,江,2,0)*HAN,COLORBBBBBB;
STICKLINE((部AA),0,江,1.2,0)*HAN,COLORDDDDDD;
STICKLINE((部AA),0,江,0.4,0*HAN),COLORFFFFFF;
趋势线:= 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);
见底信号:= 3;
买入:= IF(CROSS(趋势线,见底信号),100,0);
趋势线1:= 3*SMA((CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100,5,1),3,1);
见底信号1:= 3;
买入1:= IF(CROSS(趋势线1,见底信号1),100,0);
趋势线2:= 3*SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,5,1),3,1);
见底信号2:= 3;
买入2:= IF(CROSS(趋势线2,见底信号2),100,0);
趋势1:=V3;
顶入:=STICKLINE(买入 AND 买入1 AND 买入2 AND 趋势1<10,25,80,8,0);
小:=IF(COUNT(( 趋势1<0),5)=3, -25,0) ;
顶顶A:=STICKLINE(顶入 OR 小,25,80,8,0);
顶部:=FILTER(顶顶A,25);
STICKLINE(顶部,0,65,3 ,0)*HAN,COLOR000077;
STICKLINE(顶部,0,65,2.5,0)*HAN,COLOR000099;
STICKLINE(顶部,0,65,1.9,0)*HAN,COLOR0000BB;
STICKLINE(顶部,0,65,0.4,0)*HAN,COLOR0000FF;
DRAWTEXT(FILTER(顶部,15),58,'...测量大底')*HAN,COLORGREEN;
VAR9:=CROSS(波,冯) AND VAR4X>60 ;
SD:=STICKLINE(VAR9 AND COUNT(VAR9,5)=1,0,100,1,1);
VARAM:=CROSS(VAR5X,VAR4X) AND VAR4X>70;
AD:=STICKLINE(VARAM,-5,100,1,1);
空:=STICKLINE(手=80 OR 注意止损=1 OR 危险=1 OR 大顶=1 OR AD , 75,98,1.5,0) ;
部:=FILTER(空,12);
买:8,POINTDOT,COLORLIBLUE;
入:0,COLORRED,LINETHICK2;
危:99,POINTDOT,COLORGREEN;
险:89,POINTDOT,COLORRED;
G:8.3,POINTDOT,COLORLIBLUE;
J:99.3,POINTDOT,COLORGREEN;
F:89.3,POINTDOT,COLORRED;
D:80.3,POINTDOT;
VAR2X:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR3X:=SMA(VAR2X,4,1);
VAR4X:=SMA(VAR3X,2,1);
VAR5X:=SMA(VAR4X,2,1);
冯:=3*VAR4X-2*VAR5X;
江:=VAR5X;
波:=VAR4X;
VAR7:=CROSS(VAR4X,VAR5X) AND VAR4X<35;
VAR8:=VAR7 AND VOL>REF(VOL,1)*2 AND VOL>REF(MA(VOL,5),1)*2;
QW:=CROSS(冯,波) AND 35<波 AND 波<46;
AA:=FILTER(QW,10);
VAR01:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
VAR02:=SMA(VAR01,3,1);
VAR03:=SMA(VAR02,3,1);
VAR04:=SMA(VAR03,3,1);
波0:= VAR03;
段0:= VAR04;
VAR06:=CROSS(VAR03,VAR04) AND VAR03<25;
VAR07:=VAR06 AND VOL>REF(VOL,1)*2 AND VOL>REF(MA(VOL,5),1)*2;
ASD:=VAR8 OR VAR07;
BB:=FILTER(ASD,15);
V3:=100-(100-3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))
*100,20,1)+2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))
*100,20,1),15,1));
V4:=100-(100-3*SMA((O-LLV(L,55))/(HHV(H,55)-LLV(L,55))
*100,20,1)+2*SMA(SMA((O-LLV(L,55))/(HHV(H,55)-LLV(L,55))
*100,20,1),15,1));
T7:=V3>REF(V4,1) AND V>REF(V,1) AND C>REF(C,1);
CC:=T7 AND COUNT(T7,30)=1;
AA AND BB AND CC;
===========
VAR2X:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR3X:=SMA(VAR2X,4,1);
VAR4X:=SMA(VAR3X,2,1);
VAR5X:=SMA(VAR4X,2,1);
冯:=3*VAR4X-2*VAR5X;
江:=VAR5X;
波:=VAR4X;
VAR7:=CROSS(VAR4X,VAR5X) AND VAR4X<35;
VAR8:=VAR7 AND VOL>REF(VOL,1)*2 AND VOL>REF(MA(VOL,5),1)*2;
QW:=CROSS(冯,波) AND 35<波 AND 波<46;
AA:=FILTER(QW,10);
V3:=100-(100-3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))
*100,20,1)+2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))
*100,20,1),15,1));
V4:=100-(100-3*SMA((O-LLV(L,55))/(HHV(H,55)-LLV(L,55))
*100,20,1)+2*SMA(SMA((O-LLV(L,55))/(HHV(H,55)-LLV(L,55))
*100,20,1),15,1));
T7:=V3>REF(V4,1) AND V>REF(V,1) AND C>REF(C,1);
CC:=T7 AND COUNT(T7,30)=1;
AA AND CC;
================
V3:=100-(100-3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))
*100,20,1)+2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))
*100,20,1),15,1));
V4:=100-(100-3*SMA((O-LLV(L,55))/(HHV(H,55)-LLV(L,55))
*100,20,1)+2*SMA(SMA((O-LLV(L,55))/(HHV(H,55)-LLV(L,55))
*100,20,1),15,1));
T7:=V3>REF(V4,1) AND V>REF(V,1) AND C>REF(C,1);
T7 AND COUNT(T7,30)=1;