通达信九五至尊量指标公式源码
<p data-first-child >通达信九五至尊量指标公式源码</p><p >XA_1:=AMOUNT/100000000;<br/>XA_2:=REF(AMOUNT,1)/100000000;<br/>比值:XA_1/XA_2;<br/>DRAWTEXT(CURRBARSCOUNT=2 OR CURRBARSCOUNT=1,vol*1.4,VARCAT(VAR2stR(XA_1,2),3777)),COLORWHITE;<br/>量:VOL,VOLSTICK,COLORLIGRAY;<br/>几倍:VOL/REF(VOL,1),NODRAW,COLORRED;<br/>换手:VOL*10000/FINANCE(7),NODRAW,COLORGREEN;<br/>量比:VOL/REF(ma(VOL,5),1),NODRAW,COLORBROWN;<br/>全换手周期:SUMBARS(VOL,CAPITAL),NODRAW,COLORLIGREEN;<br/>XA_3:=EMA(VOL,5);<br/>XA_4:=EMA(VOL,60);<br/>XA_5:=AMOUNT/VOL/100;<br/>XA_6:=XA_5>REF(CLOSE,1) AND REF(OPEN,1)>REF(CLOSE,1) AND OPEN>REF(MAX(OPEN,CLOSE),1) AND VOL<=REF(VOL,1) AND CLOSE>OPEN;<br/>XA_7:=VOL=HHV(VOL,21);<br/>STICKLINE(CLOSE>OPEN AND XA_7,VOL*4/5,VOL,2,0),COLORWHITE;<br/>STICKLINE(CLOSE>OPEN AND XA_7,VOL*4/5,VOL,0.6,0),COLORGREEN;<br/>XA_8:=20;<br/>XA_9:=60;<br/>XA_10:=100;<br/>低量20:VOL=LLV(VOL,XA_8) AND BARSCOUNT(VOL)>=XA_8,NODRAW,COLORGREEN;<br/>低量60:VOL=LLV(VOL,XA_9) AND BARSCOUNT(VOL)>=XA_9,NODRAW,COLORBLUE;<br/>地量:VOL=LLV(VOL,XA_10) AND BARSCOUNT(VOL)>=XA_10,NODRAW,COLORGRAY;<br/>STICKLINE(低量20,VOL*2/3,VOL,3,0),COLORGRAY;<br/>STICKLINE(低量20,VOL*1/3,VOL*2/3,3,0),COLORYELLOW;<br/>STICKLINE(低量20,0,VOL*1/3,3,0),COLORFF0088;<br/>STICKLINE(低量60,VOL*1/2,VOL,3,0),COLORGRAY;<br/>STICKLINE(低量60,0,VOL*1/2,3,0),COLORYELLOW;<br/>STICKLINE(地量,0,VOL,3,0),COLORGRAY;<br/>VOLUME:VOL,VOLSTICK;<br/>|:COUNT(CLOSE>REF(CLOSE,1),2)=2 AND COUNT(VOL<REF(VOL,1),2)=2;<br/>XA_11:=DYNAINFO(8)>0;<br/>VO:VOL=LLV(VOL,100) AND XA_11;<br/>百日地量柱:XA_11 AND VO,COLORCYAN;<br/>STICKLINE(百日地量柱,0,VOL,2,0),COLORCYAN;<br/>DRAWTEXT(百日地量柱,VOL+3000,54),COLORCYAN;<br/>XA_12:=VOL>REF(VOL,1)*1.8;<br/>XA_13:=VOL<REF(LLV(VOL,13),1);<br/>XA_14:=VOL<REF(LLV(VOL,55),1);<br/>STICKLINE(XA_12,0,VOL,2,0),COLORYELLOW;<br/>XA_15:=XA_12;<br/>XA_16:=(3*CLOSE+HIGH+LOW+OPEN)/6;<br/>XA_17:=(8*XA_16+7*REF(XA_16,1)+6*REF(XA_16,2)+5*REF(XA_16,3)+4*REF(XA_16,4)+3*REF(XA_16,5)+2*REF(XA_16,6)+REF(XA_16,8))/36;<br/>XA_18:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>XA_17 AND CLOSE>OPEN;<br/>XA_19:=VOL>REF(VOL,1)*0.98 AND VOL<REF(VOL,1)*1.02;<br/>STICKLINE(XA_19,0,VOL,2,0),COLORWHITE;<br/>XA_20:=XA_19;<br/>XA_21:=VOL<=REF(VOL,1)*0.505;<br/>STICKLINE(XA_21,0,VOL,2,0),COLORMAGENTA;<br/>XA_22:=VOL/REF(VOL,1)>0.505 AND VOL/REF(VOL,1)<0.66;<br/>STICKLINE(XA_22,0,VOL*1/3,2,0),COLORGREEN;<br/>STICKLINE(XA_22,VOL*1/3,VOL*2/3,2,0),COLORBLacK;<br/>STICKLINE(XA_22,VOL*2/3,VOL,2,0),COLORRED;<br/>STICKLINE(XA_21,0,VOL*1/2,2,0),COLORGREEN;<br/>STICKLINE(XA_21,VOL*1/2,VOL,2,0),COLORMAGENTA;<br/>XA_23:=CLOSE/REF(CLOSE,1)<=0.96 AND VOL<HHV(VOL,30)/1.9;<br/>STICKLINE(XA_23,0,VOL,0.8,0),COLORWHITE;<br/>STICKLINE(XA_23,0,VOL,0.3,0),COLORFF0088;<br/>XA_24:=(VOL+OPEN)/2;<br/>STICKLINE(CLOSE>OPEN,XA_24,XA_24,(-1),0),COLORBLACK;<br/>STICKLINE(CLOSE<OPEN,XA_24,XA_24,(-1),0),COLORWHITE;<br/>低量柱:IF(CURRBARSCOUNT<=CONST(REF(LLVBARS(VOL,30),1)+1)+1,CONST(REF(VOL,REF(LLVBARS(VOL,30),1)+1)),DRAWNULL),COLORWHITE,LINETHICK7;<br/>低量柱</p><p></p> 找到好贴不容易,我顶你了,谢了 一切尽在不言中,谢谢! 看帖回帖是美德!:lol 有道理。。。
页:
[1]