1.������ָ�깫ʽԴ��
2.当前公式:超级波段王(指标画线公式)
������ָ�깫ʽԴ��
大智慧顶底极品公式
实价线:(C-LLV(L,波段标))/(HHV(H,)-LLV(L,))*,COLORWHITE;
A1:=(2*C+H+L)/4;
A2:=LLV(L,);
A3:=HHV(H,);
A4:=SMA((HHV(H,9)-C)/(HHV(H,9)-LLV(LOW,9))*-,9,1)+;
A5:=(C-LLV(L,9))/(HHV(H,9)- LLV(L,9))*;
A6:=SMA(SMA(A5,3,1),3,1)+;
A7:=A6-A4;
底部区域:IF(A7>,A7-,0),COLORYELLOW;
持有:STICKLINE(REF(底部区域,1)<底部区域,底部区域,REF(底部区域,1),5,0),COLORFFF0;
出货:STICKLINE(REF(底部区域,1)>底部区域,底部区域,REF(底部区域,1),5,0),COLORFF;
中线持有:EMA((A1-A2)/(A3-A2)*,),COLORBLUE;
中线出货:EMA(0.*REF(中线持有,1)+0.*中线持有,2),COLORRED;
STICKLINE(中线持有-中线出货>0,中线持有,中线出货,8,0),COLORBLUE;
STICKLINE(中线持有-中线出货<0,中线持有,中线出货,8,0),COLORRED;
绝密操盘
A:MA(CLOSE,3),ColorFFFF,LINETHICK0;
A1:=(CLOSE+HIGH+LOW)/(3);
B:=EMA(A1,);
B2:=REF(B,1);
MA:=EMA(CLOSE,);
DRAWTEXT((B>B2),ma,'*'),Colorffff;
DRAWTEXT((B<B2),ma,'*'),Coloryellow;
VAR1:=EMA(CLOSE,3);
VAR2:=EMA(CLOSE,8);
MA5:MA(CLOSE,5),Coloryellow;
MA:=EMA(CLOSE,);
STICKLINE(VAR1<MA,h,l,0,0),Colorgreen;
STICKLINE(VAR1<MA,c,o,8,0),Color;
STICKLINE(VAR1<MA,c,o,7,0),ColorE;
STICKLINE(VAR1<MA,c,o,6,0),Color;
STICKLINE(VAR1<MA,c,o,5,0),ColorA;
STICKLINE(VAR1<MA,c,o,4,0),ColorB;
STICKLINE(VAR1<MA,c,o,3,0),ColorC;
STICKLINE(VAR1<MA,c,o,2,0),ColorD;
STICKLINE(VAR1<MA,c,o,1,0),ColorE;
STICKLINE(VAR1>MA,h,l,0,0),Colorfff;
STICKLINE(VAR1>MA,c,o,8,0),Color;
STICKLINE(VAR1>MA,c,o,7,0),Color;
STICKLINE(VAR1>MA,c,o,6,0),ColorA2;
STICKLINE(VAR1>MA,c,o,5,0),ColorB3;
STICKLINE(VAR1>MA,c,o,4,0),ColorC8;
STICKLINE(VAR1>MA,c,o,3,0),ColorD7;
STICKLINE(VAR1>MA,c,o,2,0),ColorEA;
STICKLINE(VAR1>MA,c,o,1,0),ColorFF;
STICKLINE(VAR1<VAR2 AND VAR1>MA,h,l,0,0),Colorff5d;
STICKLINE(VAR1<VAR2 AND VAR1>MA,c,o,8,0),Colorff5d;
STICKLINE(VAR1<VAR2 AND VAR1>MA,c,o,5,0),Colorff;
STICKLINE(VAR1<VAR2 AND VAR1>MA,c,o,2,0),Colorff;
STICKLINE(VAR1>VAR2 AND VAR1<MA,h,l,0,0),Colorffff;
STICKLINE(VAR1>VAR2 AND VAR1<MA,c,o,8,0),Color8EE;
STICKLINE(VAR1>VAR2 AND VAR1<MA,c,o,7,0),Color9DD;
STICKLINE(VAR1>VAR2 AND VAR1<MA,c,o,6,0),ColorBB0;
STICKLINE(VAR1>VAR2 AND VAR1<MA,c,o,5,0),ColorCC6;
STICKLINE(VAR1>VAR2 AND VAR1<MA,c,o,4,0),ColorDD0;
STICKLINE(VAR1>VAR2 AND VAR1<MA,c,o,3,0),ColorEE6;
STICKLINE(VAR1>VAR2 AND VAR1<MA,c,o,2,0),ColorFF9;
STICKLINE(VAR1>VAR2 AND VAR1<MA,c,o,1,0),ColorFFFF;
MA2:=MA(CLOSE,);
MA:=MA(CLOSE,);
VARA:=((AMOUNT)/(VOL))/();
VARB:=((3)*(HIGH)+LOW+OPEN+(2)*(CLOSE))/(7);
VARC:=((SUM(AMOUNT,7))/(VARA))/();
VARD:=DMA(VARB,(VOL)/(VARC));
VARE:=((CLOSE-VARD)/(VARD))*();
VARF:=((CLOSE-LLV(LOW,))/(HHV(HIGH,)-LLV(LOW,)))*();
VARJ:=MA(VARE,)+STD(VARE,);
BIAS:=((CLOSE-MA(CLOSE,))/(MA(CLOSE,)))*();
K:=SMA(VARF,3,1);
顶:=(REF(BIAS,1)>=5) AND CROSS(VARJ,VARE) AND (K>);
DRAWTEXT((REF(BIAS,1)>=5) AND CROSS(VARJ,VARE) AND (K>),h*1.,'风险'),Coloryellow;
买了就赚
Var1:=(CLOSE+HIGH+LOW+OPEN)/4;
Var2:=SUMBARS(VOL,CAPITAL);
Var3:=HHV(Var1,Var2);
Var4:=LLV(Var1,Var2);
Var5:=(2*Var1-Var4-REF(Var4,1))/(Var3-Var4);
Var6:=(Var1-Var4)/(Var3-Var4);
Var7:=IF(Var1<=Var4,Var5*,Var6*);
Var8:=*(EMA(CLOSE,3)-EMA(LOW,))/EMA(LOW,);
Var9:=EMA(Var8,7);
VarA:=(WINNER(*CLOSE/)-WINNER(*CLOSE/))*;
VarB:=(-)*(WINNER(*CLOSE/)-WINNER(*CLOSE/))+5;
波段买入: IF(VarA+VarB<7 AND CROSS(Var8,Var9) AND Var9<- AND Var9<VarB,,),coloryellow , ;
DRAWICON(波段买入=,,1),colorred;
VarC:=HHV(HIGH,9)-LLV(LOW,9);
VarD:=HHV(HIGH,9)-CLOSE;
VarE:=CLOSE-LLV(LOW,9);
VarF:=VarD/VarC*-;
Var:=(CLOSE-LLV(LOW,))/(HHV(HIGH,)-LLV(LOW,))*;
Var:=(2*CLOSE+HIGH+LOW)/4;
Var:=SMA(VarE/VarC*,3,1);
Var:=LLV(LOW,);
Var:=SMA(Var,3,1)-SMA(VarF,9,1);
Var:=IF(Var>,Var-,0);
Var:=HHV(HIGH,);
Var:EMA((Var-Var)/(Var-Var)*,8);
巫修全制: Var, ,coloryellow ;
Var:=EMA(Var,5);
STICKLINE(Var>0 AND Var-Var>=0,,,6,0), ,colorred ;
STICKLINE(Var>0 AND Var-Var<0,,,6,1), ,colorff ;
STICKLINE(Var>0 AND Var-Var>=0,,,6,0),colorred, ;
STICKLINE(Var>0 AND Var-Var<0,,,6,1), ,colorff ;
STICKLINE(Var-Var>0,Var,Var,8,1), ,colorred ;
STICKLINE(Var-Var<0,Var,Var,8,1), ,colorff ;
Var:=REF(LOW,1);
Var:=SMA(ABS(LOW-Var),3,1)/SMA(MAX(LOW-Var,0),3,1)*;
Var:=EMA(IF(CLOSE*1.3,Var*,Var/),3);
Var:=LLV(LOW,);
Var:=HHV(Var,);
Var:=IF(MA(CLOSE,),1,0);
Var:=EMA(IF(LOW<=Var,(Var+Var*2)/2,0),3)/*Var;
Var:=IF(Var>,,Var);
STICKLINE(Var>-,0,Var,3,0), , colorffff;
底部吸筹指标: (CLOSE-MA(CLOSE,))/MA(CLOSE,)*, , colorff;
STICKLINE(CROSS(底部吸筹指标,-),,0,6,0), , colorffffff;
先知: (CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*, , colorffff;
可能放量拉升: IF(CROSS(底部吸筹指标,-),1,0), , colorffffff;
Vark1:=(CLOSE-LLV(LOW,))/(HHV(HIGH,)-LLV(LOW,))*;
Vark2:=REVERSE(Vark1);
Vark3:=SMA(Vark1,3,1);
波段王:=SMA(Vark3,3,1), , COLORRED,linethick2;
波段鬼:=SMA(波段王,2.5,1),coloryellow,linethick2;
趋势线: 3*SMA((CLOSE-LLV(LOW,))/(HHV(HIGH,)-LLV(LOW,))*,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,))/(HHV(HIGH,)-LLV(LOW,))*,5,1),3,1), ,COLORff,linethick2;
卖:IF((CROSS(波段鬼,波段王) or CROSS(波段鬼,趋势线) or CROSS(波段王,趋势线) ) AND 波段鬼>,,0),stick, ,colorffff ,linethick3;
RSV9:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*;
K1:=SMA(RSV9,3,1);
DK1:=K1-REF(K1,1),COLORSTICK;
出手就赢:IF(DK1>7 AND REF(DK1,1)<0 AND (DK1-REF(DK1,1))>9,,0), STICK,COLORyellow;
DRAWICON(出手就赢>0, ,1);
买点准备:IF(趋势线<=,0,), colorff,linethick3;
STICKLINE( CROSS(趋势线,),0,,6,0), COLORff,;
DRAWTEXT(IF(CROSS(趋势线,),,0),,'抄底'),COLORWHITE ;
DRAWTEXT(IF(CROSS(,趋势线),1,0), ,'$备钱'),COLORffcc,;
{ 目前位置:
对当前股票所处的技术位置进行评价,可对是王指无否介入作出辅助判断}
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
DRAWTEXT(REF(J,1)<0 AND J>0,,'短买'),colorred ;
短线获利:STICKLINE(REF(J,1)<0 AND J>0,,0,2,0),colorff;
目前位置:K;
技术低位:;
技术中位:,POINTDOT;
技术高位:;
{ 红买绿卖 n:1 9 m1:1 3 m2:1 3 m3:1 5}
RSV:= (CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*;
FASTK:=SMA(RSV,M1,1);
K:SMA(FASTK,M2,1);
D:SMA(K,M3,1),colorwhite;
A1:=LLV(low,);
A2:=HHV(high,);
A3:=/(A2-A1);
,pointdot,linethick2;
,pointdot,linethick2;
VAR1:=HHV(HIGH,9)-LLV(LOW,9);
VAR2:=HHV(HIGH,9)-CLOSE;
VAR3:=CLOSE-LLV(LOW,9);
VAR4:=VAR2/VAR1*-;
VAR5:=(CLOSE-LLV(LOW,))/(HHV(HIGH,)-LLV(LOW,))*;
VAR6:=(2*CLOSE+HIGH+LOW)/4;
VAR7:=SMA(VAR3/VAR1*,3,1);
VAR8:=LLV(LOW,);
VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);
VAR:=IF(VAR9>,VAR9-,0);
VAR:=HHV(HIGH,);
VAR:=EMA((VAR6-VAR8)/(VAR-VAR8)*,);
VAR:=EMA(0.*REF(VAR,1)+0.*VAR,2);
VAR:=SMA(MAX(CLOSE-REF(CLOSE,1),0)/CLOSE,8,1)/SMA(ABS(INDEXC-REF
(INDEXC,1))/INDEXC,8,1)*-;
VAR:=MA(Var,3);
VAR:=REF(VAR,1);
STICKLINE(VAR-VAR>0,VAR,VAR,8,0),COLORRED;
STICKLINE(VAR-VAR<0,VAR,VAR,8,0),COLORgreen;
生命线:=EMA(VAR,5);
STICKLINE(cross(VAR,VAR) and VAR>,,,8,0),COLORff;
绿灯亮卖:0,colorff;
STICKLINE(cross(VAR,VAR) and VAR>VAR and VAR<,,0,8,0),COLORRED;
红灯亮买:0,colorred;
Var:=INDEXC;
Var:=MA(Var,6);
Var:=MA(Var,);
Var:=MA(Var,);
Var:=MA(Var,);
Var:=MA(Var,);
Var:=Var<REF(Var,1) AND Var<REF(Var,1) AND Var<Var*0.;
Var:=Var>Var*1. AND Var>Var*1.;
Var:=Var>Var*0.;
抄底A:= Var AND Var AND Var AND CLOSE/COST(8)<=0.8 AND CLOSE<OPEN;
{ 抄底1:}STICKLINE(抄底A,,,1,1),colorffff;
抄底1:0,colorffff;
Var2A:=CLOSE/MA(CLOSE,)*<;
Var2B:=CLOSE/MA(CLOSE,)*<;
Var2C:=HIGH>LOW*1.;
Var2D:=Var2C AND COUNT(Var2C,5)>1;
Var2E:=Var2D AND (Var2A OR Var2B);
Var2F:=DMA(EMA(CLOSE,),SUM(VOL,5)/3/CAPITAL);
Var:=(CLOSE-Var2F)/Var2F*+-(REF(HIGH,)/CLOSE-1.)*;
Var:=(CLOSE-REF(CLOSE,5))/CLOSE*<-9;
Var:=WINNER(CLOSE);
Var:=EMA((INDEXC-MA(INDEXC,))/INDEXC*,)<-4.9;
Var:=(MA(VOL,5)-VOL)/CAPITAL*<0.8;
Var:=(VOL-MA(VOL,))/VOL*;
抄底B:= Var AND Var AND Var<0. AND Var AND Var>;
{ 抄底2:}STICKLINE(抄底B,,,3,1),coloryellow;
抄底2:0,coloryellow;
Var:=(REF(CLOSE,1)+REF(CLOSE,2)+REF(CLOSE,3)+REF(CLOSE,4)+REF(CLOSE,5))/5;
Var:=(REF(CLOSE,2)+REF(CLOSE,3)+REF(CLOSE,4)+REF(CLOSE,5)+REF(CLOSE,6))/5;
Var:=(REF(CLOSE,3)+REF(CLOSE,4)+REF(CLOSE,5)+REF(CLOSE,6)+REF(CLOSE,7))/5;
Var:=(REF(CLOSE,4)+REF(CLOSE,5)+REF(CLOSE,6)+REF(CLOSE,7)+REF(CLOSE,8))/5;
Var3A:=(REF(CLOSE,5)+REF(CLOSE,6)+REF(CLOSE,7)+REF(CLOSE,8)+REF(CLOSE,9))/5;
BIAS3:=(CLOSE-MA(CLOSE,))/MA(CLOSE,)*;
抄底C:=(Var/CLOSE>1. OR Var/CLOSE>1. OR Var/CLOSE>1. OR Var/CLOSE>1. OR Var3A/CLOSE>1.) AND BIAS3<=- AND COST()/CLOSE>=1.5 AND CLOSE<OPEN;
{ 抄底3:}STICKLINE(抄底C,,,5,1),colorff;
抄底3:0,colorff;
Var3B:=(CLOSE-MA(CLOSE,))/MA(CLOSE,)*;
抄底D:= FILTER(IF(CROSS(Var3B,-),1,0),8);
{ 抄底4:}STICKLINE(CROSS(Var3B,-),,,8,1),colorwhite;
抄底4:0,colorwhite;
Var3C:=DMA(EMA(CLOSE,),SUM(VOL,5)/2/CAPITAL);
Var3D:=(CLOSE-Var3C)/Var3C*;
抄底E:= REF(Var3D,1)<- AND Var3D>REF(Var3D,1) AND REF(Var3D,1)<REF(Var3D,2) AND Var3D-REF(Var3D,1)>2.5;
{ 抄底5:}STICKLINE(抄底E,,,8,1),colorffcc;
抄底5:0,colorffcc;
Var3E:=*WINNER(REF(CLOSE,1)*1.1)-*WINNER(REF(CLOSE,1)*0.9);
抄底F:= CLOSE>OPEN*1. AND Var3E<;
{ 抄底6:}STICKLINE(抄底F,,,8,1),colorblue;
抄底6:0,colorblue;
当前公式:超级波段王(指标画线公式)
当前公式:超级波段王(指标画线公式)
1. 超级波段王(主图)趋势线:MA(CLOSE,),ColorFFFfff,linethicK2;
生命线:MA(CLOSE,),ColorFfff,linethicK2;
牛熊分界线:MA(CLOSE,),Colorff,linethicK3;
2. TY:=C; HD:=FILTER(BACKSET(FILTER(REF(TY,)=HHV(TY,2*+1),),+1),);
LD:=FILTER(BACKSET(FILTER(REF(TY,)=LLV(TY,2*+1),),+1),);
A:=REF(C,BARSLAST(HD)); B:=REF(C,BARSLAST(LD));
T1:=BARSLAST(HD)BARSLAST(LD) AND NOT(LD);
波浪顶:IF(T1,A,A),COLORFFFF,POINTDOT,LINETHICK1;
波浪底:IF(T2,B,B),COLORFF,POINTDOT,LINETHICK1;
3. Var3:=LLV(最高价,); Var4:=*(收盘价-Var3)/Var3;
Var5:=(收盘价-LLV(最低价,))/(HHV(最高价,)-LLV(最低价,))*;
Var6:=(收盘价-LLV(收盘价,))/(HHV(收盘价,)-LLV(收盘价,))*;
Var7:=0; Var8:=MA(HHV(收盘价-REF(收盘价,1),0),)/MA(ABS(收盘价-REF(收盘价,1)),7)*;
Var9:=MA(HHV(收盘价,),)/MA(ABS(收盘价,),)*;
... (省略部分代码以提升阅读体验)
4. 买点1:=Var; 买点2:=(Var+Var+Var+Var);
卖点1:=(Var+Var+Var+Var),linethick2;
Var:=买点1 AND VarF AND VarC AND Var AND Var4<0 AND Var5=0 AND Var6=0 AND Var<(-);
5. VAR1:=MA(收盘价,5); VAR2:=MA(收盘价,); VAR:=MA(收盘价,);
VARB1:=SUM(收盘价*成交量*,)/SUM(成交量*,); VARC1:=INTPART(VARB1*)/;
VARD1:=EMA(收盘价,5)-EMA(收盘价,); VARE1:=EMA(VARD1,9);
... (省略部分代码以提升阅读体验)
6. 超级波段王(副图){ 中短线}{ 买入点、卖出点判断的式源ms dos 3.3 源码精度极高!}
Var3:=(CLOSE-MA(CLOSE,码波6))/MA(CLOSE,6)*; Var4:=(CLOSE-MA(CLOSE,))/MA(CLOSE,)*;
Var5:=(CLOSE-MA(CLOSE,))/MA(CLOSE,)*; Var6:=(Var3+Var4+Var5)/3;
Var7:=EMA(Var6,5); 指标: EMA(EMA(Var3,5),5)*3, COLORSTICK;
7. Var8:=IF(Var6<=-,,0); Var9:=HHV(Var8,);
STICKLINE(Var8=,,,5,0),COLORFF;
VarA:=IF(Var9 AND CROSS(MA(CLOSE,3),MA(CLOSE,5)),,0);
K:EMA(Var7,5)*2, , COLORffff; D:EMA(K,5), , COLORWHITE;
J:K*3-D*2, ,COLORYELLOW;
8. VarB:=BETWEEN(CLOSE,MA(CLOSE,3),MA(CLOSE,5)) AND J>;
换手: VOL/CAPITAL*, , COLORYELLOW; 成交〖万手〗: VOL/, ,COLORWHITE;
DRAWTEXT(Var8= AND FILTER(Var8=,5),-{ },'近底部'),linethick1,COLORYELLOW;
STICKLINE(Var8= AND FILTER(Var8=,5),-1.6{ },-,5,0),coloryellow;
9. DRAWTEXT(VarA=,,'底部'),linethick1,colorwhite;
STICKLINE((VarA=),0,,5,0),colorwhite;
VARC:=(ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3));
VARD:=(ZIG(3,5)=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)>=REF(ZIG(3,5),3));
... (省略部分代码以提升阅读体验)
以上是对原公式部分内容的修改润色,包括修正了一些错误,段王改机宝源码如时态不一致的指标源码怎么导入360变量命名,以及提升代码的公式可读性和条理性。注意,源码这里仅展示了部分代码的函数改写,完整的波段标改写应涵盖所有代码部分。
王指无