自己在用的VOL(飞狐)
<p>VOL指标是我最爱,几经修改,融合了很多高手的理念,现全盘奉献出来,指标只是一种股价轨迹,参考下还可以,希望对同学们带来方便和帮助。指标叠加了 KDJ和一些抄底信号,我命名为V神,因为VOL是我的最爱!其它版本不再提供,有心人可修改过来!</p><p>换手:if(CAPITAL>0,v/CAPITAL*100,v),LINETHICK,PRECISION2;<br />
hs:=换手;<br />
k:=sma((c-llv(l,9))/(hhv(h,9)-llv(l,9))*100,3,1),COLOR00FF00,LINETHICK0,PRECISION2;<br />
d:=sma(k,3,1),COLORFFFFFF,LINETHICK0,PRECISION2;<br />
j:=3*k-2*d;<br />
hlp:=sma(WINNER(c)*100,3,1),COLOR2588FF,LINETHICK0,PRECISION2;</p>
<p> </p>
<p>nn:=SYSPARAM(3)-SYSPARAM(2)+1;<br />
hh:=HHV(v,nn);<br />
ll:=LLV(v,nn);<br />
最高:=hh;<br />
最低:=ll;<br />
RCC:=最高*0.9-(最高-最低)*0.5;<br />
rhl:=rcc;<br />
HLMAX:=MAX(最高,最低);<br />
HLMIN:=MIN(最高,最低);<br />
HLMN1:=(HLMAX+HLMIN)/2;<br />
HLMN2:=HLMAX-HLMIN;<br />
HLMN3:=(100-0)/2*1.3;<br />
HLMN4:=(100-0)/1*1.3;<br />
限制显示K线面积:=RANGE(BARPOS,SYSPARAM(3)-250,SYSPARAM(3)+1);<br />
FILLRGN(限制显示K线面积,((100-HLMN3)*HLMN2/HLMN4+HLMN1)+rhl,((80-HLMN3)*HLMN2 /HLMN4+HLMN1)+rhl),color333333;<br />
FILLRGN(限制显示K线面积,((0-HLMN3)*HLMN2/HLMN4+HLMN1)+rhl,((25-HLMN3)*HLMN2 /HLMN4+HLMN1)+rhl),color333333;<br />
FILLRGN(限制显示K线面积 and hlp>80,((hlp-HLMN3)*HLMN2/HLMN4+HLMN1)+rhl,((80-HLMN3)*HLMN2/HLMN4+HLMN1)+rhl),Color9A5791;<br />
PARTLINE(限制显示K线面积,((25-HLMN3)*HLMN2/HLMN4+HLMN1)+rhl),COLOR888888;<br />
PARTLINE(限制显示K线面积,((50-HLMN3)*HLMN2/HLMN4+HLMN1)+rhl),COLOR888888;<br />
PARTLINE(限制显示K线面积,((80-HLMN3)*HLMN2/HLMN4+HLMN1)+rhl),COLOR888888;</p>
<p>{最佳买入时机}<br />
LC:=REF(CLOSE,1);<br />
RSI5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(ABS((CLOSE - LC)),5,1)) * 100);<br />
TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);<br />
HD:=(HIGH - REF(HIGH,1));<br />
LD:=(REF(LOW,1) - LOW);<br />
DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),10);<br />
DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),10);<br />
PDI:=((DMP * 100) / TR1);<br />
MDI:=((DMM * 100) / TR1);<br />
ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);<br />
AV:=(RSI5 + ADX);<br />
DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);<br />
WR10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10)));<br />
NEWVOL:=(RSI5 - WR10);<br />
最佳买入:=(AV + NEWVOL);<br />
STICKLINE(CROSS(最佳买入,0),((85-HLMN3)*HLMN2/HLMN4+HLMN1)+rhl,((100- HLMN3)*HLMN2/HLMN4+HLMN1)+rhl,6,0),COLORRED;</p>
<p>{百万测底}<br />
趋势线:= 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),LINETHICK2,COLORRED,PRECISION0;<br />
准备:IF(趋势线<=5,((65-HLMN3)*HLMN2/HLMN4+HLMN1)+rhl,((100-HLMN3)*HLMN2 /HLMN4+HLMN1)+rhl),COLORffffff;<br />
VARA2:=LLV(MA(LOW,3),3);<br />
VARA3:=HHV(MA(HIGH,3),3);<br />
KK:=EMA((CLOSE-VARA2)/(VARA3-VARA2)*100,4)*0.7+20,COLORFF00FF,LINETHICK2;<br />
DD:=EMA(0.667*REF(KK,1)+0.333*KK,2)*0.7+20,COLORFFFF00;<br />
KK2:=EMA(ABS(VARA2-CLOSE)/ABS(VARA2-VARA3)*100,4)*0.7+20;<br />
DD2:=EMA(0.667*REF(KK2,1)+0.333*KK2,2)*0.7+20;<br />
提示:IF((KK2-KK)*2.5>35,((75-HLMN3)*HLMN2/HLMN4+HLMN1)+rhl,((100- HLMN3)*HLMN2/HLMN4+HLMN1)+rhl),LINETHICK2,COLORff00ff,PRECISION0;</p>
<p><br />
Xxjj:=LLV("kdj.j",2)=LLV("kdj.j",8);<br />
时机: IF(CROSS("kdj.j",1) and ref(xxjj,1),((90-HLMN3)*HLMN2/HLMN4+HLMN1)+rhl,((100-HLMN3)*HLMN2/HLMN4+HLMN1)+rhl),LINETHICK2,COLORYELLOW,PRECISION0;<br />
地量买点:=CROSS(0.9,1/VOL*1000>0.01 AND "KDJ.J"<0);<br />
STICKLINE(地量买点,((0-HLMN3)*HLMN2/HLMN4+HLMN1)+rhl,((20-HLMN3)*HLMN2 /HLMN4+HLMN1)+rhl,9,0),COLORff0080,PRECISION0;</p>
<p>SJ:=if(CURRENTTIME>93000 and CURRENTTIME<150000,<br />
if(CURRENTTIME<113000,(TIMETOT0(CURRENTTIME)-34200)/60,<br />
if(CURRENTTIME>130000,(TIMETOT0(CURRENTTIME)-39600)/60,120)),240);<br />
预测额:IF(BARSTATUS=2,(v/SJ*240),v),COLOR00FFFF,LINETHICK;<br />
STICKLINE(BARSTATUS=2,0,预测额,9,1),COLOREEEEFF,LINEDOT;</p>
<p>地量:=IF(CAPITAL=0,AMOUNT=LLV(AMOUNT,34),换手<MA(换手,SUMBARS(V,CAPITAL))/3) ,LINETHICK0;<br />
极地量:if(换手<MA(换手,SUMBARS(VOL,CAPITAL))/4,1,0),LINETHICK0;<br />
连续地量:=COUNT(地量,3)>=3 AND COUNT(极地量,3)>=1;<br />
一字涨板:=c>=ref(c,1)*1.01 and c=o and h=l;一字跌板:=c*1.1>=ref(c,1) and c=o and h=l;<br />
无一字板:=not(一字涨板 or 一字跌板);<br />
STICKLINE(地量 and 无一字板 and (c-ma(c,5))/ma(c,5)*100<0,v,0,8,0),colorff0080;<br />
STICKLINE(地量 and 无一字板 and (c-ma(c,5))/ma(c,5)*100<0,v,0,8,0),color00ffff;<br />
STICKLINE(c>o,v,0,6,1),colorred;<br />
STICKLINE(c<=o,v,0,6,1),colorfff333;<br />
AA:=VOL>=REF(V,1)*1.91 and C>REF(C,1);<br />
AA1:=VOL<REF(LLV(VOL,21),1) and 无一字板;<br />
AA2:=VOL<REF(LLV(VOL,55),1) and 无一字板;<br />
AA3:=ABS(VOL-REF(VOL,1))/REF(VOL,1)<=0.05 and 无一字板;<br />
STICKLINE(AA,0,v,6,0),COLORred;<br />
STICKLINE(AA1,0,v/2,6,0),COLORGREEN;<br />
STICKLINE(AA2,0,v/2,6,0),COLORff00ff;<br />
STICKLINE(AA3,0,v,4,0),COLORWHITE;</p>
<p>地线:hhv(v,60)/6,COLOR00ff00,LINETHICK2,PRECISION0;<br />
PARTLINE(限制显示K线面积,((hlp- HLMN3)*HLMN2/HLMN4+HLMN1)+rhl),color2588ff,LINETHICK1,LINEDOT;<br />
PARTLINE(限制显示K线面积,(("kdj.k"-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL),COLORFFF111;<br />
PARTLINE(限制显示K线面积,(("kdj.d"-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL),COLOR00ff00;<br />
PARTLINE(限制显示K线面积,(("kdj.j"-HLMN3)*HLMN2/HLMN4+HLMN1)+RHL),COLORFF1111;<br />
mv35:ma(v,35),colorffffff,PRECISION0;<br />
mv10:ma(v,10),color00ffff,PRECISION0;<br />
mv5:ma(v,5),colorff00ff,PRECISION0;</p>
<p></p>
<p> </p>
页:
[1]