凹口平量柱选股及副图公式-通达信适用
凹口缩量选股公式
凹口缩量选股公式
凹口缩量选股公式是一种结合量柱和K线的技术分析方法,用于挑选可能上涨的股票。
以下是该公式的主要要点:
1.倍量柱指标公式:倍量柱是指今天的量柱比昨天的量柱增量一倍或一倍以上。
为了方便后续使用,我们过滤了阴线。
具体的公式如下:
CJL:=V; 成交量:CJL,VOLSTICK;
MAV5:MA (CJL,5); MAV10:MA (CJL,10);
BLYX:=V>REF (V,1)*2 AND C>O; {倍量柱,阳线}
STICKLINE (BLYX,0,V,3,0),COLORYELLOW; {倍量柱对应的成交量柱线变黄色};
2.凹口平量柱指标公式:这是主图的指标公式,用于确定股票的走势。
3.凹口淘金法则注意事项:在实际应用中,还需要注意以下几点:
凹口要突然凹陷,凹陷首日要凶狠。
凹陷部分成交量很少,最好出现百日低量柱。
在凹口右侧有逐步放大成交量。
凹口平衡线附近有一根中阳到大阳柱。
只选择U型反攻,U型比V型反攻要扎实可靠的多。
4.其他技术要点:除了上述要点,还有其他一些技术因素需
要考虑:
MACD红柱缩短不出现绿柱后,再次加长;
股价第一波上涨到60日均线附近后缩量回调;
MACD红柱缩短后,又连续加长2-3天为宜;
上涨目标:右峰过左峰。
“凹口淘金”选股公式黑马王子量学理论公式通达信版本
“凹口淘金”选股公式黑马王子量学理论公式通达信版本王子老师在量学“四大名著”中对“凹口淘金”作了论述。
“凹口淘金”的知识点归纳如下:第一,凹口要突然凹陷。
凹陷首日要凶狠,体现故意。
突然凹陷的必须是长阴短柱。
因为这是主力挖坑的标志,没有这个标志的凹陷,就是主力出逃的凹陷,它与我们讲的“凹口淘金”是截然不同的。
我们有些同学选的股票的确有凹陷,但是,其凹陷是主力出逃后的陷阱,无论你什么时候进去,都是陪葬品。
第二,凹口平衡线要顺其自然。
自然画法为,以下跌最凶狠的大阴实底画水平线。
第三,凹陷部分成交量很小。
体现了持股者不愿卖,持币者不敢买,只有庄家或者主力买。
第四,凹底要刹车换挡。
凹底一定要有两个将军柱。
第一个将军柱为扭转跌势,即为刹车。
第二个将军柱转为升势,即换挡。
这两个将军柱之间的距离可远可近,越近越有爆发力。
两个将军柱缺一不可,当只出现第一个将军柱时,我们还不能把它列入凹口淘金的行列。
当第二个将军柱出现之后,才是确认淘金的时候,这就是涨停密码,也是凹口淘金的关键。
第五,凹底加油飙涨。
在“凹口平衡线”附近往往有“中阳或大阳”柱,与突然凹陷的长阴形成对称,体现对立统一和对称均匀法则。
“凹口淘金”选股公式功能:根据上述原理,选出在“凹口平衡线”附近的个股。
凹口平衡线之下,有两个以上将军柱,起到刹车换挡的作用;凹陷部分可含低量柱;这些可以由公式参数选项控制。
比如参数设置选出(突破大阴实底、阴腰、阴实顶)等位置的个股。
用户朋友要充分理解,公式只是根据量学理念编制,帮助用户提高选股效率。
公式是死板的,由于公式语言函数的限制,类似“下跌最凶狠的大阴”这种形态,是较难表达的。
所以选出的结果,不一定包含全部人工观察到的,选出来的,也不一定就完全符合“凹口淘金”的量学形态。
选出的是“形似”,不一定就“神似”。
“凹口淘金”的量学形态,也不保证一定会大涨。
用户要根据“左证明,右确认”等量学原理,分析判断是否买入,何时买入,何价买入。
通达信选股公式1
通达信选股公式11、通达信选股公式{MACD、KDJ、RSI底背离}DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA:=EMA(DIFF,9);A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)<="" p="">A2:=BARSLAST(REF(CROSS(""(9,3,3),""(9,3,3)),1));B2:=REF(C,A2+1)>C AND REF(""(9,3,3),A2+1)<""(9,3,3) AND CROSS(""(9,3,3),""(9,3,3));A3:=BARSLAST(REF(CROSS(""(6,12,24),""(6,12,24)),1));B3:=REF(C,A3+1)>C AND REF(""(6,12,24),A3+1)<""(6,12,24) ANDCROSS(""(6,12,24),""(6,12,24));底背离:B1>0 OR B2>0 OR B3>0;{集成了MACD、KDJ、RSI三个指标的底背离};2、老鼠仓AA1:=AMOUNT/VOL;BB1:=L< AA1*;CC1:=(C-REF(C,1))/REF(C,1)*100> ;DD1:=L< MA(C,5)*; EE1:=VOL< MA(V,5)*;老鼠仓:BB1 AND CC1 AND DD1 AND EE1;3、抄底高手{M 15 35 30 N 12 32 27 D 18 50 42} ;VAR1:=(CLOSE-MA(CLOSE,48))/MA(CLOSE,48)*100+M<0;VAR2:=(CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+N<0;VAR3:=VAR1 AND VAR2;VAR4:=VAR1 AND VAR2 AND COUNT(VAR3,2)=1 ANDDATE>940101 AND (CLOSE>OPEN OR CLOSE AND (REF(OPEN,1)>REF(CLOSE,1) OR REF(OPEN,1)REF(CLOSE,2) OR REF(OPEN,2)REF(CLOSE,3) OR REF (OPEN,3)<="" bdsfid="94" p="">(REF(OPEN,4)>REF(CLOSE,4) OR REF(OPEN,4)REF(CLOSE,5) OR REF(OPEN,5)<ref(close,5));< bdsfid="97" p=""></ref(close,5));<>VAR5:=DMA(EMA(CLOSE,8),SUM(VOL,9)/CAPITAL);VAR6:=(CLOSE-VAR5)/VAR5*100;VAR7:=REF(VAR6,1)+D<0 AND VAR6>REF(VAR6,1) AND REF(VAR6,1)<="" bdsfid="101" p="">VAR6-REF(VAR6,1)> AND (HIGH>LOW) AND (REF(HIGH,1)>REF(LOW,1)) AND(REF(HIGH,2)>REF(LOW,2)) AND (REF(HIGH,3)>REF(LOW,3)) AND (REF(HIGH,4)>REF(LOW,4)) AND (REF(HIGH,5)>REF(LOW,5));VAR4 OR VAR7;3、短线黑马{K 100 140 100};VAR1:=DMA(CLOSE,VOL/MA(VOL,4)/4);VAR2:=DMA(CLOSE,VOL/MA(VOL,33)/33);VAR3:=(CLOSE-VAR1)/VAR1*100<-11/K*100;VAR4:=(VAR1-VAR2)/VAR2*100<k*100;< bdsfid="113" p=""></k*100;<>VAR5:=VAR3 AND VAR4 AND (OPEN>CLOSE OR OPEN<="" bdsfid="115" p="">(OPEN-REF(CLOSE,1))/REF(CLOSE,1)> AND (REF(CLOSE,1)>REF(OPEN,1) ORREF(CLOSE,1)REF(CLOSE,2) OR REF (OPEN,2)REF(CLOSE,3) OR REF(OPEN,3)<="" and="" bdsfid="120" p="">REF(OPEN,5) REF(CLOSE,6) OR REF(OPEN,6)REF (CLOSE,7) OR REF(OPEN,7)<ref(close,7));< bdsfid="125" p=""></ref(close,7));<>VAR6:=DMA(CLOSE,VOL/MA(VOL,3)/3);VAR7:=DMA(CLOSE,VOL/MA(VOL,33)/33);VAR8:=(CLOSE-VAR6)/VAR6*100<-5;VAR9:=(VAR6-VAR7)/VAR7*100<-18;VARA:=(INDEXC-LLV(INDEXL,250))/(HHV(INDEXH,250)-LLV(INDEXL,250))*100;VARB:=SMA(VARA,30,1);VARC:=SMA(VARB,50,1);VARD:=VAR8 AND VAR9 AND (OPEN>CLOSE OR OPEN<="" bdsfid="134" p="">(OPEN-REF(CLOSE,1))/REF(CLOSE,1)> AND (REF(CLOSE,1)>REF(OPEN,1) ORREF(CLOSE,1)<ref(open,1));< bdsfid="137" p=""></ref(open,1));<>VARE:=VARD AND COUNT(VARD,2)=1 VAR5 OR VARE;4、逆势操作VAR1:=DMA(CLOSE,VOL/MA(VOL,4)/4);VAR2:=DMA(CLOSE,VOL/MA(VOL,32)/32);VAR3:=(CLOSE-VAR1)/VAR1*100<-8;VAR4:=(VAR1-VAR2)/VAR2*100<-21;VAR5:=VAR3 AND VAR4 AND (OPEN>CLOSE OR OPEN<="" bdsfid="145" p="">(OPEN-REF(CLOSE,1))/REF(CLOSE,1)> AND (REF(CLOSE,1)>REF(OPEN,1) ORREF(CLOSE,1)REF(CLOSE,2) OR REF (OPEN,2)REF(CLOSE,3) OR REF(OPEN,3)<="" and="" bdsfid="150" p="">REF(OPEN,5) REF(CLOSE,6) OR REF(OPEN,6)<ref(close,6))< bdsfid="154" p=""></ref(close,6))<>AND (REF(OPEN,7)>REF (CLOSE,7) OR REF(OPEN,7)<ref(close,7));< bdsfid="156" p=""></ref(close,7));<>VAR6:=(CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100<-23;VAR7:=(INDEXC-LLV(INDEXL,275))/(HHV(INDEXH,275)-LLV(INDEXL,275))*100;VAR8:=SMA(VAR7,50,1);VAR9:=SMA(VAR8,40,1);VARA:=VAR6 AND VAR9<23 AND COUNT(VAR6,2)=1 AND (OPEN>CLOSE OR OPEN (VAR5 OR VARA)5、成交量变异率VR买入WVR :=SUM((IF(CLOSE>OPEN,VOL,0)+IF(CLOSE=OPEN,VOL/2,0)),N )/SUM((IF(CLOSE<open,vol,0)+if(clo se="OPEN" ,vol="" 2,0)),26)*100;="" vol变异率vr买入:cross(ll,wvr);="" {n="" 5="" 100="" 26="" 5}="" {ll="" 0="" 80="" 70="" 5};="" ma5:="MA(C,5);" ma10:="MA(C,10);" ma20:="MA(C,20);</p" bdsfid="165">。
通达信经典量柱主图指标公式
通达信经典量柱主图指标公式黄金柱:=V/REF(V,1)>=2.0;K1:=SUMBARS(黄金柱,1) ;K2:=SUMBARS(黄金柱,2);K3:=SUMBARS(黄金柱,3);K4:=SUMBARS(黄金柱,4);K5:=SUMBARS(黄金柱,5);K6:=SUMBARS(黄金柱,6);K7:=SUMBARS(黄金柱,7);K8:=SUMBARS(黄金柱,8);K9:=SUMBARS(黄金柱,9);K10:=SUMBARS(黄金柱,10);AA:STICKLINE(K1,REF(L,K1-1)*1.002,REF(L,K1-1),5,0),COLORYELLOW;{预定黄金柱}{预定黄金柱:=REF(V,2)>=REF(V,3)*1.99 AND REF(C,2)>REF(O,2)AND REF(V,2)=HHV(V,3) AND C/REF(C,2) >=1.0995 AND REF(L,2)=LLV(L,3);}{预定:STICKLINE(预定黄金柱,H,H,30,0),COLORRED;}{DRAWICON(预定黄金柱,H,19);}{将军柱中的五星上将黄金柱}T60:=V=HHV(V,60);T100:=V=HHV(V,100);T2:=V/REF(VOL,1)>=3;T3:=REF(C,1)/REF( O,1)<3;五星上将:=(T60 AND T2 AND T3) OR (T100 AND T2 AND T3);DRAWICON(五星上将,H,23);{量柱图}C2:=REF(C,1);涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);STICKLINE(涨停,OPEN,CLOSE,-1,0),COLORWHITE;STICKLINE(涨停,H,L,0,0),COLORWHITE;DRAWICON(涨停,L-0.2,11);DRAWTEXT(涨停,L-0.2,' --涨停');跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0);STICKLINE(跌停,OPEN,CLOSE,-1,0),COLORBLUE;STICKLINE(跌停,H,L,0,1),COLORBLUE;DRAWICON(跌停,H+0.2,2);DRAWTEXT(跌停,H+0.2,' --跌停');{大阳线:=IF((C-C2)*100/C2>=5,1,0) AND IF((C-C2)*100/C2<(10-0.01*100/C2),1,0) OR IF((C-O)*100/O>=5,1,0) AND IF((C-C2)*100/C2<(10-0.01*100/C2),1,0);STICKLINE(大阳线,OPEN,CLOSE,-1,0),COLORRED;STICKLINE(大阳线,H,L,0,1),COLORRED;大阴线:=IF((C2-C)*100/C2>=5,1,0) AND IF((C2-C)*100/C2<(10-0.01*100/C2),1,0) OR IF((O-C)*100/O>=5,1,0) AND IF((C2-C)*100/C2<(10-0.01*100/C2),1,0);STICKLINE(大阴线,OPEN,CLOSE,-1,0),COLORGREEN;STICKLINE(大阴线,H,L,0,1),COLORGREEN;}{MA13:MA(CLOSE,13),COLORWHITE;MA34:MA(CLOSE,34),COLORYELLOW;MA55:MA(CLOSE,55),COLOR9933FF;}{MA4:MA(CLOSE,4),COLORWHITE;MA10:MA(CLOSE,10),COLORYELLOW;MA20:MA(CLOSE,20),COLOR9933FF;MA30:MA(CLOSE,30),COLORLIBLUE;MA60:MA(CLOSE,60),COLORWHITE;MA120:MA(CLOSE,120),COLORLIGREEN;}TY:=C;AA1:=REF(TY,10)=HHV(TY,2*10+1); BB1:=FILTER(AA1,10); C1:=BACKSET(BB1,10+1); HD:=FILTER(C1,10);AA2:=REF(TY,10)=LLV(TY,2*10+1); B2:=FILTER(AA2,10); CC2:=BACKSET(B2,10+1); LD:=FILTER(CC2,10);前期高位:REF(H,BARSLAST(HD)),COLOR00FF00,POINTDOT,LINETHICK3;前期低位:REF(L,BARSLAST(LD)),COLORFF00FF,POINTDOT,LINETHICK3;{求位置坐标}PHD:=IF(LLV(L,3)>=REF(H,3),REF(H,3),IF((LLV(L,3)>=REF(C,3) AND REF(C,3)>REF(O,3)),REF(C,3),IF(LLV(L,3)>=REF(O,3) AND REF(C,3)>REF(O,3),REF(O,3),REF(L,3))));{自动画量能平台}{NN 1 300 21}{NN:=21;TTJ:=BARSLAST(REF(倍量黄金柱,NN-1));K0:=TTJ=0;K1:=SUMBARS(K0,1);K2:=SUMBARS(K0,2);K3:=SUMBARS(K0,3);K4:=SUMBARS(K0,4);K5:=SUMBARS(K0,5);K6:=SUMBARS(K0,6);K7:=SUMBARS(K0,7);K8:=SUMBARS(K0,8);K9:=SUMBARS(K0,9);K10:=SUMBARS(K0,10);CCCC1:=REF(C,K1-1);}{在K线图上标示量柱类型}倍量:=DRAWICON((VOL>REF(V,1)*2.0 OR VOL=REF(V,1)*2.0) AND C>REF(C,1),H+0.2,26);低量:=DRAWICON(VOL<REF(LLV(VOL,13),1),H+0.1,2);地量:=DRAWICON(VOL<REF(LLV(VOL,100),1),H+0.1,12);平量:=DRAWICON(ABS(VOL-HHV(REF(VOL,1),5))/HHV(REF(VOL,1),5)<=0.03 OR ABS(VOL-REF(VOL,1))/REF(VOL,1)<=0.03,H+0.1,16);倍缩:=DRAWICON(VOL<=REF(V,1)*0.5,H+0.1,27);{画量柱标识:}{1.画倍量黄金柱标识--红箭头图标}倍量黄金柱:=DRAWICON((LLV(L,3)>REF(L,3) OR LLV(L,3)=REF(L,3)) AND HHV(V,3)<REF(V,3) ANDREF(C,3)>REF(O,3) AND REF(V,3)>=2*REF(V,4),H+0.2,1);{2.画梯量黄金柱标识--橘子图标}梯量黄金柱:=DRAWICON(LLV(L,3)>REF(L,3) AND HHV(V,3)<REF(V,3) ANDREF(V,5)>REF(V,6) AND REF(V,4)>REF(V,5) AND REF(V,3)>REF(V,4),H,17);{3.画平量黄金柱标识--苹果图标}平量黄金柱:=DRAWICON(LLV(L,3)>REF(L,3) AND HHV(V,3)<REF(V,3) ANDREF(C,3)>REF(O,3) AND ABS(REF(V,3)-REF(V,4))/REF(V,4)<=0.03,H,19);{4.画立桩量标识--顶部红箭头图标}N:=25;立桩量:=REF(V,3)/REF(MA(V,5),4)>(N/10) ANDREF(V,3)/REF(HHV(V,60),4)>1.5 AND LLV(L,3)>REF(L,3);STICKLINE(倍量,OPEN,CLOSE,-1,0),COLORYELLOW;倍量黄金线:STICKLINE(倍量黄金柱,PHD,PHD,30,0),COLORWHITE;DRAWICON(倍量黄金柱,PHD*1.008,12);DRAWTEXT(倍量黄金柱,PHD*1.010,' 标准黄金柱精准线'),COLORFF00FF;DRAWTEXT(倍量黄金柱,PHD,'================='),COLORWHITE;{平量黄金线:STICKLINE(平量黄金柱,PHD*1.002,PHD,100,0),COLORYELLOW;DRAWTEXT(平量黄金柱,PHD*1.015,'平量黄金线'),COLORLIGREEN ;梯量黄金线:STICKLINE(梯量黄金柱,PHD*1.002,PHD,100,0),COLORYELLOW;DRAWTEXT(梯量黄金柱,PHD*1.015,'梯量黄金线'),COLORFF00FF ;}立桩量标识:DRAWICON(立桩量,H*1.002,1);DRAWTEXT(立桩量,H*1.06,'立'),COLORRED;DRAWTEXT(立桩量,H*1.04,'桩'),COLORRED;DRAWTEXT(立桩量,H*1.02,'量'),COLORRED;{DA:STICKLINE(K4<=30,REF(C,K4-1)*1.002,REF(C,K4-1),10,0),COLORBLUE;EA:STICKLINE(K5<=30,REF(C,K5-1)*1.002,REF(C,K5-1),10,0),COLORBLUE;FA:STICKLINE(K6<=30,REF(C,K6-1)*1.002,REF(C,K6-1),10,0),COLORBLUE;GA:STICKLINE(K7<=30,REF(C,K7-1)*1.002,REF(C,K7-1),10,0),COLORBLUE;HA:STICKLINE(K8<=30,REF(C,K8-1)*1.002,REF(C,K8-1),10,0),COLORBLUE;IA:STICKLINE(K9<=30,REF(C,K9-1)*1.002,REF(C,K9-1),10,0),COLORBLUE;JA:STICKLINE(K10<=30,REF(C,K10-1)*1.002,REF(C,K10-1),10,0),COLORBLUE;}AAA:=CONST(HHV(H,90));TS1:=0+0.03;TS2:=TS1+0.03;TS3:=TS2+0.03;DRAWTEXT(CURRBARSCOUNT=158,AAA-(AAA*TS1),'<一>.量柱的阶段性拐点标志--空间转化原则:'),COLORFF00FF ;DRAWTEXT(CURRBARSCOUNT=158,AAA-(AAA*TS2),' 1.平台起柱:在K线整理平台上突然起柱;'),COLORFF00FF ;DRAWTEXT(CURRBARSCOUNT=158,AAA-(AAA*TS3),' 2.凹口起柱:在K线逐步回调形成凹口时起柱.常见凹口倍量;'),COLORFF00FF ;TS4:=TS3+0.03;TS5:=TS4+0.03;TS6:=TS5+0.03;DRAWTEXT(CURRBARSCOUNT=158,AAA-(AAA*TS4),' 3.过顶起柱:过左峰起柱.常见过顶倍量;'),COLORFF00FF ;DRAWTEXT(CURRBARSCOUNT=158,AAA-(AAA*TS5),' 4.触底起柱:触前期谷底起柱.常见触底倍量.'),COLORFF00FF ;DRAWTEXT(CURRBARSCOUNT=158,AAA-(AAA*TS6),'<二>.量柱的集合定性--组合量柱:'),COLORFF00FF ;TS7:=TS6+0.03;TS8:=TS7+0.03;TS9:=TS8+0.03;DRAWTEXT(CURRBARSCOUNT=158,AAA-(AAA*TS7),' 1.低量柱+倍量柱:后市必大涨!'),COLORFF00FF ;DRAWTEXT(CURRBARSCOUNT=158,AAA-(AAA*TS8),' 2.倍量柱+倍量柱:主庄控盘良好,急于拉升!'),COLORFF00FF ;DRAWTEXT(CURRBARSCOUNT=158,AAA-(AAA*TS9),' 3.缩倍柱+倍量柱:机会就在眼前!'),COLORFF00FF ;{============================}BBB:=CONST(HHV(H,190));TT1:=0+0.03;TT2:=TT1+0.03;TT3:=TT2+0.03;DRAWTEXT(CURRBARSCOUNT=300,BBB-(BBB*TT1),'<三>.量柱的三日定性--时间转化原则:'),COLORFF00FF ;DRAWTEXT(CURRBARSCOUNT=300,BBB-(BBB*TT2),' 1.后三日价升量缩:转化为黄金柱;'),COLORFF00FF ;DRAWTEXT(CURRBARSCOUNT=300,BBB-(BBB*TT3),' 2.后三日量柱先阴后阳:该量柱官升一级;'),COLORFF00FF ;TT4:=TT3+0.03;TT5:=TT4+0.03;DRAWTEXT(CURRBARSCOUNT=300,BBB-(BBB*TT4),' 3.后三日量柱阴阳相间:量柱退化,走势面临调整;'),COLORFF00FF ;DRAWTEXT(CURRBARSCOUNT=300,BBB-(BBB*TT5),' 4.后三日量柱实体逐步缩小:力量将衰退,面临调整.'),COLORFF00FF ;{底部趋势拐点}VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);VOLUME:=VOL;AAG:=VOL>=REF(V,1)*1.91 AND C>REF(C,1);AA1G:=VOL<REF(LLV(VOL,21),1);AA2G:=VOL<REF(LLV(VOL,55),1);AA3G:=ABS(VOL-REF(VOL,1))/REF(VOL,1)<=0.05;MAVOL5:=MA(VOLUME,5);MAVOL35:=MA(VOLUME,35);MAVOL135:=MA(VOLUME,135);VOLUME5:=MA(VOLUME,5);VOLUME35:=MA(VOLUME,35);VOLUME135:=MA(VOLUME,135);买入:=CROSS(VOLUME5,VOLUME135);DRAWICON(买入,L,9);买入1:=CROSS(VOLUME35,VOLUME135);DRAWICON(买入1,L,5);买入2:=CROSS(VOLUME5,VOLUME35);DRAWICON(买入2,L,1);{非常棒}EMA13:=EMA(C,13),COLORWHITE;EMA21:=EMA(C,21),COLORYELLOW;EMA34:=EMA(C,34),COLORFF00FF;EMA60:=MA(C,60),COLORFFCC66;VAR2:=(2*CLOSE+HIGH+LOW)/4;VAR3:=IF(YEAR>=2099 AND MONTH>2,0,1);VAR4:=LLV(LOW,5); VAR5:=HHV(HIGH,4);散户:=EMA((VAR2-VAR4)/(VAR5-VAR4)*100,4)*VAR3;庄家:=EMA(0.667*REF(散户,1)+0.333*散户,2)*VAR3;DRAWTEXT(CROSS(散户,庄家) AND 散户<30,L-0.05,'←低吸'),COLORLIRED;DRAWTEXT(CROSS(庄家,散户) AND 散户>70,H+0.05,'←高抛'),COLORGREEN;DRAWICON(CROSS(散户,庄家) AND 散户<30,L-0.05,1);DRAWICON(CROSS(庄家,散户) AND 散户>70,H+0.05,2);VAR9:=CLOSE-REF(CLOSE,5);VARA:=EMA(EMA(VAR9,5),5)/EMA(EMA(ABS(VAR9),5),5);VARC:=EMA(EMA(VAR9,20),20)/EMA(EMA(ABS(VAR9),20),20 );卖出:=IF(VARA>0 AND CROSS(VARC,VARA),90,100);DRAWICON(卖出<0,H+0.05,2);买线:=EMA(CLOSE,2);卖线:=EMA(SLOPE(CLOSE,21)*20+CLOSE,42);B1:IF(CROSS(买线,卖线),L-0.02,DRAWNULL),CROSSDOT,LINETHICK3,COLORMAGENTA;S1:IF(CROSS(80,RSI)*30,H+0.02,DRAWNULL),CROSSDOT,LIN ETHICK3,COLORYELLOW;VC:=((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;S2:=IF(VC>20 AND FILTER(VC< REF(VC,1),5),H+0.02,DRAWNULL),CIRCLEDOT,LINETHICK3,COLO RGREEN;A0:=(L+H+C*2)/4;A1B:EMA(A0,14),COLORBLUE,LINETHICK2;A2B:=EMA(A0,25),COLORLIBLUE,LINETHICK2;A1X:=(A1B-REF(A1B,1))/REF(A1B,1)*100,NODRAW;A2X:=(A2B-REF(A2B,1))/REF(A2B,1)*100,NODRAW;看多:IF(A1X>=0 AND BARSLAST(CROSS(A1X,0))>0,REF((C+O)/2,BARSLAST(CROSS(A1 X,0))),DRAWNULL),COLORMAGENTA{,LINETHICK2};逃顶:IF(A1X<0 AND BARSLAST(CROSS(0,A1X))>0,REF((C+O)/2,BARSLAST(CROSS(0,A 1X))),DRAWNULL),COLORCYAN,{LINETHICK2};买入持股:IF(A1X>=0,A1B,DRAWNULL)COLORRED,LINETHICK3;卖出空仓:IF(A1X<0 AND A2X<0,A1B,DRAWNULL)COLORGREEN,LINETHICK3;{STICKLINE(CROSS(A1X,0),H,L,0,0 ),COLOR9933FF;STICKLINE(CROSS(A1X,0),C,O,3,0 ),COLOR0000CC;STICKLINE(CROSS(A1X,0),C,O,1,0 ),COLOR0033FF;STICKLINE(CROSS(0,A1X),L,H,0,0 ),COLOR66CC33;};。
通达信量学指标目前为止成功率95%的黄金坑配合黄金柱平衡点伏击公式
量学指标目前为止成功率95%的黄金坑配合黄金柱平衡点伏击公式用法说明:黄金坑买点出现配合黄金柱主图黄色黄金线上缩量回踩后买进,你就闭着眼睛赚钱吧!收益少则10%多则很大概率抓到牛股!涨幅保守40%以上!!本指标是根据王子老师量学中黄金坑必然是庄家打劫的产物,回踩至重要黄金线处必然要拉升!(本指标中掺杂多种涨停共振基因,所以成功率自然很高)VAR1:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;VAR2:=2*ABS(VAR1);VAR3:=100-3*SMA((CLOSE-LLV(LOW,72))/(HHV(HIGH,72)-LLV(LOW,72))*100,20,1)+ 2*SMA(SMA((CLOSE-LLV(LOW,72))/(HHV(HIGH,72)-LLV(LOW,72))*100,20,1),15,1);大资金:VAR3*(-1)+100,COLOR00FFFF,LINETHICK3;底部: IF(VAR1<0,VAR2,0), LINESTICK,COLOR00FF00;VAR22:=100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34));VAR23:=MA(VAR22,3);VAR24:=EMA(AMOUNT/VOL/100,5);VAR25:=EMA(AMOUNT/VOL/100,13);VAR26:=VAR24-VAR25;趋势: IF(1000*VAR26/VAR24>0,1000*VAR26/VAR24,0),COLORRED,LINETHICK4;趋势1: IF(1000*VAR26/VAR24>0,1000*VAR26/VAR24,0),COLORRED,LINESTICK;VV20:20,POINTDOT,COLOR00FF00;VV50:50,COLOR00FF00;VV80:80,POINTDOT,COLOR00FF00;VV100:100,COLOR00FF00;。
通达信量价关系副图指标公式(适用)
通达信量价关系副图指标公式(适用)DRAWGBK(C>0, RGB(0,108,108),RGB(88,0,0),0,11,0);成交额:AMOUNT/100000000,NODRAW;主力:(LARGEINTRDVOL-LARGEOUTTRDVOL)*(11)/100,NODRAW;大单:主力/成交额/100,NODRAW;连红:BARSLASTCOUNT(主力>0),COLORRED,NODRAW;预量:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,预量,0,3,-1),COLORFFFFFF;量_价:=1;CTKG:=1;W:=量_价;EPSL:=0.0001;ZZ:=(C+H+L)/3;TJA:=ZZ>=MAX(C,O) AND CTKG=1;TJB:=ZZ<=MIN(C,O) AND CTKG=1;ZF:=IF(TJA,1,IF(TJB,-1,0));TJ0:=TJA OR TJB;TJ1:=H=L AND C>REF(C,1);TJ2:=H=L AND C<REF(C,1);TJ3:=H=L AND C=REF(C,1);量_价:=IF(W=1,VOL,AMOUNT),STICK,COLOREEFFEE;EE:=IF(TJ1,EPSL,IF(TJ2,-EPSL,0));ZL:=2*(H-L)+ABS(C-O)+3*IF(TJ3,EPSL,ABS(EE));JGL_DX:=(IF(TJ0,2/3*(2*C-H-L)+ZF*ABS(C-O),(C-O))+EE)/ZL;买卖差:=JGL_DX*量_价,COLOR13AADD,NODRAW;买盘:=量_价*(1+JGL_DX)/2,COLOR1133AA,NODRAW;卖盘:=量_价*(1-JGL_DX)/2,COLORFFFF00,NODRAW;VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));主动买盘:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),LINETHICK0;主动卖盘:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2)),LINETHICK0,COLORGREEN;净量:=主动买盘+主动卖盘,NODRAW;STICKLINE(C<O ,0,VOL,3.0,0),COLORFF1100;STICKLINE(C<O ,0,VOL,2.5,0),COLORFF3300;STICKLINE(C<O ,0,VOL,2.1,0),COLORFF5500;STICKLINE(C<O ,0,VOL,1.5,0),COLORFF7700;STICKLINE(C<O ,0,VOL,0.9,0),COLORFF9900;STICKLINE(C<O ,0,VOL,0.3,0),COLORFFBB00;STICKLINE(C=O AND C<REF(C,1),0,VOL,3.0,0),COLOR006000;STICKLINE(C=O AND C<REF(C,1),0,VOL,2.5,0),COLOR007500;STICKLINE(C=O AND C<REF(C,1),0,VOL,2.1,0),COLOR009100;STICKLINE(C=O AND C<REF(C,1),0,VOL,1.5,0),COLOR00A600;STICKLINE(C=O AND C<REF(C,1),0,VOL,0.9,0),COLOR00BB00;STICKLINE(C=O AND C<REF(C,1),0,VOL,0.3,0),COLOR00CC00;STICKLINE(C=O AND C>REF(C,1),0,VOL,3.0,0),COLOR555555;STICKLINE(C=O AND C>REF(C,1),0,VOL,2.5,0),COLOR777777;STICKLINE(C=O AND C>REF(C,1),0,VOL,2.1,0),COLOR999999;STICKLINE(C=O AND C>REF(C,1),0,VOL,1.5,0),COLORBBBBBB;STICKLINE(C=O AND C>REF(C,1),0,VOL,0.9,0),COLORDDDDDD;STICKLINE(C=O AND C>REF(C,1),0,VOL,0.3,0),COLORFFFFFF;STICKLINE(C>O,0,VOL,3.0,0),COLORFF11FF; STICKLINE(C>O,0,VOL,2.5,0),COLORFF33FF; STICKLINE(C>O,0,VOL,2.1,0),COLORFF55FF; STICKLINE(C>O,0,VOL,1.5,0),COLORFF77FF; STICKLINE(C>O,0,VOL,0.9,0),COLORFF99FF; STICKLINE(C>O,0,VOL,0.3,0),COLORFFBBFF;资金异动:=VOL/MA(VOL,55)*100,COLORYELLOW; STICKLINE(主动买盘>0,0,主动买盘,3.0,0),COLOR000055; STICKLINE(主动买盘>0,0,主动买盘,2.5,0),COLOR000077; STICKLINE(主动买盘>0,0,主动买盘,2.1,0),COLOR000099; STICKLINE(主动买盘>0,0,主动买盘,1.5,0),COLOR0000BB; STICKLINE(主动买盘>0,0,主动买盘,0.9,0),COLOR0000DD; STICKLINE(主动买盘>0,0,主动买盘,0.3,0),COLOR0000FF; STICKLINE(主动卖盘<0,0,主动卖盘,3.0,0),COLOR006000; STICKLINE(主动卖盘<0,0,主动卖盘,2.5,0),COLOR007500; STICKLINE(主动卖盘<0,0,主动卖盘,2.1,0),COLOR009100; STICKLINE(主动卖盘<0,0,主动卖盘,1.5,0),COLOR00A600; STICKLINE(主动卖盘<0,0,主动卖盘,0.9,0),COLOR00BB00; STICKLINE(主动卖盘<0,0,主动卖盘,0.3,0),COLOR00CC00; STICKLINE(资金异动>100 ,0,VOL,0.6,0),COLORYELLOW; TX80:80,POINTDOT COLORYELLOW;DX20:20,POINTDOT COLORGREEN;VAR2:=HHV(HIGH,21);K: EMA((CLOSE-VAR1)/(VAR2-VAR1)*100,6),COLORRED; D: EMA(0.667*REF(K,1)+0.333*K,2),COLORGREEN; VAR3:=LLV(LOW,55);VAR4:=HHV(HIGH,34);VAR5:=EMA((CLOSE-VAR3)/(VAR4-VAR3)*100,3);VAR6:=(K+VAR5)/2;VAR7:=EMA(0.667*REF(VAR5,1)+0.333*K,2);VAR8:=EMA(VAR6,5);VAR9:EMA(0.667*REF(VAR8,1)+0.333*VAR8,2); DRAWICON(LONGCROSS(D,K,0.1),D,2),COLORRED; DRAWICON(LONGCROSS(K,D,0.1),K,1),COLORGREEN;。
通达信超准的波段底部公式+选股公式副图
N:=90;M:=3;
低:=REF(LLV(L,N),M);
低点:=REFDATE(低,DATE);
XG:低点=L AND ((C-L)>(0-C) OR (O-L)>(C-O)) COLORYELLOW,LINETHICK5,STICK;
没有人可以准确的买到最低价卖到最高价巴菲特估计也做不到吧
通达信超准的波段底部公式+选股公式副图
准确率极高的哦。
抄底用的。虽然现在在进入牛市的阶段,但是牛市过了就是熊市啦
拿好留用
选股公式现在选不出来哦。大家以以后验证
没有人可以准确的买到最低价,卖到最高价,巴菲特估计也做不到吧。我们追求的是买到相对低价,看你是左侧交易还是右侧交易啦。
通达信量柱主副图公式
通达信量柱主副图公式量柱主图水平面:MA(CLOSE,89),COLORFFA2FF;BBI:(MA(CLOSE,M1)+MA(CLOSE,M2)+MA(CLOSE,M3)+MA(CLOSE,M4))/4;IF(BBI>REF(BBI,1),BBI,DRAWNULL),COLORRED,LINETHICK2;IF(BBI<REF(BBI,1),BBI,DRAWNULL),COLORYELLOW,LINETHICK2;MA1:MA(CLOSE,24),COLOR00E300,LINETHICK1;V2:=IF(CURRBARSCOUNT=1,VOL*240/FROMOPEN/REF(VOL,1)-1,VOL/REF(VOL,1)-1); STICKLINE(V2>=1,O,C,2,0),COLORYELLOW;MA13:=MA(CLOSE,13);X1:=(C+L+H)/3;BB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10;EMA8:=EMA(C,8);A1:=MIN(O,C);B1:=ABS(O-C);T1:=FILTER(BB13>1 AND EMA(X1,13)>REF(EMA(X1,8),1),10);STICKLINE(T1,A1,A1+B1/4,2,0),COLOR007575;STICKLINE(T1,A1+B1/4,A1+B1/2,2,0),COLORFF0000;STICKLINE(T1,A1+B1/2,A1+B1*3/4,2,0),COLOR007575;STICKLINE(T1,A1+B1*3/4,A1+B1,2,0),COLORFF0000;LC:=REF(CLOSE,1);RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);FF:=EMA(CLOSE,3);MA15:=EMA(CLOSE,21);{DRAWTEXT(CROSS(FF,MA15),(LOW * 0.97),'底背离'),COLORA6E500; DRAWTEXT(CROSS(88,RSI),(HIGH * 1.04),'顶背离'),COLOR1880FF;} STICKLINE(CROSS(FF,MA15),A1,A1+B1/2,2,0),COLOR7F017F;STICKLINE(CROSS(88,RSI),A1+B1,A1+B1/2,2,0),COLORGREEN;T2:=COUNT(CROSS(BBI,3),3)=1 AND CROSS(C,BBI);DRAWTEXT(T2,H*1.05,'反转'),COLORWHITE;STICKLINE(T2,O,C,2,0),COLORRED;T12:=V2>=1;T0:=BARSLAST(T12);L1:=REF(L,T0);H1:=REF(H,T0);STICKLINE(REF(T12,1) OR REF(T12,2) OR REF(T12,3),H1,H1,4,-1),COLORWHITE; STICKLINE(REF(T12,1) OR REF(T12,2) OR REF(T12,3),L1,L1,4,-1),COLORWHITE; {T11:=REF(T12,3) AND COUNT(L<L1,4)=0 AND COUNT(L>H1,4)>1; DRAWTEXT(T11,H*1.05,'三天'),COLORWHITE;STICKLINE(T11,O,C,2,0),COLORFF00FF;}{(REF(V2>=1,3) OR REF(V2>=1,2) OR REF(V2>=1,1)) };L11:=MIN(REF(L,1),L);L10:=MIN(L11,REF(L,2));L21:=MAX(REF(L,1),L);L20:=MAX(L21,REF(L,2));T111:=(REF(V2>=1,3) OR REF(V2>=1,2) OR REF(V2>=1,1)) AND((L10>L1 AND L20>H1) OR (L11>L1 AND L21>H1));T11:=T111 AND REF(T111,1)=0;STICKLINE(T11,O,C,2,0),COLORFF00FF;高:=REF(HHV(H,N),M);低:=REF(LLV(L,N),M);H19:=高-(高-低)*0.191;H38:=高-(高-低)*0.382;H中:=高-(高-低)*0.5;H61:=高-(高-低)*0.618;H80:=高-(高-低)*0.809;顶点:REFDATE(高,DATE),POINTDOT,LINETHICK2,COLORWHITE;%19.8:REFDATE(H19,DA TE),POINTDOT,LINETHICK2,COLORYELLOW;%38.2:REFDATE(H38,DA TE),POINTDOT,LINETHICK2,COLORGREEN;%50:REFDATE(H中,DATE),POINTDOT,LINETHICK2,COLORRED;%61.8:REFDATE(H61,DA TE),POINTDOT,LINETHICK2,COLORMAGENTA;%80.9:REFDATE(H80,DA TE),POINTDOT,LINETHICK2,COLORBLUE;低点:REFDATE(低,DATE),POINTDOT,LINETHICK2,COLORWHITE; DRAWTEXT(ISLASTBAR,顶点,'顶点'),COLORWHITE;DRAWTEXT(ISLASTBAR,低点,'低点'),COLORWHITE;STICKLINE(T1,A1,A1+B1/2,2,0),COLOR007575;STICKLINE(T1,A1+B1/2,A1+B1,2,0),COLORBLUE;STICKLINE(T11 AND T12,A1,A1+B1/2,2,0),COLORFF00FF;STICKLINE(T11 AND T12,A1+B1/2,A1+B1,2,0),COLORYELLOW;STICKLINE(T1 AND T12,A1+B1/3,A1+B1,2,0),COLORYELLOW;STICKLINE(T1 AND T12,A1,A1+B1/3,2,0),COLOR007575;STICKLINE(T1 AND T12,A1+B1/3,A1+B1*2/3,2,0),COLORBLUE;STICKLINE(T2 AND T12,A1+B1/2,A1+B1,2,0),COLORRED;STICKLINE(T2 AND T12,A1,A1+B1/2,2,0),COLORYELLOW;主图参数设置:倍量成交量VVOL:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,-1,-1),COLOR00C0C0; VOLUME:VOL,VOLSTICK;AA:=VOL>=REF(V,1)*1.91 && C>REF(C,1);AA1:=VOL<REF(LLV(VOL,21),1);AA2:=VOL<REF(LLV(VOL,55),1);AA3:=ABS(VOL-REF(VOL,1))/REF(VOL,1)<=0.05;STICKLINE(AA,0,V,1,0),COLORYELLOW;STICKLINE(AA1,0,V,1,0),COLORGREEN;STICKLINE(AA2,0,V,1,0),COLORMAGENTA;STICKLINE(AA3,0,V,1,0),COLORWHITE;MV1:MA(VOL,5);MV2:MA(VOL,15);。
通达信副图公式
通达信副图公式主力多空副图V1:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4),0.9);HY1:=REF(EMA(V1,3),1);多空趋势:=MA((CLOSE - HY1) * 10,2);操盘:STICKLINE(多空趋势>=0 AND 多空趋势>=REF(多空趋势,1),0,多空趋势,3,3),COLORYELLOW; 减仓:STICKLINE(多空趋势>=0 AND 多空趋势< REF(多空趋势,1),0,多空趋势,3,3),COLORYELLOW;反弹:STICKLINE(多空趋势<0 AND 多空趋势>=REF(多空趋势,1),0,多空趋势,3,3),COLORGREEN;寻底:STICKLINE(多空趋势<0 AND 多空趋势< REF(多空趋势,1),0,多空趋势,3,3),COLORGREEN;机构持仓量换手:=V*100/CAPITAL;主力:=MA(换手,4);大户:=MA(换手,9);中户:=MA(换手,17);散户:=MA(换手,34);均量:=(主力+大户+中户+散户)/4;主力能量:=(主力-均量);操盘:STICKLINE(主力能量>=0 AND 主力能量>=REF(主力能量,1),0,主力能量,3,3),COLORYELLOW;减仓:STICKLINE(主力能量>=0 AND 主力能量<REF(主力能量,1),0,主力能量,3,3),COLORYELLOW;反弹:STICKLINE(主力能量<0 AND 主力能量>=REF(主力能量,1),0,主力能量,3,3),COLORGREEN;寻底:STICKLINE(主力能量<0 AND 主力能量< REF(主力能量,1),0,主力能量,3,3),COLORGREEN;克星副图X1:= (O+H+L+3*C)/6;X2 := ((X1+C+H+O+L+(O+C)/2+(O+L)/2+(O+H)/2+(C+L)/2+(C+H)/2+(L+H)/2+(O+C+H)/3+(O+C+L)/3)+(O+H+L)/3+(C+H+L)/3)/15; X3 := EMA(X1,13) - EMA(X1,21);X4 := EMA(X3,3);X5 := EMA(X3,10);X6:=EMA(X2,7)-EMA(X2,21);X7:=EMA((0.668*REF(X6,1)+0.333*X6),1);X8:=MA(AMOUNT/(100*V),13);X9:= (X1-X8)/X8*100;Q1:=EMA(C,12)-EMA(C,26);{MACD}Q2:=EMA(Q1,9);Q3:=Q1-Q2;B1:=EMA(C,5)-EMA(C,13);B2:=EMA(B1,3);B3:=B1-B2;B4:=Q1>0 AND B3>0;{中线处于强势中的调整,短线强势}B5:=B1>0 AND Q3>0 AND B3>0;{中短线强势,短线处于强势中的强势}B6:=Q1>REF(Q1,1)AND B1>REF(B1,1)ANDQ2>REF(Q2,1)AND B2>REF(B2,1);{四线同时向上}B7:=Q3>0 AND B3>0;B8:=B4 OR B5 OR B6 AND B7;XX1:=10*B3; XX2:=10*Q3;短关注:STICKLINE(B3>0 ANDQ1-Q2<0,10*B3,0,2,1),COLORWHITE;买区:STICKLINE(B8,XX1,0,2,1),COLORB2FFAB;短加速:STICKLINE(CROSS(B1,0),10*B3,0,2,0),COLORFF9966; 中加速:STICKLINE(CROSS(Q1,0),10*Q3,0,2,0),COLOR0099FF; 强势:STICKLINE(Q3>0 ANDQ1>0,10*Q3,0,2,1),COLOR6268FF;{中线强势中的强势} 弱强:STICKLINE(Q3>0 ANDQ1<0,10*Q3,0,2,1),COLORB2A8FF;{中线弱势中的强势} 减仓:STICKLINE(B3>0 AND Q1>0 ANDB3<REF(B3,1),10*B3,0,2,1),COLOR5EFFFF;做多:IF(X6>=X7,X6+0.018,X7)*4,COLOR0098FF;涨:IF(X4>=X5,X4+0.011,X5)*4,COLORMAGENTA;做空:IF(X7-X6,X7,X6)*4,COLORGREEN;跌:IF(X5-X4,X5,X4)*4,COLORFF5B00;费氏数:=ZIG(3, 10)>REF(ZIG(3,10),1);成立距今:=BARSLAST(费氏数=1);DRAWTEXT(成立距今=5,0,'鱼'),COLORYELLOW;{觅庄建仓副图}V AR2:=REF(LOW,1);V AR3:=SMA(ABS(LOW-VAR2),13,1)/SMA(MAX(LOW-VAR 2,0),13,1)*100;V AR4:=EMA(IF(CLOSE*1.2,V AR3*13,V AR3/13),13);V AR5:=LLV(LOW,34);V AR6:=HHV(V AR4,34);V AR7:=IF(LLV(LOW,56),1,0);V AR8:=EMA(IF(LOW<=V AR5,(V AR4+V AR6*2)/2,0),3)/61 8*V AR7;V AR9:=EMA(CLOSE,5);V AR10:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*(-10); STICKLINE(VAR9>REF(V AR9,1),0,V AR9*0.08,4,1),COL OR10E410;减仓:IF(VAR9>REF(V AR9,1),V AR9,0),COLOR10E410,LINE THICK0;STICKLINE(VAR9<REF(V AR9,1),0,V AR9*0.08,4,1),COLO R1010FF;增仓:IF(VAR9<REF(V AR9,1),V AR9,0),COLOR1010FF,LINET HICK0;STICKLINE(VAR8>REF(V AR8,1),0,V AR8,4,1),COLOR10 FFFF;主力进场:IF(VAR8>REF(V AR8,1),V AR8*8,0),COLOR10FFFF,LI NETHICK0;STICKLINE(VAR8<REF(V AR8,1),0,V AR8,4,1),COLORFFF810;洗缓:IF(VAR8<REF(V AR8,1),V AR8*10,0),COLORFFF810,LI NETHICK0;主力持仓:(LOW*5),COLORFF10FF,LINETHICK0;增减力度:V AR10,COLORFF7676;XL1:=MA(LOW,2)*0.96;XL2:=MA(LOW,26)*0.85;XL3:=REF(XL1,1)<XL2 AND REF(XL1,1)<XL1 AND REF(XL1,1)<REF(XL1,2);STICKLINE(XL3,0,V AR8*3,4,0),COLOR006EFF; DRAWTEXT(XL3,V AR8*2,'买'),COLOR006EFF;↑买:DRAWICON(XL3,0,4),COLORRED;明确买卖副图{n1:1,100,5; n2:1,100,5;n:1,100,9;}俺的牛A: MA(CLOSE,13);俺的牛B: (EMA(CLOSE,N1)*7+EMA(CLOSE,N2)*3)/10; 俺的牛C: MA(CLOSE,120),COLOR9999FF;V AR3:=MA(CLOSE,13);V AR4:=100-ABS((CLOSE-VAR3)/V AR3*100);V AR5:=LLV(LOW,75);V AR6:=HHV(HIGH,75);V AR7:=(V AR6-VAR5)/100;V AR8:=SMA((CLOSE-VAR5)/V AR7,20,1);V AR9:=SMA((OPEN-VAR5)/V AR7,20,1);V ARA:=3*V AR8-2*SMA(V AR8,15,1);V ARB:=3*V AR9-2*SMA(V AR9,15,1);V ARC:=100-V ARB;V ARD:=REF(LOW,1)*0.9;V ARE:=LOW*0.9;V ARF:=(V ARE*VOL+V ARD*(CAPITAL-VOL))/CAPITAL; V AR10:=EMA(V ARF,30);V AR11:=CLOSE-REF(CLOSE,1);V AR12:=MAX(VAR11,0);V AR13:=ABS(V AR11);V AR14:=SMA(VAR12,7,1)/SMA(V AR13,7,1)*100;V AR15:=SMA(VAR12,13,1)/SMA(V AR13,13,1)*100;V AR16:=BARSCOUNT(CLOSE);V AR17:=SMA(MAX(V AR11,0),6,1)/SMA(ABS(VAR11),6,1)* 100;V AR18:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-L LV(LOW,60))+100;V AR19:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW ,15))*100;V AR1A:=SMA((SMA(VAR19,4,1)-50)*2,3,1);V AR1B:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-L LV(INDEXL,14))*100;V AR1C:=SMA(V AR1B,4,1);V AR1D:=SMA(V AR1C,3,1);V AR1E:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;V AR1F:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW, N))*100;V AR21:=SMA(VAR1F,3,1);V AR22:=SMA(VAR21,3,1);T1:=V AR22>=REF(V AR22,1) ANDREF(V AR22,1)<REF(V AR22,2);T2:=V AR22<=REF(V AR22,1) ANDREF(V AR22,1)>REF(V AR22,2);T3:=V AR22>=REF(V AR22,1);T4:=V AR22<=REF(V AR22,1);散户:=SMA(VAR22,3,1);T5:=CROSS(VAR22,散户) AND V AR22<30;T6:=CROSS(散户,V AR22) AND 散户>75;T7A:=DRAWTEXT(L>REF(H,1),MA(CLOSE,60),'←跳高缺口!'),COLOR00FFFF;T7:=DRAWTEXT(T5,MA(CLOSE,30),'←坚决跟进!'),COLOR00FFFF;T8:=DRAWTEXT(T1,MA(CLOSE,5),'←短线买入!'),COLOR00FFFF;DRAWTEXT(T3,俺的牛C,'←短线向好!'),COLOR00FFFF;T9A:=DRAWTEXT(H<REF(L,1),MA(CLOSE,60),'←跳低缺口!'),COLORFFFF00;T9:=DRAWTEXT(T6,MA(CLOSE,30),'←坚决退出!'),COLORFFFF00;T10:=DRAWTEXT(T2,MA(CLOSE,5),'←短线卖出!'),COLORFFFF00;DRAWTEXT( T4,俺的牛C,'←短线看坏!'),COLORFFFF00;箱顶:MA(REF(HHV(CLOSE,30),1),2),COLOR0000FF;箱底:MA(REF(LLV(CLOSE,30),1),2),COLOR00FF00;中华方圆副图MA1:MA(CLOSE,6),LINETHICK2;MA2:MA(CLOSE,13),LINETHICK2;MA3:MA(CLOSE,62),LINETHICK2;MA4:MA(CLOSE,120),LINETHICK2;MA5:MA(CLOSE,250),LINETHICK2;X:=EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),68);Y:=EMA(CLOSE,10);LL:=REF(CLOSE,2);MM:=((SMA(MAX((CLOSE - LL),0),6,1) /SMA(ABS((CLOSE - LL)),6,1)) * 100);DB:=IF(((MM < REF(MM,1)) AND (MM > 79)),MM,0); DRAWTEXT(CROSS(Y,X),(LOW * 0.985),'▲'),LINETHICK2, COLORYELLOW;DRAWTEXT(CROSS(X,Y),(HIGH * 1.02),''),LINETHICK2, COLORYELLOW;DRAWTEXT(DB,(HIGH * 1.02),'○'),LINETHICK2, COLORYELLOW;V AR1:=LLV(LOW,21);V AR2:=HHV(HIGH,21);AK1:=EMA((((CLOSE - V AR1) / (V AR2 - V AR1)) * 100),5); AK:=EMA((((CLOSE - V AR1) / (V AR2 - V AR1)) * 50),13); DD:=EMA(((0.667 * REF(AK1,1)) + (0.333 * AK1)),2);V AR3:=LLV(LOW,55);V AR4:=HHV(HIGH,34);V AR5:=EMA((((CLOSE - V AR3) / (V AR4 - V AR3)) * 100),3); V AR6:=((AK + VAR5) / 2);V AR7:=EMA(((0.667 * REF(V AR5,1)) + (0.333 * AK1)),2); V AR8:=EMA(V AR6,5);BB:=EMA(((0.667 * REF(V AR8,1)) + (0.333 * V AR8)),2); AB:=CROSS(AK1,AK);BB1:=(CROSS(AK1,BB) AND (BB < 30));CD:=(BB1 * 0.6);DRAWTEXT((CD = 0.6),(LOW * 0.99),'□'),LINETHICK2, COLORYELLOW;DRAWTEXT((AB = 1),(LOW * 0.99),'□'),LINETHICK2, COLORYELLOW; 超级买卖副图V AR1:=HHV(HIGH,500);V AR2:=LLV(LOW,500);V AR3:=HHV(HIGH,250);V AR4:=LLV(LOW,250);V AR5:=HHV(HIGH,125);V AR6:=LLV(LOW,125);V AR7:=MA((V AR1*0.45+V AR3*0.5+V AR2+V AR4+V AR6)/5, 18);V AR8:=V AR7*1.18;V AR9:=V AR7*1.31;V ARA:=MA((V AR3*0.93+V AR7*2+V AR8*1.8+V AR9*1.5)/4, 35);V ARB:=MA((VAR1*0.95+V AR7*3+V AR8*2)/3,30)*0.97;满仓:V AR7;半仓: V AR8;低吸: V AR9;高抛: V ARA;出货: V ARB;宝塔线副图B0:=REF(C-O,2);B1:=REF(C,1);B2:=REF(C,2);B3:=REF(C,3); B4:=REF(C,4);CMAX:=MAX(MAX(MAX(C,B1),B2),B3);CMIN:=MIN(MIN (MIN(C,B1),B2),B3);STICKLINE(C=CMAX AND (B1>=B2 OR B1>=B3) OR B1=CMAX AND (B2=CMIN OR B3=CMIN) ANDC>=B2 ORB2=CMAX AND B3=CMIN AND C>=B1 OR B3=CMAX AND C>=B1 AND C>=B2,B1,C,5,1),COLORRED; STICKLINE(C=CMAX ANDB1=CMIN,B2,C,5,1),COLORRED;STICKLINE(C=CMIN AND (B1<B2 OR B1<B3) ORB1=CMIN AND (B2=CMAX OR B3=CMAX) AND C<B2 ORB2=CMIN AND B3=CMAX AND C<B1 OR B3=CMIN AND C<B1 AND C<B2,B1,C,5,0),COLORGREEN;STICKLINE(B1=CMAX ANDC=CMIN,B2,C,5,0),COLORGREEN;STICKLINE(B1=CMIN AND C>=B2 OR (B2=CMIN AND B1<=B3 ORB3=CMIN AND B1<=B2) AND B2<B4 ANDC>=B1,B1,B2,5,0),COLORGREEN;STICKLINE(B1=CMAX AND C<B2 OR (B2=CMAX AND B1>B3 ORB3=CMAX AND B1>B2) AND B2>=B4 ANDC<B1,B1,B2,5,1),COLORRED;{晚归副图}V ARA:=EMA(REF(CLOSE,1),4);色彩峰:=(SMA(MAX(CLOSE-V ARA,0),6,1)/SMA(ABS(CLOSE-V ARA),6,1)*100);STICKLINE(色彩峰,0,150,5,0),COLORFFB06C; STICKLINE(色彩峰,0,-50,5,0),COLORFFB000; STICKLINE(色彩峰>0,0,色彩峰,5,0),COLOR00003A; AA:=100*EMA((100*(HIGH-REF(LOW,1))/REF(LOW,1)-2.61 8),2);V ARA1:=VOL/CAPITAL/100< 0.015;V ARA2:=C/REF(C,1)> 1.05 AND C>O;V ARA3:=CLOSE<=1.47*LLV(CLOSE,58) ANDCLOSE<=15;V ARA4:=(-100)*(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LL V(LOW,3));V ARZ:=IF(V ARA1 AND V ARA2 AND V ARA4<40,1,0); PF1 :=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,2 7))*100;RSV:=SMA(PF1,9,1);DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);DEA :=EMA(DIFF,9);MACD :=2000* (2*(DIFF-DEA))/EMA(C,30),LINETHICK0; FASTK1:=SMA(RSV,3,1);K1:=SMA(FASTK1,2,1), COLORYELLOW;D1:=SMA(K1,5,1),COLORB56C00;T3:=(K1-D1)>REF((K1-D1),5);STICKLINE(MACD>=0,0,MACD,4,0),COLOR666666; STICKLINE(MACD>=0 ANDMACD>REF(MACD,1),0,MACD,3,0),COLORAAAAAA; STICKLINE(MACD<0,0,0.3*MACD,4,0),COLOR666666; {STICKLINE(MACD<0,0,-0.3*MACD,0.1,0),COLOR9A9A9A;}STICKLINE(MACD<0 ANDMACD>REF(MACD,1),0,0.3*MACD,0.1,0),COLOR6A9A 9A;RSV2:=(CLOSE-LLV(LOW,4))/(HHV(HIGH,4)-LLV(LOW,4))*100; FASTK:=SMA(RSV2,3,1);K:=SMA(FASTK,2,1), COLORYELLOW;D:=SMA(K,5,1),COLORB56C00;STICKLINE(K1>=D1,D1,K1,3,0),COLOR0000FF; STICKLINE(K1<D1,D1,K1,3,0),COLORFFFFFF; STICKLINE(K>=D,D,K,1,0),COLORMAGENTA; STICKLINE(K<D,D,K,1,0),COLORB56C00; DRAWTEXT(色彩峰<3.5,-30,'ャ'),COLORDBDBDB; DRAWTEXT(色彩峰<3.5,-30,'︼'),COLOR688EC1; DRAWTEXT(CROSS(色彩峰,90),98,'ヲ'),COLORFFFFFF; DRAWTEXT(FILTER(MACD<0 ANDMACD>REF(MACD,1) AND 色彩峰<20,5) ANDT3,-1,'Ψ'), COLORFFFFFF;黑马线副图LS3:=LLV(HIGH,240);LS4:=100*(CLOSE-LS3)/LS3;LS5:=REF(LLV(CLOSE,480),1);LS6:=REF(HHV(CLOSE,480),1);LS7:=100*(CLOSE-LS5)/(LS6-LS5);LS8:=(CLOSE-LLV(CLO SE,981))/(HHV(CLOSE,981)-LLV(CLOSE,981))*100;LS9:=(CLOSE-LLV(CLOSE,393))/(HHV(CLOSE,393)-LLV(C LOSE,393))*100;LSA:=(CLOSE-LLV(LOW,981))/(HHV(HIGH,981)-LLV(LOW ,981))*100;LSB:=(CLOSE-LLV(LOW,393))/(HHV(HIGH,393)-LLV(LOW, 393))*100;LSC1:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100 )-LLV(LOW,100)),5);LSC:=LSC1/4;LSD:=IF(LSC>23.6,LSC,0);LSE:=LSC<1;LSF:=LSD;LS10:=LS4<LS7 AND LS4<0;LS11:=1;LS12:=(HIGH+LOW+CLOSE*2)/4*LS11;LS13:=EMA(LS12,21);LS14:=STD(LS12,21);LS15:=((LS12-LS13)/LS14*100+200)/4*LS11;LS161:=EMA(LS15,89);LS16:=(LS161-25)*1.56*LS11;LS171:=EMA(LS16,5);LS17:=LS171*1.22*LS11;LS181:=EMA(LS17,3);LS18:=LS181*LS11;LS19:=3*LS17-2*LS18*LS11;LS1A:=IF(CROSS(LS19,LS17)AND CROSS(LS19,LS18)AND CROSS(LS17,LS18),1,0);LS1B:=IF(CROSS(LS17,LS19)AND CROSS(LS18,LS19)AND CROSS(LS18,LS17),1,0);LS1C:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100 )-LLV(LOW,100)),13)/4;LS1D1:=EMA(CLOSE,2);LS1D2:=EMA(CLOSE,89);LS1D:=LS1D1-LS1D2;LS1E:=EMA(LS1D,30);LS1F:=(LS1D-LS1E)*20;LS20:=POW(LS1F,3)*0.1+POW(LS1F,2);LS21:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));LS22:=EMA(LS21*0.97,3);LS23:=(HIGH+LOW+CLOSE)/3;LS24:=(LS23-MA(LS23,14))/(0.015*A VEDEV(LS23,14)); LS25:=IF(LS1F>0.015,LS20,0)/45;庄拉线:=LS25;LS261:=EMA(CLOSE,2);LS262:=EMA(CLOSE,150);LS26:=LS261-LS262;LS27:=EMA(LS26,100);LS28:=2*(LS26-LS27);LS29:=POW(LS28,3)*0.1+POW(LS28,1);LS2A:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));LS2B:=EMA(LS2A*0.97,3);LS2C:=(HIGH+LOW+CLOSE)/3;LS2D:=(LS2C-MA(LS2C,14))/(0.015*A VEDEV(LS2C,14)); 黑马线:IF(LS28>0.1,LS29,0)*5;量价线:(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;常数线:=0;X1:LS3;X2:LS5;X3:LS6;吸筹副图V AR1:=IF(YEAR>=2050 AND MONTH>=1,0,1);V AR2:=MA(HHV(HIGH,500),21)*V AR1;V AR3:=MA(HHV(HIGH,240),21)*V AR1;V AR4:=MA(HHV(HIGH,90),21)*VAR1;V AR5:=MA(LLV(LOW,500),21)*V AR1;V AR6:=MA(LLV(LOW,240),21)*V AR1;V AR7:=MA(LLV(LOW,90),21)*V AR1;V AR8:=MA((V AR5*0.96+V AR6*0.96+V AR7*0.96+V AR2*0.5 58+V AR3*0.558+V AR4*0.558)/6,21)*V AR1;V AR9:=MA((V AR5*1.25+V AR6*1.23+V AR7*1.2+V AR2*0.55 +V AR3*0.55+V AR4*0.65)/6,21)*V AR1;V ARA:=MA((V AR5*1.3+V AR6*1.3+V AR7*1.3+V AR2*0.68+ V AR3*0.68+V AR4*0.68)/6,21)*V AR1;V ARB:=MA((VAR8*3+V AR9*2+V ARA)/6*1.738,21)*V AR1; V ARC:=IF(DATE<=1341231,V ARB,V ARB*DAY)*V AR1; V ARD:=LOW*VAR1;V ARE:=REF(LOW,1)*V AR1;V ARF:=SMA(ABS(V ARD-V ARE),3,1)/SMA(MAX(VARD-V A RE,0),3,1)*1*V AR1;V AR10:=MA(IF(CLOSE*1.35<=V ARC,V ARF*10,V ARF/10),3)*V AR1;V AR11:=LLV(LOW,30)*V AR1;V AR12:=HHV(V AR10,30)*V AR1;V AR13:=1391231*V AR1;买进0号:IF(DATE<=V AR13,MA(IF(LOW<=V AR11,(V AR10+V AR 12*2)/2,0),3),1)/10*V AR1;50,POINTDOT;选股:IF(REF(买进0号,1)>REF(买进0号,2) AND REF(买进0号,1)>买进0号,买进0号,0);分水岭副图A:=MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE, 17),1));B:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1) ;分水岭:IF(MA(CLOSE,17)<B,B,MA(CLOSE,17)),COLORFF00 FF,LINETHICK2;操作线:分水岭-(EMA(C,3)-分水岭),COLOR00FFFF,LINETHICK2;PM:MA(C,5),COLORWHITE,LINETHICK2;IF(PM>REF(PM,1),PM,DRAWNULL),COLORRED,LINETHICK2; IF(PM=REF(PM,1),PM,DRAWNULL),COLORRED;IF(PM<REF(PM,1),PM,DRAWNULL),COLORFF9900,LIN ETHICK2;S:=(PM> 操作线);DD:=分水岭<REF(分水岭,1);IF(DD,分水岭,DRAWNULL),COLOR00FF00,LINETHICK2; IF(S,分水岭,DRAWNULL),COLOR00FF00,POINTDOT,LINETHICK4; DRAWICON(CROSS(分水岭,操作线),分水岭-0.1,1);{买入红箭头}A1:=BARSLAST(REF(CROSS("MACD.DIF","MACD.DEA"), 1));B1:=REF(C,A1+1)> C ANDREF("MACD.DIF",A1+1)<"MACD.DIF" ANDCROSS("MACD.DIF","MACD.DEA");DRAWTEXT(B1> 0,L-0.02,'★M'),COLOR00FFFF;{MACD底背离}A2:=BARSLAST(REF(CROSS("KDJ.K","KDJ.D"),1));B2:=REF(C,A2+1)> C ANDREF("KDJ.K",A2+1)<"KDJ.K" ANDCROSS("KDJ.K","KDJ.D");DRAWTEXT(B2,L-0.10,'◎K'),COLORFF00FF;{KDJ底背离} A3:=BARSLAST(REF(CROSS("RSI.RSI1","RSI.RSI2"),1)); B3:=REF(C,A3+1)> C ANDREF("RSI.RSI1",A3+1)<"RSI.RSI1" ANDCROSS("RSI.RSI1","RSI.RSI2");DRAWTEXT(B3> 0,L-0.18,'R'),COLOR0000FF;{RSI底背离}C1:=BARSLAST(REF(CROSS("MACD.DEA","MACD.DIF"), 1));D1:=REF(C,C1+1)<C AND REF("MACD.DIF",C1+1)> "MACD.DIF" AND CROSS("MACD.DEA","MACD.DIF"); DRAWTEXT(D1> 0,H+0.16,'★M'),COLOR00FF00;{MACD顶背离}C2:=BARSLAST(REF(CROSS("KDJ.D","KDJ.K"),1));D2:=REF(C,C2+1)<C AND REF("KDJ.K",C2+1)> "KDJ.K" AND CROSS("KDJ.D","KDJ.K");DRAWTEXT(D2> 0,H+0.08,'◎K'),COLORFFFFCC;{KDJ 顶背离}C3:=BARSLAST(REF(CROSS("RSI.RSI2","RSI.RSI1"),1));D3:=REF(C,C3+1)<C AND REF("RSI.RSI1",C3+1)>"RSI.RSI1" AND CROSS("RSI.RSI2","RSI.RSI1"); DRAWTEXT(D3> 0,H+0.04,'R'),COLORFF9900;{RSI顶背离};安全线副图V AR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;A1:(EMA(V AR1,3)+EMA(VAR1,6)+EMA(V AR1,12)+EMA(V AR1 ,24))/4;A2: EMA(A1,2);A3: EMA(A2,2);A4: EMA(A3,2);A5: EMA(A4,2);A6: EMA(A5,2);A7: EMA(A6,2);A8: EMA(V AR1,2.78)*1.028;A9: MA(OPEN,3.2)*1.028;安全线: EMA(CLOSE,55), CIRCLEDOT;春夏秋冬副图M3:EMA(CLOSE,3),LINETHICK1;M8: EMA(CLOSE,8),LINETHICK1;年:MA(CLOSE,26),COLOR00FF00,LINETHICK2;大雪:=MA((((HIGH + LOW) + CLOSE) / 3),8);无痕:=MA((((HIGH + LOW) + CLOSE) / 3),21);V AR111:=EMA(((OPEN + CLOSE) / 2),26);V AR222:=MA(COST(30),3);天下有雪:=MA(COST(50),3);V AR3:=MA(COST(80),3);V AR4:=(((HIGH + LOW) + CLOSE) / 3);V AR5:=EMA(((((OPEN + HIGH) + LOW) + CLOSE) / 4),233); V AR6:=(V AR5 + ((V AR5 * 6) / 100));严冬:STICKLINE((V AR4 >0.1),HIGH,LOW,0.05,0),COLORFFFFFF;早春:STICKLINE(((((V AR4 < 天下有雪) AND (V AR4 > 无痕)) OR ((VAR4 < V AR5) AND (V AR4 > 无痕))) OR ((V AR4 > 无痕) AND (V AR111 > 无痕))),HIGH,LOW,0.05,0),COLOR00FF00;初夏:STICKLINE((((((V AR4 > 天下有雪) AND (V AR4> V AR111)) AND (VAR4 > VAR5)) AND (VAR222 > REF(V AR222,1))) OR ((((VAR4 > V AR222) AND (VAR4> V AR111)) AND (VAR4 > VAR5)) AND (VAR222 >REF(V AR222,1)))),HIGH,LOW,0.05,0),COLOR0000FF;深秋:STICKLINE(((((V AR4 > V AR6) AND (V AR4 >V AR3)) AND (大雪> 无痕)) AND (VAR111 >REF(V AR111,1))),HIGH,LOW,0.05,0),COLOR00FFFF; STICKLINE(((V AR4 > 0.1) AND (CLOSE < OPEN)),OPEN,CLOSE,2,0),COLORFFFFFF;STICKLINE(((V AR4 > 0.1) AND (CLOSE >= OPEN)),OPEN,CLOSE,2,1),COLORFFFFFF;STICKLINE((((((V AR4 < 天下有雪) AND (V AR4 > 无痕)) AND (CLOSE < OPEN)) OR (((V AR4 < V AR5) AND (V AR4 > 无痕)) AND (CLOSE < OPEN))) OR (((V AR4 > 无痕) AND (V AR111 > 无痕)) AND (CLOSE < OPEN))),OPEN,CLOSE,2,0),COLOR00FF00;STICKLINE((((((V AR4 < 天下有雪) AND (V AR4 > 无痕)) AND (CLOSE > OPEN)) OR (((V AR4 < VAR5) AND (V AR4 > 无痕)) AND (CLOSE > OPEN))) OR (((V AR4 > 无痕) AND (VAR111 > 无痕)) AND (CLOSE >= OPEN))),OPEN,CLOSE,2,1),COLOR00FF00; STICKLINE(((((((V AR4 > 天下有雪) AND (V AR4 >V AR111)) AND (V AR4 > V AR5)) AND (V AR222 > REF(V AR222,1))) AND (CLOSE < OPEN)) OR (((((V AR4 > V AR222) AND (V AR4 > V AR111)) AND (V AR4 >V AR5)) AND (V AR222 > REF(VAR222,2))) AND (CLOSE < OPEN))),OPEN,CLOSE,2,0),COLOR0000FF; STICKLINE(((((((V AR4 > 天下有雪) AND (V AR4 >V AR111)) AND (V AR4 > V AR5)) AND (V AR222 >REF(V AR222,1))) AND (CLOSE > OPEN)) OR (((((V AR4 > V AR222) AND (V AR4 > V AR111)) AND (V AR4 >V AR5)) AND (V AR222 > REF(V AR222,1))) AND (CLOSE >= OPEN))),OPEN,CLOSE,2,1),COLOR0000FF; STICKLINE((((((V AR4 > V AR6) AND (V AR4 > V AR3)) AND (大雪> 无痕)) AND (V AR111 > REF(V AR111,1))) AND (CLOSE <OPEN)),OPEN,CLOSE,2,0),COLOR0000FF;STICKLINE((((((V AR4 > V AR6) AND (V AR4 > V AR3)) AND (大雪> 无痕)) AND (V AR111 > REF(V AR111,1))) AND (CLOSE < OPEN)),H,L,0.05,0),COLOR0000FF; STICKLINE((((((V AR4 > V AR6) AND (V AR4 > V AR3)) AND (大雪> 无痕)) AND (V AR111 > REF(V AR111,1))) AND (CLOSE >=OPEN)),OPEN,CLOSE,2,1),COLOR00FFFF;逃顶副图V AR1:=(HHV(HIGH,8)-CLOSE)/(HHV(HIGH,8)-LLV(LOW,8 ))*100-70;V AR2:=SMA(V AR1,8,1)+100;V AR3:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8)) *100;V AR4:=SMA(V AR3,3,1);V AR5:=SMA(V AR4,3,1)+100;V AR6:=V AR5-V AR2;Q: IF(V AR6>100,V AR6-100,0),COLORFFFFFF;IF(REF(Q,1)<Q,Q,REF(Q,1)),COLORRED;IF(REF(Q,1)>Q,Q,REF(Q,1)),COLORFF3399; 觅庄建仓副图V AR1:=REF(LOW,1);V AR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR 1,0),13,1)*4;V AR3:=EMA(V AR2,13);V AR4:=LLV(LOW,34);V AR5:=EMA(IF(LOW<=V AR4,V AR3,0),3);主力进场:STICKLINE(VAR5>REF(V AR5,1),0,V AR5,7,0 ),COLORR ED;铁底副图A:=(3*C+L+O+H)/6;X:(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF( A,4)+15*REF(A,5)+14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10* REF(A,10)+9*REF(A,11)+8*REF(A,12)+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3* REF(A,17)+2*REF(A,18)+REF(A,20))/210,COLORMAGENTA,LINETHICK2,POINTDO T;Y:MA(X,15),COLORWHITE,LINETHICK2,POINTDOT; DRAWTEXT(X>Y ANDREF(X>Y,1)=0,X-0.5,'↑\'),LINETHICK7;V AR4:=(2*CLOSE+HIGH+LOW)/4;成本区:EMA(V AR4,90)*0.995,COLORGREEN,CIRCLEDOT; 操作区:EMA(V AR4,142)*0.998,COLORRED,LINETHICK2; 铁底区:EMA(V AR4,250)*0.885,COLORYELLOW,LINETHICK2;博庄副图主线:=(MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24)+MA( CLOSE,36))/4,COLORFF00FF,LINETHICK2;股价重心:=DMA(AMOUNT/VOL/100,VOL/CAPITAL),COLORGREEN,LINETHICK2;MA14:=EMA(CLOSE,14);MA34:=EMA(CLOSE,26);MA54:=EMA(CLOSE,54);MA90:=EMA(CLOSE,90);MA120:EMA(CLOSE,120),POINTDOT,LINETHICK2,COLO RWHITE;年线:EMA(C,250),COLORYELLOW,LINETHICK2;{中短波}HZ:=EMA(CLOSE,13);短波:EMA(HZ,1),COLOR00DD00,LINETHICK1;中波:EMA(HZ,26),COLORRED,LINETHICK1;均线148天:=EMA(C,148),POINTDOT,LINETHICK1,COLORGREEN; 成本:=SUM(AMOUNT,0)/SUM(VOL,0)/100,COLORYELLOW , LINETHICK2 ;HZ2:EMA(HZ,8),COLORGREEN,LINETHICK2;HZ4:EMA(HZ,39),COLORFF00FF,LINETHICK2;A1:STICKLINE(HZ2<HZ4,短波,HZ4,0.1,0),COLORBLUE ;A2:STICKLINE(短波>HZ2,短波,HZ2,0.1,0),COLORGREEN;A3:STICKLINE(中波>HZ4,中波,HZ4,0.1,0),COLORFF00FF;{慢速KDJ}RSV:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,6 0))*100;FASTK:=SMA(RSV,12,1);K:=SMA(FASTK,9,1),COLORYELLOW;D:=SMA(K,3,1),LINETHICK2,COLORBLUE;J:=3*K-2*D,LINETHICK1,COLORGREEN;{中波}V AR11:=3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-L LV(LOW,75))*100,20,1)-2*SMA(SMA((CLOSE-LLV(LOW,75 ))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);V AR22:=100-V AR11;中势线:=(-1)*(EMA(VAR22,1)-50)+42,COLORYELLOW,LINETHI CK2;TZ:=(CLOSE-LLV(LOW,331))/(HHV(HIGH,331)-LLV(LOW,3 31))*100;强势线:=SMA(TZ,5,1),LINETHICK2,COLORRED;大盘线:=70*(HHV(HIGH,39)-CLOSE)/(HHV(HIGH,39)-LLV(LO W,39)),COLOR009900,LINETHICK1;{量选}AA:=VOL/SUM(VOL,13);BB:=DMA(C,AA);CC:=VOL/SUM(VOL,34);DD:=DMA(C,CC);{背离}V AR00:=WINNER(CLOSE);V AR1:=FORCAST(V AR00,10);V AR2:=MA(V AR1,3);V AR3:=MA(V AR2,12);V AR4:=MA(V AR3,16);V AR5:=MA(V AR4,31);V AR6:=MA(V AR5,55);V AR7:=V AR5;V AR8:=V AR4>V AR2*1.11 AND V AR3>V AR2*1.095; A:=V AR4/V AR2;B:=V AR3/V AR2;V AR9:=V AR2>V AR1*0.95;TD:=V AR2/V AR1;V AR1H:=INDEXC;V AR2H:=MA(V AR1H,6);V AR3H:=MA(V AR1H,24);V AR4H:=MA(V AR1H,32);V AR5H:=MA(V AR1H,62);发出信号副图DIF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIF,9);MACD:=(DIF-DEA)*2,COLORSTICK; DRAWICON(MACD<0 ANDMACD>REF(MACD,1)ANDREF(MACD,1)<REF(MACD,2),L*0.99,1); DRAWICON(MACD>=0 ANDMACD<REF(MACD,1)ANDREF(MACD,1)>REF(MACD,2),H*1.01,2); V AR6H:=MA(V AR1H,105);V AR7H:=V AR5H;V AR8H:=V AR4H>V AR2H*1.11 ANDV AR3H>V AR2H*1.095;V AR9H:=V AR2H>V AR1H*0.95;PT:=(IF(H=L AND C=O AND L=C AND C>0 ANDREF(H,1)=REF(L,1) AND REF(C,1)=REF(O,1)AND REF(H,1)=REF(C,1) AND REF(C,1)>0,0,1))>0; G:=(V AR7H AND V AR8H AND V AR9H ANDCLOSE/COST(8)<=0.7985AND (COUNT(C=L,4)<3 OR C>REF(C,1)))AND PT OR V AR7 AND V AR8 AND V AR9 AND CLOSE/COST(5)<=0.8 AND((V AR1>OPEN OR V AR1>REF(OPEN,1) ORREF(V AR1,1)));背离:=V AR2<REF(V AR2,1) AND A>REF(A,1);买入信号1:=V AR1>A AND V AR2>B;买入信号2:=B>A AND 1>B AND A<1 ANDH=HHV(H,21);BUY:=COUNT(背离,20)>1 AND 买入信号2=1 ANDC>O OR CROSS(BB,DD);DRAWICON(CROSS(短波,HZ2),中波-0.08,9); DRAWTEXT(CROSS(短波,HZ2) AND C>O AND J>K AND J>D AND 大盘线<36 AND C>HZ4,L*1.09,'●'),COLORYELLOW;DRAWTEXT(CROSS(短波,HZ2) AND C>O AND J>KAND J>D AND 大盘线<36 AND C>HZ4,L*1.12,'做趋势'), COLORYELLOW;DRAWTEXT(CROSS(短波,HZ2),C,'♂');DRAWTEXT(CROSS ( 中波,HZ4),C,'♂');DRAWTEXT(CROSS ( 中波,MA120),C,'♂');DRAWTEXT(CROSS (HZ4,MA120),C,'♂');犀牛王副图V AR0:=100*(CLOSE-MA(AMOUNT/(100*VOL),5))/MA(AM OUNT/(100*VOL),5);V AR1:=(HIGH+LOW+CLOSE*2)/4;V AR2:=((V AR1-EMA(VAR1,21))/STD(VAR1,21)*100+200)/4; V AR3:=(EMA(VAR2,5)-25)*1.56;V AR4:=EMA(EMA(V AR3,2)*1.22,2);V AR5:=3*EMA(V AR3,2)*1.22-2*V AR4;V AR6:=EMA((VAR1-LLV(LOW,34))/(HHV(HIGH,34)-LLV(L OW,34))*100,13);V AR7:=EMA(0.667*REF(V AR6,1)+0.333*V AR6,2);V AR8:=EMA(V AR1,13)-EMA(V AR1,21);V AR9:=2*(V AR8-EMA(V AR6,2))*3.8;V AR10:=V AR9>REF(V AR9,1) AND V AR6 < 63 ANDV AR7 < 63 AND EMA(V AR3,2)*1.22 < 63 AND V AR4 <63 AND V AR5 < 63 ANDCROSS(V AR5,EMA(VAR3,2)*1.22) AND FINANCE(33)>0.01 AND FINANCE(34)> 1AND REF(CLOSE,23)/CLOSE> 1.2 ANDREF(CLOSE,10)/CLOSE < 1.5 ;V AR11:=MIN(REF(CLOSE,2)*0.865,REF(CLOSE,13)*0.772); V AR12:=IF((CLOSE-V AR11)/CLOSE < 4/100 ANDSUM(100*VOL/CAPITAL,5)/5 < 1.8 AND WINNER (CLOSE)*100 < 0.1,1,0);V AR13:=CLOSE < (MA(CLOSE,80)-MA(CLOSE,10)/3) AND VOL/240 > MA(VOL,5)/240 AND CLOSE > REF (CLOSE,1)*1.08 AND CLOSE < MA(CLOSE,13)*1.3;V AR14:=V AR0<-10 AND CLOSE < 10 ANDCLOSE/REF(CLOSE,1) > 0.935;V AR15:=MA(CLOSE,3)-CLOSE-WINNER(OPEN)+(COST(55 )-COST(45))/(COST(97)-COST(3))+(WINNER(C)-REF(WINNER(C),4))*0.05/MA(V/CAPITAL,5); STICKLINE(VAR15>=0,0,V AR15,6,0),COLOR6600CC; STICKLINE(VAR15<=0,0,V AR15,6,0),COLOR00FF99; STICKLINE(VAR15<=0,0,V AR15*0.4,6,0),COLORCC0033;STICKLINE(VAR15>=0,0,V AR15*0.4,6,0),COLORCC0033 ;STICKLINE(VAR12 > 0 OR V AR10 > 0 OR V AR13 >0 OR V AR14 > 0,0,0.6,6,0),L;。
个人珍藏凹口平量柱选股公式代码分享,自编,通达信用,有缘者得之
个人珍藏凹口平量柱选股公式代码分享,自编,通达信用,有
缘者得之
近来看到有股友发帖寻找一些选股公式,
个人今天拿出珍藏的凹口平量柱选股公式的代码出来分享。
此公式为自编,通达信用,为个人思路,非常简单但很管用。
收学分8个,希望炒股的你发他发大家发,有缘者得之。
自编凹口平量柱选股公式,参数N为相隔周期数
AA1:= C>O; {当日收阳线}
AA2:= DYNAINFO(17)>1.38; {量比值要求}
TJA:= AA1 AND AA2;
TJB:= C>O*1.035; {当日收阳线的实体要求}
NN:= INTPART(N/2);
TJC:= REF(LLV(V,3),NN)=REF(LLV(V,NN),NN); {量柱凹口形态的精细化要求}
XGN: ABS((VOL-REF(VOL,N))/REF(VOL,N))<0.055
AND REF(HHV(VOL,N-1),1)<REF(VOL,N)*1.005
AND REF(VOL,N)>REF(MA(VOL,5),N+1)*1.38
AND TJA AND TJB AND TJC;
以下为图示,红色字体为添加的注释。
凹口平量柱选股及副图公式-通达信适用
凹口平量柱选股及副图公式-通达信适用选股公式:{特别鸣谢:黑马王子。
此公式设计理念源自黑马王子。
此公式可同时选出7日-12日间的所以凹口平量柱。
} {使用副图指标,可以显示出各平量柱的时间段的长度} XGX7:=ABS((VOL-REF(VOL,7))/REF(VOL,7))<0.04 AND VOL>1.8*REF(VOL,2) ANDREF(VOL,1)<REF(VOL,7) ANDREF(VOL,2)<REF(VOL,7) ANDREF(VOL,3)<REF(VOL,7) ANDREF(VOL,(7-3))<REF(VOL,7) ANDREF(VOL,(7-2))<REF(VOL,7) ANDREF(VOL,(7-1))<REF(VOL,7);XGX8:=ABS((VOL-REF(VOL,8))/REF(VOL,8))<0.04 AND VOL>1.8*REF(VOL,2) ANDREF(VOL,1)<REF(VOL,8) ANDREF(VOL,2)<REF(VOL,8) ANDREF(VOL,3)<REF(VOL,8) ANDREF(VOL,(8-3))<REF(VOL,8) ANDREF(VOL,(8-2))<REF(VOL,8) ANDREF(VOL,(8-1))<REF(VOL,8);XGX9:=ABS((VOL-REF(VOL,9))/REF(VOL,9))<0.04 AND VOL>1.8*REF(VOL,2) ANDREF(VOL,1)<REF(VOL,9) ANDREF(VOL,2)<REF(VOL,9) ANDREF(VOL,3)<REF(VOL,9) ANDREF(VOL,(9-3))<REF(VOL,9) ANDREF(VOL,(9-2))<REF(VOL,9) ANDREF(VOL,(9-1))<REF(VOL,9);XGX10:=ABS((VOL-REF(VOL,10))/REF(VOL,10))<0.04 AND VOL>1.8*REF(VOL,2) ANDREF(VOL,1)<REF(VOL,10) ANDREF(VOL,2)<REF(VOL,10) ANDREF(VOL,3)<REF(VOL,10) ANDREF(VOL,(10-3))<REF(VOL,10) ANDREF(VOL,(10-2))<REF(VOL,10) ANDREF(VOL,(10-1))<REF(VOL,10);XGX11:=ABS((VOL-REF(VOL,11))/REF(VOL,11))<0.04 AND VOL>1.8*REF(VOL,2) ANDREF(VOL,1)<REF(VOL,11) ANDREF(VOL,2)<REF(VOL,11) ANDREF(VOL,3)<REF(VOL,11) ANDREF(VOL,(11-3))<REF(VOL,11) ANDREF(VOL,(11-2))<REF(VOL,11) ANDREF(VOL,(11-1))<REF(VOL,11);XGX12:=ABS((VOL-REF(VOL,12))/REF(VOL,12))<0.04 ANDVOL>1.8*REF(VOL,2) ANDREF(VOL,1)<REF(VOL,12) ANDREF(VOL,2)<REF(VOL,12) ANDREF(VOL,3)<REF(VOL,12) ANDREF(VOL,(12-3))<REF(VOL,12) ANDREF(VOL,(12-2))<REF(VOL,12) ANDREF(VOL,(12-1))<REF(VOL,12);XGX30:=(C-REF(C,1))>0 AND C>O;xgx31:=xgx7=1 or xgx8=1 or xgx9=1 or xgx10=1 or xgx11=1 or xgx12=1; XGX: XGX31=1 AND XGX30=1;========================================副图公式:{凹口平量柱副图指标公式}{特别鸣谢:黑马王子。
通达信选股最全公式
1、通达信选股公式{MACD、KDJ、RSI底背离}DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA:=EMA(DIFF,9);A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)<DIFF AND CROSS(DIFF,DEA);A2:=BARSLAST(REF(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),1));B2:=REF(C,A2+1)>C AND REF("KDJ.K"(9,3,3),A2+1)<"KDJ.K"(9,3,3) AND CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));A3:=BARSLAST(REF(CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1));B3:=REF(C,A3+1)>C AND REF("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));底背离:B1>0 OR B2>0 OR B3>0;{集成了MACD、KDJ、RSI三个指标的底背离};2、老鼠仓AA1:=AMOUNT/VOL;BB1:=L< AA1*0.9;CC1:=(C-REF(C,1))/REF(C,1)*100> 1.2;DD1:=L< MA(C,5)*0.921;EE1:=VOL< MA(V,5)*1.5;老鼠仓:BB1 AND CC1 AND DD1 AND EE1;3、抄底高手{M 15 35 30N 12 32 27D 18 50 42}VAR1:=(CLOSE-MA(CLOSE,48))/MA(CLOSE,48)*100+M<0;VAR2:=(CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+N<0;VAR3:=VAR1 AND VAR2;VAR4:=VAR1 AND VAR2 AND COUNT(VAR3,2)=1 AND DATE>940101 AND (CLOSE>OPEN OR CLOSE<OPEN) AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.07 AND (REF(OPEN,1)>REF(CLOSE,1) OR REF(OPEN,1)<REF(CLOSE,1)) AND(REF(OPEN,2)>REF(CLOSE,2) OR REF(OPEN,2)<REF(CLOSE,2)) AND (REF(OPEN,3)>REF(CLOSE,3) OR REF (OPEN,3)<REF(CLOSE,3)) AND (REF(OPEN,4)>REF(CLOSE,4) OR REF(OPEN,4)<REF(CLOSE,4)) AND (REF(OPEN,5)>REF(CLOSE,5) OR REF(OPEN,5)<REF(CLOSE,5));VAR5:=DMA(EMA(CLOSE,8),SUM(VOL,9)/2.8/CAPITAL);VAR6:=(CLOSE-VAR5)/VAR5*100;VAR7:=REF(VAR6,1)+D<0 AND VAR6>REF(VAR6,1) AND REF(VAR6,1)<REF(VAR6,2) AND VAR6-REF(VAR6,1)>1.8 AND (HIGH>LOW) AND (REF(HIGH,1)>REF(LOW,1)) AND (REF(HIGH,2)>REF(LOW,2)) AND(REF(HIGH,3)>REF(LOW,3)) AND (REF(HIGH,4)>REF(LOW,4)) AND (REF(HIGH,5)>REF(LOW,5));VAR4 OR VAR7;3、短线黑马{K 100 140 100}VAR1:=DMA(CLOSE,VOL/MA(VOL,4)/4);VAR2:=DMA(CLOSE,VOL/MA(VOL,33)/33);VAR3:=(CLOSE-VAR1)/VAR1*100<-11/K*100;VAR4:=(VAR1-VAR2)/VAR2*100<-22.3/K*100;VAR5:=VAR3 AND VAR4 AND (OPEN>CLOSE OR OPEN<CLOSE) AND(OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.07 AND(REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1)) AND(REF(OPEN,2)>REF(CLOSE,2) OR REF(OPEN,2)<REF(CLOSE,2)) AND (REF(OPEN,3)>REF(CLOSE,3) OR REF(OPEN,3)<REF(CLOSE,3)) AND (REF (OPEN,4)>REF(CLOSE,4) OR REF(OPEN,4)<REF(CLOSE,4)) AND (REF(OPEN,5)>REF(CLOSE,5) OR REF(OPEN,5) <REF(CLOSE,5)) AND (REF(OPEN,6)>REF(CLOSE,6) OR REF(OPEN,6)<REF(CLOSE,6)) AND (REF(OPEN,7)>REF (CLOSE,7) OR REF(OPEN,7)<REF(CLOSE,7));VAR6:=DMA(CLOSE,VOL/MA(VOL,3)/3);VAR7:=DMA(CLOSE,VOL/MA(VOL,33)/33);VAR8:=(CLOSE-VAR6)/VAR6*100<-5;VAR9:=(VAR6-VAR7)/VAR7*100<-18;VARA:=(INDEXC-LLV(INDEXL,250))/(HHV(INDEXH,250)-LLV(INDEXL,250))*100;VARB:=SMA(VARA,30,1);VARC:=SMA(VARB,50,1);VARD:=VAR8 AND VAR9 AND (OPEN>CLOSE OR OPEN<CLOSE) AND(OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.05 AND(REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1));VARE:=VARD AND COUNT(VARD,2)=1 ;VAR5 OR VARE;4、逆势操作VAR1:=DMA(CLOSE,VOL/MA(VOL,4)/4);VAR2:=DMA(CLOSE,VOL/MA(VOL,32)/32);VAR3:=(CLOSE-VAR1)/VAR1*100<-8;VAR4:=(VAR1-VAR2)/VAR2*100<-21;VAR5:=VAR3 AND VAR4 AND (OPEN>CLOSE OR OPEN<CLOSE) AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.05 AND(REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1)) AND (REF(OPEN,2)>REF(CLOSE,2) OR REF(OPEN,2)<REF(CLOSE,2)) AND (REF(OPEN,3)>REF(CLOSE,3) OR REF(OPEN,3)<REF(CLOSE,3)) AND (REF(OPEN,4)>REF(CLOSE,4) OR REF(OPEN,4)<REF(CLOSE,4)) AND (REF(OPEN,5)>REF(CLOSE,5) OR REF(OPEN,5)<REF(CLOSE,5)) AND (REF(OPEN,6)>REF(CLOSE,6) OR REF(OPEN,6)<REF(CLOSE,6)) AND (REF(OPEN,7)>REF(CLOSE,7) OR REF(OPEN,7)<REF(CLOSE,7));VAR6:=(CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100<-23;VAR7:=(INDEXC-LLV(INDEXL,275))/(HHV(INDEXH,275)-LLV(INDEXL,275))*100;VAR8:=SMA(VAR7,50,1);VAR9:=SMA(VAR8,40,1);VARA:=VAR6 AND VAR9<23 AND COUNT(VAR6,2)=1 AND (OPEN>CLOSE OR OPEN<CLOSE) AND OPEN/REF(CLOSE,1)>0.96 ;(VAR5 OR VARA) ;5、成交量变异率VR买入WVR := SUM((IF(CLOSE>OPEN,VOL,0)+IF(CLOSE=OPEN,VOL/2,0)),N)/SUM((IF(CLOSE<OPEN,VOL,0)+IF(CLOSE=OPEN ,VOL/2,0)),26)*100;VOL变异率VR买入:CROSS(LL,WVR);{N 5 100 26 5}{LL 0 80 70 5};MA5:=MA(C,5);MA10:=MA(C,10);MA20:=MA(C,20);MA30:=MA(C,30);MA120:=SMA(C,120,1);ZH520:=ABS(MA5-MA20)/MA20*100<=10;ZH530:=ABS(MA5-MA30)/MA30*100<=10;QSXS1:=MA5>REF(MA5,1);QSXS2:=MA20>REF(MA20,1);QSXS3:=MA30>REF(MA30,1);DTPL:=MA20>MA30 AND MA30>MA120;LYT:=DTPL AND QSXS2 AND QSXS3 AND COUNT(QSXS1,4)<=1;GJHS:=C>MA5 AND ((QSXS1 AND NOT(REF(QSXS1,1))) OR C>REF(C,3));LYKK:=GJHS AND (ZH520 OR ZH530) AND LYT;买:LYKK AND NOT(REF(LYKK,1));虚拟成交量>昨日VOL的2倍的股VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);昨日VOL:=REF(VOL,1)*2.0;ABS(VVOL)-昨日VOL>=0;{大于昨日的2.0倍};成交量是昨日的1.8倍VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);昨日VOL:=REF(VOL,1)*1.8;ABS(VVOL)-昨日VOL>=0;{大于昨日的1.8倍};6、PDI上穿三线选股公式源码:TR0:= SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14);HD := HIGH-REF(HIGH,1);LD := REF(LOW,1)-LOW;DMP:= SUM(IF(HD>0 AND HD>LD,HD,0),14);DMM:= SUM(IF(LD>0 AND LD>HD,LD,0),14);PDI:=DMP*100/TR0,colorred;MDI:=DMM*100/TR0;ADX:=MA(ABS(MDI-PDI)/(MDI+PDI)*100,6);ADXR:=(ADX+REF(ADX,6))/2;CROSS(PDI,MDI) AND CROSS(PDI,ADX) AND CROSS(PDI,ADXR)今日量比昨放大1倍后三日股价不跌回当日收盘价的选股公式选股公式:{成交量比前一天放大1倍,后3天,股价没有跌破放量那天的收盘价}var1:=v>ref(v,1)*2;ref(var1,3) and count(c>ref(c,3),3)=3;7、倍量柱加三天量减价升喇叭形的真黄金柱公式倍数:=1.9;倍量1:=REF(VOL,3)>倍数*REF(VOL,4) AND REF(C,3)>=REF(O,3);价升量缩:= LLV(C,3)>=REF(L,3) AND HHV(VOL,3)<=REF(VOL,3);连阳:= COUNT(C>=O,4)=4;选股:倍量1 AND 价升量缩 AND 连阳;8、“凹口起柱”理论编写的凹口指标王子老师的平台起柱、过顶起柱、凹口起柱理论真是了不得,十分佩服,这里我冒昧的加一个,那就是顶部起柱,经观察,股票起柱时是主力行为的表现,是主力意图的表现!是主力留下的痕迹!是量柱开口说话的语言!这个指标或许可以帮助朋友们看懂主力的行为意图,看出量柱的语言!T7:=REF(VOL,6)/REF(VOL,7)>=2;T6:=REF(VOL,5)/REF(VOL,6)>=2;T5:=REF(VOL,5)/REF(VOL,4)>=1.5;T4:=REF(VOL,4)/REF(VOL,3)>=1.5;T3:=REF(VOL,2)/REF(VOL,3)>=1.5;T1:=V/REF(VOL,1)>2;T0:=C>O AND C>REF(C,1);选股:T7 AND T1 AND T0 OR T6 AND T1 AND T0 OR T5 AND T1 AND T0 OR T4 AND T1 AND T0 OR T3 AND T1 AND T0 ;下载 (53.76 KB)2010-1-12 21:299、倍量过左峰选股源码--通达信SR1:=REF(HIGH,10)=HHV(HIGH,2*10+1);SR2:=FILTER(SR1,10);SR3:=BACKSET(SR2,10+1);HD:=FILTER(SR3,10);前高:=REF(H,BARSLAST(HD));倍量:=VOL/REF(VOL,1)>=2 AND COUNT(CLOSE>OPEN,1) OR LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>=2;突破前高:=CROSS(C,前高);XG:突破前高 AND 倍量;10、{MACD、KDJ、RSI底背离}DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA:=EMA(DIFF,9);A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)<DIFF AND CROSS(DIFF,DEA);A2:=BARSLAST(REF(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),1));B2:=REF(C,A2+1)>C AND REF("KDJ.K"(9,3,3),A2+1)<"KDJ.K"(9,3,3) AND CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));A3:=BARSLAST(REF(CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1));B3:=REF(C,A3+1)>C AND REF("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));底背离:B1>0 OR B2>0 OR B3>0;{集成了MACD、KDJ、RSI三个指标的底背离};11、老鼠仓AA1:=AMOUNT/V;BB1:=L<AA1*0.9;CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;DD1:=L<MA(C,5)*0.921;EE1:=V<MA(V,5)*1.5;老鼠仓:BB1 AND CC1 AND DD1 AND EE1;12、主力进场VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);VAR3:=EMA(VAR2,10);VAR4:=LLV(LOW,33);VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);XG:(VAR5>REF(VAR5,1) AND VAR5>0 ) OR (VAR5<REF(VAR5,1) AND NOT(VAR5=0)=1);13、60日天量T1:=V=HHV(V,100);T2:=V/REF(VOL,1)>=3;选股:T1 AND T2;14、135均量线选股VOLUME:=VOL;MAVOL1:=MA(VOLUME,5);MAVOL2:=MA(VOLUME,35);MAVOL3:=MA(VOLUME,135);选股:CROSS(MAVOL1,MAVOL2)OR CROSS(MAVOL1,MAVOL3) OR CROSS(MAVOL2,MAVOL3);15、二次翻红DIF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA:=EMA(DIF,9);MACD:=2*(DIF-DEA);FH1:=REF(MACD,1)<REF(MACD,2) AND REF(MACD,2)<REF(MACD,3) AND REF(MACD,3)<REF(MACD,4); FH2:=MACD>=0 AND COUNT(MACD>REF(MACD,1),1)=1;FH3:=FH1 AND FH2 AND EMA(C,13)>REF(EMA(C,13),1);FH4:=FH1 AND FH2 AND ABS((DIF-DEA)/C)<0.018;FH5:=FH1 AND FH2 AND MACD<0.10;二次翻红:=(FH3 OR FH4 OR FH5);低买:=CROSS(DIF,DEA) AND DIF<0;加油:=CROSS(DIF,DEA) AND DIF>0;XG:二次翻红 OR 低买 OR 加油;16、均量互换VOLUME:=VOL;MAVOL1:=MA(VOLUME,5);MAVOL2:=MA(VOLUME,35);MAVOL3:=MA(VOLUME,135);选股:CROSS(MAVOL2,MAVOL3);17、成交额均量互换AMO:=AMOUNT;MAAMO1:=MA(AMO,5);MAAMO2:=MA(AMO,10);MAAMO3:=MA(AMO,40);XG:CROSS(TJ1,TJ2)AND CROSS(TJ1,TJ3)OR CROSS(MAAMO1,MAAMO2)AND CROSS(MAAMO1,MAAMO3);18、凹口起柱T7:=REF(VOL,6)/REF(VOL,7)>=2;T6:=REF(VOL,5)/REF(VOL,6)>=2;T5:=REF(VOL,5)/REF(VOL,4)>=1.5;T4:=REF(VOL,4)/REF(VOL,3)>=1.5;T3:=REF(VOL,2)/REF(VOL,3)>=1.5;T1:=V/REF(VOL,1)>2;T0:=C>O AND C>REF(C,1);选股:T7 AND T1 AND T0 OR T6 AND T1 AND T0 OR T5 AND T1 AND T0 OR T4 AND T1 AND T0OR T3 AND T1 AND T0;19、黄金柱选股VAR1:=V>REF(V,1)*2;REF(VAR1,3) AND COUNT(C>REF(C,3),3)=3;20、日成交量触及5日均量线M1:=MA(V,5);M2:V > M1;21、早盘量满--一个很管用的预警指标本指标描述的是上午10点前个股成交量与昨天基本相等(指标在上午10点以后就不工作了);这类股票往往是比较强势,只有在10点前成交量达到昨天水平才会预警;其中下跌的股票必须用肉眼给过滤掉。
【新提醒】凹口平衡线画线公式(通达信含未来)
【新提醒】凹口平衡线画线公式(通达信含未来)王子理论告诉我们:“每逢股价上交平衡线时都有中到大阳线出现”;“凹口平衡线是神奇的股价起跳板”。
这就是“凹口淘金”的奥秘!可见,寻找并画出“凹口平衡线”具有非常重要的意义!很久以前,刚学编公式(开始卖学分赚第一桶金)的时候,曾经编过“凹口平衡线选股公式”(原贴:)。
但只是很不成熟的初选公式,而且没有画出线来。
现在的这个凹口平衡线画线公式,比前面的要好些,能找出凹口平衡的位置,并且自动画线。
根据王子的凹口平衡线理论,(量柱书P155)凹口平衡线的凹口取点,一般是“跌破左侧阳线的那根大阴线的最低点”。
但是我发现左侧不一定要阳线,只要“跌破左侧峰顶K线的那根大阴线”就可以了。
所以公式也是按照这点来编写的。
特别声明的是,为了画图的方便,还是采用了未来函数,不喜欢的就不要用了。
公式疑似为画线而画线,并没有完全体现王子的凹口平衡线思想原意,一些真正的凹口平衡线(“主力刻意打压股价最凶狠的那根阴线”或“主力意图最明显的那个最低点”)并没有画出来,还得手工画。
编者水平所限,的确无法准确表达。
无奈那些高手都不肯出手,只好充数了。
画线公式仅供参考!(增值部分:公式后面增加了“(大阴线实顶)平衡线”画线,当跌率>4%时画绿线,见图2。
)(再增值:凹口平衡线选股公式)请来支持、评分:(★请你回复一句话:你最欣赏王子理论的什么?★){凹口平衡线主图,不会设参数、不喜未来的,勿用}{设置参数:百分比(3,20,5); }ZIG(3,百分比);{此行可省};波峰距离: PEAKBARS(3,百分比,1),NODRAW;波谷值:=TROUGH(2,百分比,1);波谷距离:=TROUGHBARS(2,百分比,1);{/SPACE.PHP?UID=30578}距离:=CURRBARSCOUNT,NODRAW; {WEN98编写}C2:=REF(C,1);比前跌率:=(C2-C)*100/C2;本日跌率:=(O-C)*100/O;距离FK1:=波峰距离-1;{波峰右边K距离}线位置:= REF(L,距离FK1),{NODRAW};TJ1:=波峰距离>波谷距离+5 AND 波峰距离<120;TJ2:=REF(本日跌率,距离FK1)>3 OR REF(比前跌率,距离FK1)>3;{跌率>3%}TJ3:=距离<240;TJ4:=REF(C,距离FK1)<REF(O,距离FK1) {阴K}AND REF(C,距离FK1)<REF(MIN(C,O),距离FK1+1);{跌破前K} 画线条件:= 线位置=REF(线位置,1) AND TJ2 AND TJ4;{画线条件} STICKLINE(画线条件,线位置,线位置,15,1),COLORMAGENTA;{画线}画线: IF(画线条件,线位置,DRAWNULL),COLORMAGENTA;{画线} 打字条件:=FILTER(画线条件 AND TJ1 AND TJ3,20);DRAWTEXT(打字条件,线位置*1.01,'凹口平衡线'),COLORMAGENTA;{此行可省};{=============大阴线实顶平衡线,加上去主图花了一些========================}MA5:=MA(C,5);平衡线:=(比前跌率>4 OR 本日跌率>4) AND C<MA5;{4可自己调为3-10}STICKLINE(平衡线,O,O,45,-1),COLORGREEN;{画绿虚线};以下是对应的选股公式:(下图为参数设置示意图){选股公式:不会设参数、不喜未来的,勿用}{设置参数:百分比(3,20,5); }RC1:=REF(C,1);比前跌率:=(RC1-C)*100/RC1;本日跌率:=(O-C)*100/O;波峰距离:= PEAKBARS(3,百分比,1);波谷距离:=TROUGHBARS(2,百分比,1);{/SPACE.PHP?UID=30578}距离:=CURRBARSCOUNT; {WEN98编写}距离FK1:=波峰距离-1;{波峰右边K距离}线位置:= REF(L,距离FK1),{NODRAW};TJ1:=波峰距离>波谷距离+5 AND 波峰距离<120;TJ2:=REF(本日跌率,距离FK1)>3 OR REF(比前跌率,距离FK1)>3;{跌率>3%}TJ3:=距离<240;TJ4:=REF(C,距离FK1)<REF(O,距离FK1) {阴K}AND REF(C,距离FK1)<REF(MIN(C,O),距离FK1+1);{跌破前K} 画线条件:= 线位置=REF(线位置,1) AND TJ2 AND TJ4;{画线条件} XG: 画线条件 AND TJ1 AND TJ3 AND BETWEEN(C,线位置*0.98,线位置*1.01);下面是凹口平衡线画线效果图:。
平量柱选股公式!
平量柱选股公式!
呵呵呵呵呵呵!太好了,我今天刚刚看了量柱擒涨停的关于凹口平量柱的文章!我用了一个上午的时间研究出一个专找平量柱的公式!自己用起来还挺顺手的!现在跟大家分享,各位高手给点小弟意见!
首先打开通达信的公式管理器,打开条件选股,然后按新建
VOL/REF(VOL,N)>=0.97 AND VOL/REF(VOL,N)<=1.03;
上面的N参数设置1~80!后面开始就设置为1吧,如图!
赌东道
注意如果想找当天的并肩平量柱,就把N的参数设置成1;如果想找5天前与当天是平量柱,就把N设置成5天,如此下来想找几天前凹口平量柱就填几!也是这样找到的!今天真高兴,给我做出这个公式!各位高手给点意见吧~~~。
凹口平量柱指标
凹口平量柱指标【实用版】目录1.凹口平量柱指标的概念与定义2.凹口平量柱指标的计算方法3.凹口平量柱指标的应用与分析4.凹口平量柱指标的优缺点正文凹口平量柱指标,是一种用于衡量股票或其他金融产品价格走势的技术分析指标。
该指标主要通过计算一段时间内价格波动的均值,以判断价格走势的强弱和可能的变化。
凹口平量柱指标的计算方法主要包括以下几个步骤:第一步,计算一段时间内的收盘价。
通常情况下,这个时间段可以选择日、周或月,根据投资者的需求和市场情况来确定。
第二步,计算这段时间内的平均收盘价。
可以通过将这段时间内的所有收盘价相加,然后除以收盘价的数量来得到。
第三步,计算这段时间内的凹口平量柱值。
这个值等于平均收盘价减去前一日的平均收盘价。
第四步,绘制凹口平量柱指标图。
将计算出的凹口平量柱值绘制在价格曲线下方,以形成一个新的曲线。
凹口平量柱指标的应用与分析主要体现在以下几个方面:首先,通过观察凹口平量柱指标图,投资者可以直观地了解价格走势的强弱。
当凹口平量柱指标上升时,表示价格走势强势;当凹口平量柱指标下降时,表示价格走势弱势。
其次,通过分析凹口平量柱指标与价格曲线之间的关系,投资者可以判断价格走势的可能变化。
例如,当凹口平量柱指标曲线向上突破价格曲线时,可能预示着价格即将上涨;当凹口平量柱指标曲线向下跌破价格曲线时,可能预示着价格即将下跌。
凹口平量柱指标的优缺点主要体现在以下几个方面:优点:凹口平量柱指标能够较为直观地反映价格走势的强弱,有助于投资者判断价格走势的可能变化,从而制定投资策略。
缺点:凹口平量柱指标的计算方法和应用较为复杂,需要投资者具备一定的技术分析能力。
此外,凹口平量柱指标并不能完全预测价格走势,仍然存在一定的不确定性。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
凹口平量柱选股及副图公式-通达信适用
选股公式:
{特别鸣谢:黑马王子。
此公式设计理念源自黑马王子。
此公式可同时选出7日-12日间的所以凹口平量柱。
} {使用副图指标,可以显示出各平量柱的时间段的长度} XGX7:=ABS((VOL-REF(VOL,7))/REF(VOL,7))<0.04 AND VOL>1.8*REF(VOL,2) AND
REF(VOL,1)<REF(VOL,7) AND
REF(VOL,2)<REF(VOL,7) AND
REF(VOL,3)<REF(VOL,7) AND
REF(VOL,(7-3))<REF(VOL,7) AND
REF(VOL,(7-2))<REF(VOL,7) AND
REF(VOL,(7-1))<REF(VOL,7);
XGX8:=ABS((VOL-REF(VOL,8))/REF(VOL,8))<0.04 AND VOL>1.8*REF(VOL,2) AND
REF(VOL,1)<REF(VOL,8) AND
REF(VOL,2)<REF(VOL,8) AND
REF(VOL,3)<REF(VOL,8) AND
REF(VOL,(8-3))<REF(VOL,8) AND
REF(VOL,(8-2))<REF(VOL,8) AND
REF(VOL,(8-1))<REF(VOL,8);
XGX9:=ABS((VOL-REF(VOL,9))/REF(VOL,9))<0.04 AND VOL>1.8*REF(VOL,2) AND
REF(VOL,1)<REF(VOL,9) AND
REF(VOL,2)<REF(VOL,9) AND
REF(VOL,3)<REF(VOL,9) AND
REF(VOL,(9-3))<REF(VOL,9) AND
REF(VOL,(9-2))<REF(VOL,9) AND
REF(VOL,(9-1))<REF(VOL,9);
XGX10:=ABS((VOL-REF(VOL,10))/REF(VOL,10))<0.04 AND VOL>1.8*REF(VOL,2) AND
REF(VOL,1)<REF(VOL,10) AND
REF(VOL,2)<REF(VOL,10) AND
REF(VOL,3)<REF(VOL,10) AND
REF(VOL,(10-3))<REF(VOL,10) AND
REF(VOL,(10-2))<REF(VOL,10) AND
REF(VOL,(10-1))<REF(VOL,10);
XGX11:=ABS((VOL-REF(VOL,11))/REF(VOL,11))<0.04 AND VOL>1.8*REF(VOL,2) AND
REF(VOL,1)<REF(VOL,11) AND
REF(VOL,2)<REF(VOL,11) AND
REF(VOL,3)<REF(VOL,11) AND
REF(VOL,(11-3))<REF(VOL,11) AND
REF(VOL,(11-2))<REF(VOL,11) AND
REF(VOL,(11-1))<REF(VOL,11);
XGX12:=ABS((VOL-REF(VOL,12))/REF(VOL,12))<0.04 AND
VOL>1.8*REF(VOL,2) AND
REF(VOL,1)<REF(VOL,12) AND
REF(VOL,2)<REF(VOL,12) AND
REF(VOL,3)<REF(VOL,12) AND
REF(VOL,(12-3))<REF(VOL,12) AND
REF(VOL,(12-2))<REF(VOL,12) AND
REF(VOL,(12-1))<REF(VOL,12);
XGX30:=(C-REF(C,1))>0 AND C>O;
xgx31:=xgx7=1 or xgx8=1 or xgx9=1 or xgx10=1 or xgx11=1 or xgx12=1; XGX: XGX31=1 AND XGX30=1;
========================================
副图公式:
{凹口平量柱副图指标公式}
{特别鸣谢:黑马王子。
此公式设计理念源自黑马王子。
此公式可同时选出7日-12日间的所以凹口平量柱。
使用副图指标,可以显示出各平量柱的时间段的长度}
XGX7:ABS((VOL-REF(VOL,7))/REF(VOL,7))<0.04 AND
VOL>1.8*REF(VOL,2) AND
REF(VOL,1)<REF(VOL,7) AND
REF(VOL,2)<REF(VOL,7) AND
REF(VOL,3)<REF(VOL,7) AND
REF(VOL,(7-3))<REF(VOL,7) AND
REF(VOL,(7-2))<REF(VOL,7) AND
REF(VOL,(7-1))<REF(VOL,7);
XGX8:ABS((VOL-REF(VOL,8))/REF(VOL,8))<0.04 AND
VOL>1.8*REF(VOL,2) AND
REF(VOL,1)<REF(VOL,8) AND
REF(VOL,2)<REF(VOL,8) AND
REF(VOL,3)<REF(VOL,8) AND
REF(VOL,(8-3))<REF(VOL,8) AND
REF(VOL,(8-2))<REF(VOL,8) AND
REF(VOL,(8-1))<REF(VOL,8);
XGX9:ABS((VOL-REF(VOL,9))/REF(VOL,9))<0.04 AND
VOL>1.8*REF(VOL,2) AND
REF(VOL,1)<REF(VOL,9) AND
REF(VOL,2)<REF(VOL,9) AND
REF(VOL,3)<REF(VOL,9) AND
REF(VOL,(9-3))<REF(VOL,9) AND
REF(VOL,(9-2))<REF(VOL,9) AND
REF(VOL,(9-1))<REF(VOL,9);
XGX10:ABS((VOL-REF(VOL,10))/REF(VOL,10))<0.04 AND VOL>1.8*REF(VOL,2) AND
REF(VOL,1)<REF(VOL,10) AND
REF(VOL,2)<REF(VOL,10) AND
REF(VOL,3)<REF(VOL,10) AND
REF(VOL,(10-3))<REF(VOL,10) AND
REF(VOL,(10-2))<REF(VOL,10) AND
REF(VOL,(10-1))<REF(VOL,10);
XGX11:ABS((VOL-REF(VOL,11))/REF(VOL,11))<0.04 AND VOL>1.8*REF(VOL,2) AND
REF(VOL,1)<REF(VOL,11) AND
REF(VOL,2)<REF(VOL,11) AND
REF(VOL,3)<REF(VOL,11) AND
REF(VOL,(11-3))<REF(VOL,11) AND
REF(VOL,(11-2))<REF(VOL,11) AND
REF(VOL,(11-1))<REF(VOL,11);
XGX12:ABS((VOL-REF(VOL,12))/REF(VOL,12))<0.04 AND VOL>1.8*REF(VOL,2) AND
REF(VOL,1)<REF(VOL,12) AND
REF(VOL,2)<REF(VOL,12) AND
REF(VOL,3)<REF(VOL,12) AND
REF(VOL,(12-3))<REF(VOL,12) AND
REF(VOL,(12-2))<REF(VOL,12) AND
REF(VOL,(12-1))<REF(VOL,12);
DRAWTEXT(XGX7,1.1,'7日平量柱');
DRAWTEXT(XGX8,1,'8日平量柱');
DRAWTEXT(XGX9,0.9,'9日平量柱');
DRAWTEXT(XGX10,0.8,'10日平量柱');
DRAWTEXT(XGX11,0.7,'11日平量柱');
DRAWTEXT(XGX12,0.6,'12日平量柱');。