最新通达信135战法主图指标(经实战检验)通达信指标公式源码
通达信公式倍量成交拐点+成交量(源码)5、35、135均线指标及其说明
通达信公式:倍量成交拐点+成交量(源码)5、35、135均线指标及其说明在股市当中,成交是金,以奉为经典,可是怎样才能发现成交拐点,享受庄家拉升的快感。
下面的公式其实很简单,就是当天的成交是昨日成交的2倍和3倍,这样只要庄家在低位一放量成陪,结合各经典指标,半仓以上扑进,成功率98%以上。
参数:M1(2、500、5)M2(2、500、35)M3(2、500、135)〖量〗:VOL,NODRAW,VOLSTICK;STICKLINE(V>=3*REF(V,1),V/3,V/3,3.9,0),COLORWHITE;STICKLINE(V>=2*REF(V,1),V/2,V/2,3.9,0),COLORYELLOW;流通〖亿〗:CAPITAL/1000000,LINETHICK0;内外比:DYNAINFO(51),COLORYELLOW,NODRAW;单日量比:V/REF(V,1),COLORWHITE,NODRAW;五日量比:V/(REF(MA(V,5),1)/240*FROMOPEN),COLORYELLOW,NODRAW;5换:SUM(100*V/CAPITAL,5),LINETHICK0;10换:SUM(100*V/CAPITAL,10),LINETHICK0;20换:SUM(100*V/CAPITAL,20),LINETHICK0;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;MAVOL1:MA(VOLUME,M1);MAVOL2:MA(VOLUME,M2);MAVOL3:MA(VOLUME,M3);大部分投资者都知道看成交量,可是达到什么标准才是放量?可是达到什么标准才是缩量?本人总结数万次和实战看盘发现:1 135日均量线是资金异动线。
通达信成功率高的选股指标公式
通达信成功率高的选股指标公式代码集{逆势买入}Var1b:=DMA(CLOSE,VOL/MA(VOL,4)/4);Var2b:=DMA(CLOSE,VOL/MA(VOL,32)/32);Var3b:=(CLOSE-Var1b)/Var1b*100<-8;Var4b:=(Var1b-Var2b)/Var2b*100<-21;逆势买入:if(V ar3b AND Var4b AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.05,45,0),stick,linethick3,col orf00ff0;drawtext(逆势买入,40,'逆势买入'),colorf0f000;============================{龙战四海:99%成功率,选股条件:龙战四海=65}Var1c:=REF(OPEN,1)<REF(OPEN,2);Var2c:=REF(CLOSE,1)<REF(CLOSE,2);Var3c:=REF(LOW,1)<REF(LOW,2);Var4c:=OPEN>REF(CLOSE,1) AND OPEN/REF(CLOSE,1)>=1.03; Var5c:=CLOSE>OPEN AND CLOSE/OPEN>1.03;Var6c:=Var1c AND Var2c AND Var3c AND Var4c AND Var5c;Var7c:=CLOSE/MA(CLOSE,3)>=1.07 AND CLOSE=HHV(CLOSE,3) AND MA(VOL,2)/MA(VOL,40)>=3 AND MA(VOL,2)=HHV(MA(VOL,2),3) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);Var8c:=REF(CLOSE,1);Var9c:=SMA(MAX(CLOSE-Var8c,0),5,1)/SMA(ABS(CLOSE-Var8c),5, 1)*100;VarA:=COUNT(Var9c<20,20)>=1;VarB:=Var7c AND VarA;龙战四海:if(VarB AND Var6c,65,0),colorf0f000;drawtext(龙战四海,55,'龙战四海'),colorf00ff0;{股价经历了相当长一段时间下跌后,做空能量逐渐消耗。
非常实用的波段神器通达信指标公式源码
非常实用的波段神器通达信指标公式源码以下是通达信指标公式的一些源码,这些指标常被视为实用的波段神器。
1.均线指标公式:MA(CLOSE,N):=AVERAGE(CLOSE,N);MA(CLOSE,N1,N2):=MA(MA(CLOSE,N1),N2);2.相对强弱指标公式(RSI):LC:=REF(CLOSE,1);RSI(CLOSE,N):=SMA(MAX(CLOSE-LC,0),N,1)/SMA(ABS(CLOSE-LC),N,1)*100;3. 动量指标公式(Momentum):MOM(CLOSE,N):=CLOSE-REF(CLOSE,N);4. 平均幅度指标公式(Average True Range, ATR):TR:=MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1)),ABS(LOW-REF(CLOSE,1))),ABS(HIGH-REF(LOW,1)));ATR(N):=MA(TR,N);5. 布林带指标公式(Bollinger Bands):MB:=MA(CLOSE,N);UP:=MB+STD(CLOSE,N)*K;DN:=MB-STD(CLOSE,N)*K;6. 弗拉基米尔指标公式(Vladimir):TYP:=(HIGH+LOW+CLOSE)/3;VOLMA(CLOSE,V):=MA(VOL,V);FRAV(TYP):=MA(TYP*(HIGH-LOW),VI);FAPT:=(FRAV(TYP)/VOLMA(CLOSE,V))/FRAV(TYP)*FRAV(VOLMA(CLOSE, VI)-VOLMA(CLOSE,V));7. 成交量指标公式(Volume):VOLMA(CLOSE,N):=MA(VOL,N);以上是一些通达信指标公式的简单示例。
请注意,这些只是指标的公式描述,实际使用中可能需要根据自己的需求进行修改和优化。
通达信技术指标公式源码大全
通达信技术指标公式源码大全一、简介本文档提供了通达信技术指标公式源码的大全,旨在帮助用户了解和使用通达信软件中的各种技术指标。
二、技术指标公式源码以下是一些常用的技术指标公式源码:1. 移动平均线(MA):C := CLOSE;MA(C, n)2. 相对强弱指标(RSI):LC := REF(C, 1);R := SMA(MAX(C-LC, 0), n, 1) / SMA(ABS(C-LC), n, 1) * 100;RSI := SMA(R, m, 1);3. 布林线(BOLL):MA(C, n);BOLLUP := MA(C, n) + k * STD(C, n);BOLLDOWN := MA(C, n) - k * STD(C, n);4. 动量指标(MOM):MOM := C - REF(C, n);5. 成交量指标(VOL):VOL := V;6. 相对强弱指数(RSI):RSV:=(CLOSE-LLV(LOW,M))/((HHV(HIGH,M)-LLV(LOW, M))*100);;7. 平均成交量(AVP):AVP:=(C+M+O+L)/4*V*T/F;三、使用指南使用以上的技术指标公式源码,可以在通达信软件中进行相关指标的计算和显示。
用户可以根据自己的需要,调整指标参数和相关代码,以获得所需的分析结果。
请注意,以上源码仅供参考,具体使用时需要根据实际情况进行修改和优化。
结论本文档提供了通达信技术指标公式源码的大全,希望能对用户在通达信软件中应用技术指标提供帮助。
用户可以根据实际需求,选择合适的指标公式源码进行使用。
通达信_指标公式源码大全
通达信_指标公式源码大全通达信是国内最早的股票行情软件之一,其强大的技术分析指标系统是其最大的特点之一、通达信的指标公式源码可以帮助广大投资者深入理解和研究不同的技术指标,并且根据自己的需求进行二次开发。
以下是通达信中一些常用指标的简要介绍和其对应的指标公式源码:1.移动平均线(MA):MA(CLOSE,N)=SUM(CLOSE,N)/N2.指数平滑移动平均线(EMA):EMA(CLOSE,N)=(2*CLOSE+(N-1)*REF(EMA(CLOSE,N),1))/(N+1)3.相对强弱指数(RSI):RSI(CLOSE,N)=SMA(MAX(CLOSE-REF(CLOSE,1),0),N,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),N,1)*1004.动力指数(DMI):H1=MAX(HIGH-REF(HIGH,1),0)L1=ABS(LOW-REF(LOW,1),0)DMP=SUM(((H1>L1)AND(H1>0.00))?H1:0,N)DMM=SUM(((L1>H1)AND(L1>0.00))?L1:0,N)PDI=DMP/SUM(TR,N)*100MDI=DMM/SUM(TR,N)*1005.布林带(BOLL):MB=MA(CLOSE,N)UP=MB+P*STD(CLOSE,N)DN=MB-P*STD(CLOSE,N)6.相对强弱指标(RSI):LC:=REF(CLOSE,1)TRY:=CLOSE-LCUY:=SUM(MAX(MAX(CLOSE-LC,0),ABS(CLOSE-LC-LC1)),N)DY:=SUM(MAX(MAX(LC-CLOSE,0),ABS(CLOSE-LC-LC1)),N)需要注意的是,在使用这些源码时,要理解每个指标的具体计算过程和意义,以及与股票行情数据之间的关系。
同时,根据自身的需求进行适当的修改和优化,以满足个人的投资研究需求。
135战法选股公式大全
135战法选股公式大全135战法选股公式中的135均线即13日均线、34日均线、55日均线组合系统的简称。
135均线战法选股公式系统视角独特,操作简便,实战性强。
该选股公式选择的买卖点只是组合系统的一部分,该系统有13个以上买卖点:如底部形态之“红杏出墙”和“蚂蚁上树”;即将拉升的启动形态之“黑客点击”和“红衣侠女”;中途的整理形态之“走四方”和“浪子回头”;顶部形态之“见好就收"和“独上高楼”;其他形态还有“均线互换”、“三线推进”、“梅开二度”等。
该指标选用了以上的8种,用来实战也足够了.红杏出墙选股EMA13:=EMA(C,13);EMA34:=EMA(C,34);EMA55:=EMA(C,55);AR1:=EMA55>EMA34 AND EMA34〉EMA13;AR2:=BARSLAST((C-EMA13)/EMA13*100<-6);AR3:=EMA13〉=REF(EMA13,2);AR4:=COUNT(CROSS(C,EMA13),AR2)=1;AR5:=AR1 AND AR2 AND AR3 AND AR4;红杏出墙:AR5 AND FILTER(AR5,10);形态特征:13日均线由下降趋于走平。
股价从下向上突破13日均线,并且在13日均线上企稳,这根站在13日均线上的阳线称之为"红杏出墙".红杏出墙是135均线的第一买点,也是行情最初启动点。
蚂蚁上树选股EMA13:=EMA(C,13);EMA34:=EMA(C,34);EMA55:=EMA(C,55);BR1:=COUNT(BETWEEN((C—REF(C,1))/REF(C,1)*100,0,5),5)=5;BR2:=ABS((EMA13—EMA34)+(EMA34—EMA55))/C<0。
2;BR3:=C〉EMA55 AND (REF(C,1)<REF(EMA55,1)OR REF(C,2)<REF(EMA55,2) OR REF(C,3)〈REF(EMA55,3)OR REF(C,4)<REF(EMA55,4)OR REF(C,5)〈REF(EMA55,5));蚂蚁上树:BR1 AND BR2 AND BR3;形态特征:两条略微向右下方倾斜的主均线相距很近或基本持平.股价踏上13日均线后,以连续上攻的小阳线缓步盘升,把股价轻松地送上55日均线。
通达信指标公式源码预测成交量公式
通达信指标公式源码预测成交量公式通达信是国内一款非常常用的股票分析软件,其指标公式源码是其最核心的部分之一、下面是一些通达信中常用的指标公式源码以及一个预测成交量的公式源码。
一、通达信指标公式源码示例通达信软件中有很多内置的指标公式,下面是一些示例:1.移动平均线指标(MA)公式:MA(CLOSE,N)源码示例:```MA1:MA(C,5);MA2:MA(C,10);MA3:MA(C,20);```2.相对强弱指标(RSI)公式:RSI(CLOSE,N)源码示例:```RSI1:RSI(C,6);RSI2:RSI(C,12);RSI3:RSI(C,24);```3.指数移动平均线(EMA)公式:EMA(CLOSE,N)源码示例:```EMA1:EMA(C,5);EMA2:EMA(C,10);EMA3:EMA(C,20);```4.布林线指标(BOLL)公式:BOLL(CLOSE,N,K)源码示例:```BOLLUP:BOLL(C,20,2);BOLLMID:BOLL(C,20,1);BOLLDOWN:BOLL(C,20,-2);```5.动态支撑压力指标(SUP)公式:SUP(MIN(O,LOW),N)源码示例:```SUP1:SUP(MIN(O,L),20);SUP2:SUP(MIN(O,L),30);SUP3:SUP(MIN(O,L),60);```这些只是通达信软件中的一小部分指标公式,通达信软件中还有很多其他指标公式可供使用。
二、预测成交量公式源码预测成交量是一个常用的技术分析指标之一,下面是一个预测成交量的简单公式源码示例:```PredictedVolume:VOL*(CLOSE/REF(CLOSE,1));```以上是一个简单的公式,其基本思想是通过当前价格的涨跌情况来预测成交量的大小。
具体来说,通过计算当前成交量乘以当前价格与前一天价格的比值,从而得出预测的成交量。
需要注意的是,这只是一个简单的预测成交量的公式,其精确性可能有限,实际中还需要考虑更多的因素来进行准确的成交量预测。
【股票指标公式下载】-【大智慧】135战法(生命线、趋势)
【大智慧】135战法(生命线、趋势)-指标公式源码n:=17;LH:=79;EMA1:EMA(C,1);ema13:ema(c,13),COLORFF8080;ema34:ema(c,34),colorFFFF00;ema55:ema(c,55),colorff00ff;ema120:ema(c,120),COLORGREEN;MA30:MA(C,30),COLORYELLOW,POINTDOT,LINETHICK2;生命线:eMA(CLOSE,453),colorff00ff,POINTDOT,LINETHICK2;LOCK:=1;M8:=EMA(CLOSE,8);M13:=EMA(M8,13);VAR1:=EMA(M13,62);VAR2:=(CLOSE+HIGH+LOW)/3;VAR3:=EMA(VAR2,10)*LOCK;VAR4:=REF(VAR3,1)*LOCK;STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,9*0.5,0),COLORFF5B00; STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,8*0.5,0),COLORFF6C00; STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,7*0.5,0),COLORFF7B00; STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,6*0.5,0),COLORFF9C00; STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,5*0.5,0),COLORFFBE00; STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,3.5*0.5,0),COLORFFCC00; STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,1.5*0.5,0),COLORFFFF00; STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,9*0.5,0),COLOR070084; STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,8*0.5,0),COLOR0000A3; STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,7*0.5,0),COLOR0000B7; STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,6*0.5,0),COLOR0000CD; STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,5*0.5,0),COLOR0000E9; STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,3*0.5,0),COLOR0754E9; STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,1.5*0.5,0),COLOR076EF3; STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,1*0.5,0),COLOR077BF3; STICKLINE(CLOSE>OPEN,OPEN,LOW,1*0.5,0),COLOR0726CA;STICKLINE(CLOSE>OPEN,CLOSE,HIGH,1*0.5,0),COLOR0726CA;STICKLINE(OPEN>CLOSE,CLOSE,LOW,1*0.5,0),COLORDE9100;STICKLINE(OPEN>CLOSE,OPEN,HIGH,1*0.5,0),COLORDE9100;AAA:=MA(C,10);BBB:=ATAN((AAA/REF(AAA,1)-1)*100)*180/3.1416;CCC:=FILTER(CROSS(BBB,30),5);DRAWTEXT(CCC AND C>AAA,AAA*0.95,'十日三十度角'),COLORFF00FF;ar1:=ema55>ema34 and ema34>ema13;ar2:=BARSLAST((c-ema13)/ema13*100<-6);ar3:=ema13>=ref(ema13,2);ar4:=count(cross(c,ema13),ar2)=1;ar5:=ar1 and ar2 and ar3 and ar4;ar6:=ar5 and filter(ar5,10);drawtext(ar6,l-0.09,'红杏出墙'),COLOR00ccff;stickline(ar6,h,l,0.5,1),COLOR00ccff;stickline(ar6,o,c,6,1),linethick2,COLOR00ccff;br1:=count(BETWEEN((c-ref(c,1))/ref(c,1)*100,0,5) ,5)=5;br2:=abs((ema13-ema34)+(ema34-ema55))/c<0.2;br3:=c>ema55 and (ref(c,1)<ref(ema55,1) or ref(c,2)<ref(ema55,2) or ref(c,3)<ref(ema55,3) or ref(c,4)<ref(ema55,4) orref(c,5)<ref(ema55,5));br4:=br1 and br2 and br3;drawtext(br4 and filter(br4,10),l-0.09,'蚂蚁上树'),color00C5FF; stickline(br4 and filter(br4,10),h,l,0.5,1),color00C5FF;stickline(br4 and filter(br4,10),o,c,6,1),linethick2,color00C5FF; cr1:=(c-ref(c,1))/ref(c,1)*100>0.5;cr2:=v>ma(v,5)*0.6;cr3:=count(cross(ema13,ema55),3)=1;cr4:=abs(ema34-ema55)/ema55<0.03;cr5:=ema55<=ema120 and ema55>=ref(ema55,1);cr6:=FILTER(cr1 and cr2 and cr3 and cr4 and cr5,2);stickline(cr6,h,l,0.5,1),colorf00ff0;stickline(cr6,o,c,6,1),linethick2,colorf00ff0;drawtext(cr6,l-0.09,'红衣侠女'),colorf00ff0;dr1:=ema13>ema34 and ema34<ema55;dr2:=BARSLAST(cross(c,ema55) );dr3:=h=hhv(h,dr2);dr4:=BARSLAST(dr3);dr5:=count(o>c and c<ref(c,1) and c>ema55 andBETWEEN((c-ema55)/ema55,0,0.02),dr4)=1;dr6:=c>ref(c,1) ;dr7:= dr1 and dr5 and dr6 ;dr8:=dr7 and FILTER(dr7 ,10);drawtext(dr8,l-0.09,'黑客点击'),colord6ba63;stickline(dr8,h,l,0.5,1),colord6ba63;stickline(dr8,o,c,6,1),linethick2,colord6ba63;er:=barslast(ref(cross(ema55,ema34),1)) and cross(ema34,ema55); DRAWTEXT(er,l-0.09,'均线互换'),color0099ff;stickline(er,h,l,0.5,1),color0099ff;stickline(er,o,c,6,1),linethick2,color0099ff;fr:=barslast(ref(cross(ema34,ema13),1)) and cross(ema13,ema34); DRAWTEXT(fr,l-0.09,'梅开二度'),colorwhite;stickline(fr,h,l,0.5,1),colorwhite;stickline(fr,o,c,6,1),linethick1,colorwhite;gr1:=BARSLAST(BETWEEN("bias.bias2"(6,13,24),0,5) );gr2:=ema13>ema34 and ema34>ema55 and ema13>ref(ema13,1);gr3:=count("bias.bias2"(6,13,24)>10 and h=hhv(h,gr1),gr1);gr4:=h=hhv(h,gr1);gr5:="macd.macd"(12,26,9)<ref("macd.macd"(12,26,9),1);gr6:=gr2 and gr3 and gr4;gr7:=gr2 and gr3 and gr4 and gr5;drawtext(gr6 and gr7,h+0.13,'见好就收!'),color00ff00;DRAWTEXT(gr6 and gr7,h+0.1,'▼'),color00ff00;hr2:=ema13>=ref(ema13,3) and ema34>=ref(ema34,1) and ema55>=ref(ema55,1) and cross(c,ema13) and cross(c,ema34) and cross(c,ema55);DRAWTEXT(hr2 and filter(hr2,10),h+0.1,'▲'),colorFFC8FF;DRAWTEXT(hr2 and filter(hr2,10),h+0.5,'揭竿而起'),color9900cc; DRAWTEXT(hr2 and filter(hr2,10),l-0.09,'三线推进'),COLORYELLOW; stickline(hr2 and filter(hr2,10),h,l,0.5,1),COLORYELLOW;stickline(hr2 and filter(hr2,10),o,c,6,1),linethick2,COLORYELLOW;SK:= EMA(Var1,13)-EMA(Var1,73);SD:= EMA(SK,2);drawtext((cross(sk,sd) and sk<-0.04 and (c-ref(c,1))/ref(c,1)>=0.03) or (cross(sk,sd) and sk<=-0.14 )or (cross(sk,sd) and sk<=0.05 and (v/ma(v,5)>2 orc/ref(c,1)>0.035)) ,l*0.99,'短'),COLOR0000cc;stickline((cross(sk,sd) and sk<-0.04 and (c-ref(c,1))/ref(c,1)>=0.03) or (cross(sk,sd) and sk<=-0.14 )or (cross(sk,sd) and sk<=0.05 and (v/ma(v,5)>2 orc/ref(c,1)>0.035)),h,l,0.5,0),COLOR0000cc;stickline((cross(sk,sd) and sk<-0.04 and (c-ref(c,1))/ref(c,1)>=0.03) or (cross(sk,sd) and sk<=-0.14 )or (cross(sk,sd) and sk<=0.05 and (v/ma(v,5)>2 orc/ref(c,1)>0.035)),o,c,10,1),linethick1,COLOR0000cc;MA1:=MA(((HIGH + LOW) / 2),5);MA2:=MA(((HIGH + LOW) / 2),35);x:=((MA1 - MA2) * 100);均势一:=(((((((((CLOSE + REF(CLOSE,1)) + REF(CLOSE,2)) + REF(CLOSE,3)) + REF(CLOSE,4)) + REF(CLOSE,5)) + REF(CLOSE,6)) + REF(CLOSE,7)) + REF(CLOSE,8)) / 9);均势二:=((((CLOSE + REF(CLOSE,1)) + REF(CLOSE,2)) + REF(CLOSE,3)) / 4); 趋势一:=((((均势一 - REF(均势一,1)) / REF(均势一,1)) * 1000) + 50); 趋势二:=((((均势二 - REF(均势二,1)) / REF(均势二,1)) * 1000) + 50); 波段高位:=(CROSS(趋势一,趋势二) AND (COUNT((CLOSE > REF(HIGH,1)),12) > 5));LC:=REF(CLOSE,1);方向值:=((SMA(MAX((CLOSE - LC),0),6,1) / SMA(ABS((CLOSE - LC)),6,1)) * 100);短抄一:=((CROSS(趋势二,(趋势一 + 2)) AND (x < 0)) AND ((方向值 < 10) OR (REF(方向值,1) < 10)));短抄二:=((((CROSS(趋势二,MA1) AND (MA1 < 20)) AND (方向值 > 趋势二)) AND (x < 0)) AND(((趋势二 < 20) OR (REF(趋势二,1) < 15)) OR (REF(趋势二,2) < 15))); DRAWTEXT((短抄一 OR 短抄二),(LOW * 0.99),'短底'),Color0000FF; DRAWTEXT(波段高位,(HIGH * 1.03),'卖出'),colorFF0000;DRAWICON(波段高位,(HIGH * 1.06),2),colorFF0000;DRAWICON((短抄一 OR 短抄二),(LOW * 0.97),1);V5:=EMA(CLOSE,1);主线:=EMA(V5,5) ;本:=EMA(HHV(主线,5),1);急进:=EMA(HHV(本,17),1);稳健:=EMA(HHV(急进,17),2);投资:EMA(HHV(稳健,17),3),linethick2, colorgray;Y:=(MA(C,13)-MA(C,55))/MA(C,13)*100;YY1:=C>MA(C,13) AND OPEN<MA(C,13);{一阳三线}YY3:=C>MA(C,34) AND OPEN<MA(C,34);YY5:=C>MA(C,55) AND OPEN<MA(C,55);X2:DRAWTEXT(YY1 AND YY5 AND YY3,LOW-0.1,'一阳三线'),COLORRED;SJ1:=ABS(MA(CLOSE,13)-MA(CLOSE,34))<C*0.01;{13线34线55线接近} SJ2:=ABS(MA(CLOSE,34)-MA(CLOSE,55))<C*0.01;SJ3:=CROSS(MA(CLOSE,13),MA(CLOSE,55));{13线上穿55线}X3:DRAWTEXT(SJ1 AND SJ2 AND SJ3,HIGH+0.1,'三军集结'),COLORRED;RY1:=C/OPEN>1.04;{阳线4%}RY2:=REF(OPEN,1)/REF(CLOSE,1)>1.04;{阴线4%}RY3:=ABS(OPEN-REF(C,1))<C*0.02 AND ABS(C-REF(OPEN,1))<C*0.02;{两线相等}X4:DRAWTEXT(RY1 AND RY2 AND RY3 ,LOW,'日月合璧'),COLORYELLOW;JW1:=C<OPEN AND REF(C,1)<REF(OPEN,1);JW2:=OPEN<REF(C,1) AND C>REF(L,1);JW3:=O<MA(C,13) AND O<MA(C,34) AND O<MA(C,55);JW:=JW1 AND JW2 AND JW3;X8:DRAWTEXT(JW,LOW-0.2,'金屋藏娇'),COLORYELLOW;TS1:=CROSS(MA(C,13),MA(C,34));{13线上穿34线}TS2:=MA(C,13)<MA(C,55);TS:=TS1 AND TS2;X9:DRAWTEXT(TS,LOW-0.2,'投石问路'),COLORF00FF0;YZ1:=C/O>1.02 AND H/C>1.02 AND O/L<1.02;{收阳有上影}YZ2:=REF(C,1)>REF(O,1) AND O>MA(C,11);{昨收阳今大于均线}YZ:=YZ1 AND YZ2 AND Y>10;X11:DRAWTEXT(YZ,HIGH+0.2,'一枝独秀'),COLORF00FF0;DS1:=OPEN/C>1.04 AND O/REF(C,1)>1.03;{高开收阴}DS2:=V*100/FINANCE2(7)>0.08 AND Y>8;{换手高涨幅大}DS:=DS1 AND DS2;X12:DRAWTEXT(DS,HIGH+0.2,'独上高楼'),COLORGREEN;YJ1:=H/O>1.04;YJ2:=ABS(C-O)<C*0.03;YJ3:=C/MA(C,13)>1.1;YJ:=YJ1 AND YJ2 AND DS2 AND YJ3 AND YZ2;X13:DRAWTEXT(YJ,HIGH+0.3,'一剑封喉'),COLORRED;T:=(MA(C,13)-MA(C,55))/MA(C,13)*100;TT1:=C<MA(C,13) AND OPEN>MA(C,13);{断头铡刀}TT3:=C<MA(C,34) AND OPEN>MA(C,34);TT5:=C<MA(C,55) AND OPEN>MA(C,55);x28:DRAWTEXT(TT1 AND TT5 AND TT3,LOW-0.6,'断头铡刀'),COLORRED;x39:DRAWTEXT(CROSS(eMA34,eMA13),eMA34*1.01,'S分道扬镳'), COLOR00FF00; x30:DRAWTEXT(CROSS(eMA55,eMA13),eMA55*1.01,'S一箭穿心'), COLOR00FF00; X31:DRAWTEXT(CROSS(eMA55,eMA34),eMA55*1.01,'S各自为政'), COLOR00FF00;VAR10:=MA(CLOSE,80)-MA(CLOSE,10)/3;VAR11:=REF(CLOSE,1);VAR12:=(SMA(MAX(CLOSE-VAR11,0),N,1))/(SMA(ABS(CLOSE-VAR11),N,1))*100; X14:DRAWTEXT(IF(CLOSE<VAR10 AND VOL/240>MA(VOL,5)/240 AND CLOSE>REF (CLOSE,1)*1.08 AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW-0.7,'进场'),COLORRED;X16:DRAWTEXT(CROSS(LH,VAR12),HIGH*1.04,'获利减仓');X17:DRAWTEXT(CROSS(VAR3,VAR4),L-0.3,'买');X18:DRAWTEXT(CROSS(eMA13,eMA34),H+0.5,'投石,增持'),COLORYELLOW;X19:DRAWTEXT(CROSS(eMA13,eMA55),H+0.3,'红客,加仓'),COLORYELLOW;X20:DRAWTEXT(CROSS(eMA34,eMA55),L-0.5,'互换,重仓'),COLORYELLOW;X21:DRAWTEXT(REF(CLOSE,1)<REF(OPEN,1) AND CLOSE>REF(OPEN,1),L*0.97,'克阴'),COLORFF00FF;X22:DRAWTEXT(REF(CLOSE,1)>REF(OPEN,1) AND CLOSE<REF(OPEN,1),H*1.05,'克阳'),COLOR00FF00;X23:DRAWICON(CROSS(eMA13,eMA34),eMA34,1);X24:DRAWICON(CROSS(eMA13,eMA55),eMA55,1);X25:DRAWICON(CROSS(eMA34,eMA55),eMA55,1);STICKLINE(HR2 AND FILTER(HR2,10),H,L,0,1),COLORFFC8FF;FF:=EMA(CLOSE,3);MA15:=EMA(CLOSE,21);DRAWTEXT(CROSS(FF,MA15),(LOW * 0.99),'←底背'),COLORA6E500;RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100); DRAWTEXT(CROSS(88,RSI),(HIGH * 1.04),'←顶背'),COLOR1880FF;X35:DRAWICON(CROSS(eMA13,eMA34),eMA34,1);X36:DRAWICON(CROSS(eMA13,eMA55),eMA55,1);X37:DRAWICON(CROSS(eMA34,eMA55),eMA55,1);X38:DRAWICON(CROSS(eMA34,eMA13),eMA34,2);X139:DRAWICON(CROSS(eMA55,eMA13),eMA55,2);X40:DRAWICON(CROSS(eMA55,eMA34),eMA55,2);【大智慧】135战法(生命线、趋势)-指标公式效果图(文档来源:若水财经社区)。
135战法公式源码(通达讯与大智慧)付说明
135战法公式源码(通达讯和大智慧)付说明{135战法} (主图)N 3 10 5EMA13:EMA(C,13),COLORWHITE,LINETHICK2;EMA34:EMA(C,34),COLORYELLOW;EMA55:EMA(C,55),COLORFF00FF;EMA120:EMA(C,120),COLORFFCC66;AR1:=EMA55>EMA34 AND EMA34>EMA13;AR2:=BARSLAST((C-EMA13)/EMA13*100<-6);AR3:=EMA13>=REF(EMA13,2);AR4:=COUNT(CROSS(C,EMA13),AR2)=1;AR5:=AR1 AND AR2 AND AR3 AND AR4;AR6:=AR5 AND FILTER(AR5,10);DRAWTEXT(AR6,L-0.09,'红杏出墙'),COLORYELLOW;{STICKLINE(AR6,H,L,0.5,1),COLORYELLOW;}{STICKLINE(AR6,O,C,6,1),LINETHICK2,COLORYELLOW;}BR1:=COUNT(BETWEEN((C-REF(C,1))/REF(C,1)*100,0,5) ,5)=5;BR2:=ABS((EMA13-EMA34)+(EMA34-EMA55))/C<0.2;BR3:=C>EMA55 AND (REF(C,1)<REF(EMA55,1) OR REF(C,2)<REF(EMA55,2) OR REF(C,3)<REF(EMA55,3) OR REF(C,4)<REF(EMA55,4) OR REF(C,5)<REF(EMA55,5));BR4:=BR1 AND BR2 AND BR3;DRAWTEXT(BR4 AND FILTER(BR4,10),L-0.09,'蚂蚁上树'),COLOR00C5FF;STICKLINE(BR4 AND FILTER(BR4,10),H,L,0.5,1),COLOR00C5FF;{STICKLINE(BR4 AND FILTER(BR4,10),O,C,6,1),LINETHICK2,COLOR00C5FF;}CR1:=(C-REF(C,1))/REF(C,1)*100>0.5;CR2:=V>MA(V,5)*0.6;CR3:=COUNT(CROSS(EMA13,EMA55),3)=1;CR4:=ABS(EMA34-EMA55)/EMA55<0.03;CR5:=EMA55<=EMA120 AND EMA55>=REF(EMA55,1);CR6:=FILTER(CR1 AND CR2 AND CR3 AND CR4 AND CR5,2);{STICKLINE(CR6,H,L,0.5,1),COLORF00FF0;}{STICKLINE(CR6,O,C,6,1),LINETHICK2,COLORF00FF0;}DRAWTEXT(CR6,L-0.09,'红衣侠女'),COLORF00FF0;DR1:=EMA13>EMA34 AND EMA34<EMA55;DR2:=BARSLAST(CROSS(C,EMA55) );DR3:=H=HHV(H,DR2);DR4:=BARSLAST(DR3);DR5:=COUNT(O>C AND C<REF(C,1) AND C>EMA55 AND BETWEEN((C-EMA55)/EMA55,0,0.02),DR4)=1;DR6:=C>REF(C,1) ;DR7:= DR1 AND DR5 AND DR6 ;DR8:=DR7 AND FILTER(DR7 ,10);DRAWTEXT(DR8,L-0.09,'黑客点击'),COLORD6BA63;{STICKLINE(DR8,H,L,0.5,1),COLORD6BA63;}STICKLINE(DR8,O,C,6,1),LINETHICK2,COLORD6BA63;ER:=BARSLAST(REF(CROSS(EMA55,EMA34),1)) AND CROSS(EMA34,EMA55); DRAWTEXT(ER,L-0.09,'均线互换'),COLOR0099FF;{STICKLINE(ER,H,L,0.5,1),COLOR0099FF;}{STICKLINE(ER,O,C,6,1),LINETHICK2,COLOR0099FF;}FR:=BARSLAST(REF(CROSS(EMA34,EMA13),1)) AND CROSS(EMA13,EMA34); DRAWTEXT(FR,L-0.09,'梅开二度'),COLORWHITE;STICKLINE(FR,H,L,0.5,1),COLORWHITE;{STICKLINE(FR,O,C,6,1),LINETHICK2,COLORWHITE;}GR1:=BARSLAST(BETWEEN("BIAS.BIAS2"(6,13,24),0,5) );GR2:=EMA13>EMA34 AND EMA34>EMA55 AND EMA13>REF(EMA13,1);GR3:=COUNT("BIAS.BIAS2"(6,13,24)>10 AND H=HHV(H,GR1),GR1);GR4:=H=HHV(H,GR1);GR5:="MACD.MACD"(12,26,9)<REF("MACD.MACD"(12,26,9),1);GR6:=GR2 AND GR3 AND GR4;GR7:=GR2 AND GR3 AND GR4 AND GR5;DRAWTEXT(GR6 AND GR7,H+0.13,'见好就收!'),COLOR00FF00;STICKLINE(GR6 AND GR7,H,H+0.09,4,0),COLOR00FF00;HR2:=EMA13>=REF(EMA13,3) AND EMA34>=REF(EMA34,1) AND EMA55>=REF(EMA55,1) AND CROSS(C,EMA13) AND CROSS(C,EMA34) AND CROSS(C,EMA55){ AND CROSS(C,EMA120)};DRAWTEXT(HR2 AND FILTER(HR2,10),L-0.09,'三线推进'),COLORFFC8FF;("135"均线系统的获利目标是"双十获利"原则,即持股20个交易日,获利20%)(红杏出墙是135系统的第一买点,属底部形态,红杏出墙的持股时间为10天,获利10%) 红杏出墙卖股票,操作手法有两套。
通达信指标公式源码最好用的主图指标
通达信指标公式源码最好用的主图指标通达信是一个非常受欢迎的股票分析软件,它提供了丰富的技术指标供投资者使用。
以下是一些通达信中常用的主图指标以及它们的源码。
1.移动平均线(MA):MA是一种常用的趋势指标,通过计算一段时间内的股价平均值来展示价格走势。
通达信中的MA指标源码如下:```MA(CLOSE,N):=MA(CLOSE,N);```其中,CLOSE表示收盘价,N表示计算的周期。
2.相对强弱指标(RSI):RSI是一种用于判断股票超买超卖情况的指标,通达信中的RSI指标源码如下:```RSI(CLOSE,N):=SMA(MAX(CLOSE-REF(CLOSE,1),0),N,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),N,1)*100;```其中,CLOSE表示收盘价,N表示计算的周期。
3.随机指标(KDJ):KDJ指标是一种通过计算最高价、最低价和收盘价的相对关系来判断超买超卖情况的指标,通达信中的KDJ指标源码如下:```RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;K:SMA(RSV,M1,1);D:SMA(K,M2,1);J:3*K-2*D;```其中,CLOSE表示收盘价,LOW表示最低价,HIGH表示最高价,N、M1和M2表示计算的周期。
4.平均成交量(MAVOL):MAVOL是一种用于衡量成交量的指标,通达信中的MAVOL指标源码如下:```MA(CLCV,N):=MA(CLCV,N);```其中,CLCV表示成交量,N表示计算的周期。
5.动量指标(MTM):MTM是一种用于衡量价格变动速度的指标,通达信中的MTM指标源码如下:```MTM(CLOSE,N):=CLOSE-REF(CLOSE,N);```其中,CLOSE表示收盘价,N表示计算的周期。
以上是一些通达信中常用的主图指标及其源码。
这些指标可以帮助投资者分析股票的趋势、超买超卖情况、成交量以及价格变动速度等重要因素,从而作出更明智的投资决策。
李莜阳---通达信主图∠智能变色均线大智慧135四区主图源码指标
! 李莜阳 -通达信主图∠智能变色均线大智慧135四区主图源码指标:温馨11-01-20源码 -VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);VAR2:=REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR3:=REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR4:=REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR5:=REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR7:=REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR8:=REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR9:=REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VARA:=REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VARB:=REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VARC:=REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 ORVAR8 OR VAR9 OR VARA OR VARB OR VARC,CLOSE,REF(CLOSE,1),3,1),COLORRED;{红1}VARD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);VARE:=REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR10:=REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR12:=REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR14:=REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR16:=REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR18:=REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 ORVAR18,CLOSE,REF(CLOSE,1),3,0),COLORFFCC66;VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1;STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),4,1),COLORYELLOW;VAR1A:=REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 ORVAR8 OR VAR9 OR VARA OR VARB OR VARC,1) AND VARD;STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),5,2),COLOR00FF00{98FD};STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),3,0),COLOR00C8FF;STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),2,0),COLOR10ECFF;STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),2,0),COLOR10FFFF;STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),3,0),COLOR00D900;STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),3,0),COLORBLUE;STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),0,0),COLOR090FF2;PMA:MA(C,5),COLORWHITE,LINETHICK2;IF(PMA>REF(PMA,1),PMA,DRAWNULL),COLORRED,LINETHICK2;IF(PMA<REF(PMA,1),PMA,DRAWNULL),COLORGREEN,LINETHICK2;X:=(3*C+L+O+H)/6;多空线:(20*X+19*REF(X,1)+18*REF(X,2)+17*REF(X,3)+16*REF(X,4)+15*REF(X,5)+14*REF (X,6)+13*REF(X,7)+12*REF(X,8)+11*REF(X,9)+10*REF(X,10)+9*REF(X,11)+8*REF(X,1 2)+7*REF(X,13)+6*REF(X,14)+5*REF(X,15)+4*REF(X,16)+3*REF(X,17)+2*REF(X,18 )+REF(X,20))/210,COLORFF00FF,LINETHICK2;{用法:黄托底买进,蓝压顶卖出。
通达信公式指标135成交量战法 和的虚拟成交量指标
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 3.0,0 );
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 3.0,0 );
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 3.0,0 );
STICKLINE(主动卖<=0,0,-主动卖,3.0,0);
STICKLINE(主动卖<=0,0,-主动卖,3.0,0);
STICKLINE(主动卖<=0,0,-主动卖,3.0,0);
STICKLINE(主动卖<=0,0,-主动卖,3.0,0),COLORGREEN;
主力启动线:MA(VOLUME,5),COLORWHITE,LINETHICK2;
-LOW),0-VOL/2)); 主卖:-主动卖/10000,COLORGREEN;
STICKLINE(CLOSE=REF(CLOSE,1),0,VOL,3.0,0);
STICKLINE(CLOSE>REF(CLOSE,1),0,VOL,3.0,0);
STICKLINE(CLOSE<REF(CLOSE,1),0,VOL,3.0,0);
STICKLINE(主动买>=0,VOL,-主动卖,3.0,0);
STICKLINE(主动买>=0,VOL,-主动卖,3.0,0);
STICKLINE(主动买>=0,VOL,-主动卖,3.0,0),COLORRED;
STICKLINE(主动卖<=0,0,-主动卖,3.0,0);
STICKLINE(主动卖<=0,0,-主动卖,3.0,0);
主力洗盘线:MA(VOLUME,35),COLORBLUE,LINETHICK2;
135战法所有公式全编写主图通达信指标公式源码
135战法所有公式全编写主图通达信指标公式源码135所有战法全编写,分享给大家,对照《135战法》书籍研究收获更大。
所有公式都包含在一个文本里方便大家下载。
里面添加了详细注释,方便大家学习和理解。
主图显示,更加直观。
注释详细,分享给大家,对照《135战法》书籍研究收获更大EMA13:MA(C,13),COLORWHITE,LINETHICK2;EMA34:MA(C,34),COLORYELLOW;EMA55:MA(C,55),COLORFF00FF;{红杏出墙}HX1:=EMA13HX2:=BARSLAST((C-EMA13)/EMA13*100<-6);{收盘价在13均线%6到现在的天数}HX3:=ABS(1-EMA55/REF(C,1))>0.1;HX6:=BARSLAST(CROSS(EMA55,EMA34))>=20;{13日均线下降趋于走平}HX4:=ABS(1-REF(EMA13,1)/EMA13)<0.004 AND CHX5:=REF(C,1)EMA13 AND C>O;HX7:=HX1 {AND HX3} AND HX4 AND HX5 ;HX8:=HX7 AND FILTER(HX7,10);{满足后10天内不标记}DRAWTEXT(HX8,L-0.05,'红杏出墙'),COLORYELLOW;{金屋藏娇}JWCJ1:=CJWCJ2:=O<=REF(C,1) AND L>=REF(L,1);JWCJ3:=REF(C,1)/REF(L,1)>1.02;JWCJ4:=EMA13JWCJ:=JWCJ1 AND JWCJ2 AND JWCJ3 AND JWCJ4;DRAWTEXT(JWCJ,LOW-0.2,'金屋藏娇'),COLORYELLOW;{马失前蹄}MSQT1:=EMA55/EMA13>1.04 AND EMA13/C>1.03;MSQT2:=O<=REF(L,1) AND REF(O,1)/REF(C,1)>1.03;MSQT:= MSQT1 AND MSQT2;DRAWTEXT(MSQT,(O+C)/2,'马失前蹄'),COLORYELLOW;{日月合璧}RYHB1:=REF(O,1)<=REF(C,2) AND REF(C,1)<0.02;RYHB2:=C>O AND ABS(1-C/REF(O,1))<0.025 AND ABS(1-O/ REF(C,1))<0.025;RYHB3:=EMA13<0.01 AND (EMA13RYHB4:=REF(L,1)<=LLV(REF(L,1),10);RYHB:=RYHB1 AND RYHB2 AND RYHB3 AND RYHB4;DRAWTEXT(RYHB ,LOW,'日月合璧'),COLORYELLOW;{黑客点击}DJ1:=EMA13>EMA34 AND EMA34DJ2:=O>EMA55;{开盘价大于55日均线}DJ3:=CROSS(EMA13,EMA55) OR ABS(1-EMA13/EMA55)<0.002;DJ4:=O>C AND CHKDJ:= DJ2 AND DJ3 AND DJ4;DRAWTEXT(HKDJ AND FILTER(HKDJ,10),L-0.03,'黑客点击'),C OLORD6BA63;{海底捞月}LY1:=COUNT(ABS(1-EMA55/EMA34)<0.1,20)>=16;LY2:=COUNT(CROSS(EMA34,EMA13),40)>=1 AND COUNT(C ROSS(EMA55,EMA13),40)>=1;LY3:=CROSS(EMA13,EMA55);HDLY:=LY1 AND LY2 AND LY3;DRAWTEXT(HDLY AND FILTER(HDLY,5),L-0.25,'海底捞月'),COL ORGREEN;{均线互换}JXHH:=BARSLAST(REF(CROSS(EMA55,EMA34),1)) AND CRO SS(EMA34,EMA55);DRAWTEXT(JXHH,L+0.09,'均线互换'),COLOR0099FF;{突出重围}TCCW1:=REF(EMA55,1)TCCW2:=EMA13<0.008;TCCW:=TCCW1 AND TCCW2;DRAWTEXT(TCCW AND FILTER(TCCW,5),H+0.01,'突出重围'),C OLORF00FF0;{揭竿而起}MAX3:=MAX(MAX(EMA13,EMA34),EMA55);MIN3:=MIN(MIN(EMA13,EMA34),EMA55);JG1:=ABS(EMA13-EMA34)JG2:=ABS(EMA34-EMA55)JG3:=C>=O*1.03 AND C>MAX3;{阳线3%}JG4:=O>MIN3 AND OJG5:=C>REF(H,5);JG6:=(C-EMA34)/EMA34<=0.15;{控制价高}JG7:=V>MA(V,5) AND MA(V,10);JGEQ:=JG1 AND JG2 AND JG3 AND JG4 AND JG5 AND JG6 AND JG7;DRAWTEXT(JGEQ,H+0.1,'揭竿而起'),COLORGREEN;{一阳三线}YY1:=C>EMA13 AND OYY2:=C>EMA34 AND OYY3:=C>EMA55 AND OYYSX:=YY1 AND YY2 AND YY3;DRAWTEXT(YYSX,H+0.1,'一阳三线'),COLORRED;{红衣侠女}XN1:=ABS(1-HHV(EMA55,5)/LLV(EMA55,5))<0.02;XN2:=CROSS(EMA13,EMA55) OR ABS(1-EMA13/EMA55)<0. 002;XN3:=C>O AND V>REF(V,1) AND C>EMA55;HYXN:=XN1 AND XN2 AND XN3;DRAWTEXT(HYXN AND FILTER(HYXN,5),L-0.05,'红衣侠女'),C OLORF00FF0;{梅开二度}MKED1:=BARSLAST(REF(CROSS(EMA34,EMA13),1));MKED2:=COUNT(H>=EMA55,MKED1)=MKED1;MKED:=MKED2 AND CROSS(EMA13,EMA34);DRAWTEXT(MKED,L-0.1,'梅开二度'),COLOR0044FF;{破镜重圆}PJCY1:=REF(O,1)/REF(C,1)>1.02;PJCY2:=O<=REF(C,1) AND C>=REF(O,1);PJCY3:=(ABS(1-REF(C,1)/EMA55)<0.05 OR ABS(1-C/EMA55) <0.05 OR ABS(1-MA(C,2)/EMA55)<0.05);PJCY4:=EMA13>EMA55 OR EMA13>MA(EMA13,5);PJCY:=PJCY1 AND PJCY2 AND PJCY3 AND PJCY4;DRAWTEXT(PJCY,LOW,'破镜重圆'),COLORYELLOW;{三线推进}MAX4:=MAX(MAX(MAX(EMA13,EMA34),EMA55),H);MIN4:=MIN(MIN(MIN(EMA13,EMA34),EMA55),L);SXTJ1:=HHV(MAX4,60);SXTJ2:=LLV(MIN4,60);SXTJ3:=EVERY(ABS(1-SXTJ1/SXTJ2)<0.3,20);SXTJ:=SXTJ3 AND (YYSX OR JGEQ);DRAWTEXT(SXTJ AND FILTER(SXTJ,10),H+0.25,'三线推进'),CO LOR00C5FF;{双蹄并进}STBJ1:=CROSS(DMI.PDI,DMI.MDI);STBJ2:=ABS(1-DMI.ADX/DMI.ADXR)<0.1;STBJ:=STBJ1 AND STBJ2;DRAWTEXT(STBJ,(O+C)/2,'双蹄并进'),COLORGREEN;{步步高}BBG1:=C>=REF(C,1) AND REF(C,1)>=REF(C,2);{3日内收盘价都比前日收盘价高}BBG2:=V>=REF(V,1) AND REF(V,1)>=REF(V,2);{3日内量都比前日量高}BBG3:=COUNT(C>=O,3)=3;BBG:=BBG1 AND BBG2 AND BBG3;DRAWTEXT(BBG AND FILTER(BBG,3),(C+O)/2,'步步高'),COLO RFF00FF;{四星望月}SXWY1:=COUNT(C>=O AND C/O<1.03,4)=4;SXWY2:=(ABS(EMA13-EMA34)+ABS(EMA34-EMA55))/C<0.1; {主均线相距很近或基本持平}SXWY3:=EMA13SXWY:=SXWY1 AND SXWY2 AND SXWY3;DRAWTEXT(SXWY AND FILTER(SXWY,5),H,'四星望月'),COLOR 00C5FF;{小鸟依人}XNYR1:=REF(C,1)/REF(O,1)>1.05;XNYR2:=O<=REF(C,1) AND ABS(1-C/O)<0.02;XNYR3:=COUNT(JGEQ OR YYSX OR HYXN,10)>=1 AND CO UNT(JGEQ OR YYSX OR HYXN,2)=0;XNYR:=XNYR1 AND XNYR2 AND XNYR3;DRAWTEXT(XNYR,H+0.01,'小鸟依人'),COLORBLUE;{走四方}ZSF1:=REF(C,4)>REF(O,4) AND (REF(C,4)>EMA13 OR REF(C, 4)>EMA34) AND (ABS(1-REF(EMA55,4)/EMA55)<0.01 OR MA(E MA55,4)>REF(EMA55,5));ZSF2:=COUNT(ABS((1-REF(C,1)/C)*100)<3,4)=4 AND MA(V, 4)ZSF:=ZSF1 AND ZSF2;DRAWTEXT(ZSF AND FILTER(ZSF,4),L-0.1,'走四方'),COLORBLU E;{三剑客}SJK1:=EMA13>EMA34 AND EMA34>EMA55;SJK2:=COUNT(C<=O AND O/C<1.03,3)=3 AND COUNT(ABS (1-REF(C,1)/C)<1.03,2)=2;SJK:=SJK1 AND SJK2;DRAWTEXT(SJK AND FILTER(SJK,3),L,'三剑客'),COLORYELLO W;{浪子回头}LZ1:=REF(C,2)LZ2:=C<=REF(C,1) AND REF(C,1)<=REF(C,2);LZ3:=MA(V,3)LZ4:=REF(C,3)>EMA13 AND (C>EMA55 OR ABS(1-C/EMA55) <0.01);LZHT:=LZ1 AND LZ2 AND LZ3 AND LZ4;DRAWTEXT(LZHT AND FILTER(LZHT,5),L-0.1,'浪子回头'),COL OR00FF99;{一石二鸟}YSEN1:=REF(C,2)>REF(O,2) AND REF(C,1)YSEN2:=REF(C,2)>EMA55 AND EMA13>EMA55 AND EMA13>=MA(EMA13,5);YSEN3:=REF(V,2)>REF(V,1) AND REF(V,2)>V;YSEN:=YSEN1 AND YSEN2 AND YSEN3;DRAWTEXT(YSEN,H+0.01,'一石二鸟'),COLORBLUE;{星星点灯}XXDD1:=ABS(1-C/O)*100<=2.5 AND H/MAX(C,O)>1.03 AN D REF(C,1)/REF(O,1)>1.05;XXDD2:=O>=REF(C,1) AND ABS(1-REF(EMA13,1)/EMA55)< 0.1};XXDD:=XXDD1 AND XXDD2;DRAWTEXT(XXDD,(O+C)/2,'星星点灯'),COLORGREEN;{蚂蚁上树}BR1:=COUNT(BETWEEN(((C-O)/O)*100,0,5) ,5)=5;{5日内收盘价都比前日收盘价高}BR2:=(ABS(EMA13-EMA34)+ABS(EMA34-EMA55))/C<0.1;{主均线相距很近或基本持平}BR3:=C>EMA55 AND COUNT(L=1;{股价送上55日均线}MYSS:=BR1 AND BR2 AND BR3;DRAWTEXT(MYSS AND FILTER(MYSS,5),H,'蚂蚁上树'),COLOR 00C5FF;{投石问路}TSWL1:=CROSS(EMA13,EMA34) AND EMA13DRAWTEXT(TSWL1,L-0.1,'投石问路'),COLOR0044FF;{绝处逢生}JCFS1:=EMA55>EMA13 AND EMA13>C;JCFS2:=O<=REF(L,1) AND C/O>1.05;JCFS:= JCFS1 AND JCFS2;DRAWTEXT(JCFS,H,'绝处逢生'),COLORYELLOW;{三军集结}SJJJ3:=REF(EMA55,1)>REF(EMA13,1);SJJJ4:=ABS(1-(MAX(MAX(EMA34,EMA55),EMA13)/MIN(MIN(EMA13,EMA34),EMA55)))<0.005;SJJJ:=SJJJ3 AND SJJJ4;DRAWTEXT(SJJJ AND FILTER(SJJJ,5),L-0.1,'三军集结'),COLOR0 044FF;{双飞燕}SFY1:=EMA13>EMA34 AND EMA34>EMA55;SFY2:=REF(O,1)>=REF(C,2) AND O>=REF(C,1) AND REF(C,2)> =REF(O,2);SFY3:=COUNT(C>O AND C/O<1.02,2)=2 OR COUNT(C<1.0 2,2)=2;SFY4:= VSFY:=SFY1 AND SFY2 AND SFY3 AND SFY4;DRAWTEXT(SFY AND FILTER(SFY,2),L,'双飞燕'),COLORYELLO W;{暗度陈仓}ADCC1:=O/C>1.05 AND EMA13/EMA55<1.1 AND EMA13> MA(EMA13,5);ADCC2:=O/REF(C,1)<1.03;{V<2};ADCC:=ADCC1 AND ADCC2;DRAWTEXT(ADCC,(C+O)/2,'暗度陈仓'),COLOR00C5FF;{立竿见影}LGJY1:=O<=REF(C,1) AND VLGJY2:=COUNT(JGEQ OR YYSX OR HYXN,2)=1;LGJY:=LGJY1 AND LGJY2;DRAWTEXT(LGJY,H+0.1,'立竿见影'),COLORBLUE;{一枝独秀}YZ1:=C/O>1.01 AND H/C>1.025 ;{收阳有上影}YZ2:=EMA13>MAX(EMA34,EMA55) AND C>1.05*EMA13 A ND O>MA(C,11);{昨收阳今大于均线}YZDX:=YZ1 AND YZ2;DRAWTEXT(YZDX,(H+C)/2,'一枝独秀'),COLORF00FF0;{一剑封喉}YJFH1:=REF(C,1)>=REF(O,1);YJFH2:=H/MAX(C,O)>=1.035 ;YJFH3:=V/MA(REF(V,1),11)>3 AND EMA13/EMA55>1.05;YJFH:=YJFH1 AND YJFH2 AND YJFH3;DRAWTEXT(YJFH,(H+L)/2,'一剑封喉'),COLORF00FF0;{狗急跳墙}GJTQ1:=O/REF(C,1)>1.02 AND L>REF(C,1);GJTQ2:=V>MA(V,5);GJTQ3:=EMA13/EMA55>1.1;GJTQ:=GJTQ1 AND GJTQ2 AND GJTQ3;DRAWTEXT(GJTQ,(O+C)/2,'狗急跳墙'),COLORF00FF0;{笑里藏刀}XLCD1:=REF(H,1)/MAX(REF(C,1),REF(O,1))>1.04;XLCD2:=H=REF(C,1);XLCD3:=EMA13/EMA55>1.05 AND C/EMA13>1.03;XLCD:=XLCD1 AND XLCD2 AND XLCD3;DRAWTEXT(XLCD,(O+C)/2,'笑里藏刀'),COLORF00FF0;{独上高楼}DSGL1:=REF(C,1)>=REF(O,1);DSGL2:=O/REF(C,1)>1.029 AND O/C>1.03 AND O/MAX(EM A13,EMA55)>1.03;DSGL:=DSGL1 AND DSGL2;DRAWTEXT(DSGL,(O+C)/2,'独上高楼'),COLORF00FF0;{金蝉脱壳}JCTQ1:=C1.1 OR (C/MIN(EMA13,EMA55)>1.1)) AND EMA13> MA(EMA13,5);JCTQ2:=REF(O,1)>=REF(C,2) AND REF(C,1)>REF(O,1) AND O <=REF(C,1) AND C>REF(O,1);JCTQ:=JCTQ1 AND JCTQ2;DRAWTEXT(JCTQ,(O+C)/2,'金蝉脱壳'),COLORF00FF0;{见好就收}Y:=(EMA13-EMA55)/EMA13*100;JHJX:=REF(Y,1)<=10 AND Y>10;{DRAWICON(JHJX,H,1);}DRAWTEXT(JHJX,H,'见好就收'),COLORF00FF0;{一箭穿心}YJCX:=CROSS(EMA55,EMA13);DRAWTEXT(YJCX,L-0.1,'一箭穿心'),COLOR0044FF;{明修栈道}MXZD1:=C/O>1.07;MXZD2:=EMA13>HHV(REF(EMA13,1),5) AND V>HHV(REF(V, 1),10) AND V/MA(REF(V,1),5)>2;MXZD:=MXZD1 AND MXZD2;DRAWTEXT(MXZD,H+0.01,'明修栈道'),COLORF00FF0;{拖泥带水}TNDS1:=O/REF(C,1)>1.05 AND MIN(C,O)/L>1.03;TNDS2:=C/MAX(EMA13,EMA55)>1.03 AND C>REF(C,1);TNDS:=TNDS1 AND TNDS2;DRAWTEXT(TNDS,(O+C)/2,'拖泥带水'),COLORF00FF0;{晨钟暮鼓}CZMG1:=REF(C,1)/REF(O,1)>1.05 AND REF(V,1)/REF(V,2)>2 A ND HSL>3;CZMG2:=C>O AND VCZMG:=CZMG1 AND CZMG2;DRAWTEXT(CZMG,H,'晨钟暮鼓'),COLORF00FF0;{落井下石}LJXS1:=O1.05 AND CDRAWTEXT(LJXS1,H+0.01,'落井下石'),COLOR00C5FF;{节外生枝}JWSZ1:=EMA13>MAX(EMA34,EMA55) AND EMA13/EMA55> 1.1 AND REF(C,1)>1.04*EMA13 AND REF(C,1)/REF(O,1)>1.04;JWSZ2:=ABS(1-C/O)<0.015 AND ABS(1-REF(C,1)/C)<0.02;JWSZ:=JWSZ1 AND JWSZ2;DRAWTEXT(JWSZ,(H+C)/2,'节外生枝'),COLORF00FF0;{过河拆桥}GHCQ1:=C=1.04;GHCQ2:=O>EMA13 AND CGHCQ3:=EMA13/EMA55>1.1 AND ABS(1-EMA13/MA(EMA1 3,3))<0.02;GHCQ:=GHCQ1 AND GHCQ2 AND GHCQ3;DRAWTEXT(GHCQ,(O+C)/2,'过河拆桥'),COLORF00FF0;{分道扬镳}FDYB:=CROSS(EMA34,EMA13) AND EMA34>EMA55;DRAWTEXT(FDYB,L-0.1,'分道扬镳'),COLOR0044FF;{一阴三线}YYSX1:=CEMA13;{一阴三线}YYSX2:=CEMA34;YYSX3:=CEMA55;YYYSX:=YYSX1 AND YYSX2 AND YYSX3;DRAWTEXT(YYYSX,H+0.1,'一阴三线'),COLORF00FF0;。
135均线主图+选股指标+详细用法
通达信135均线主图+选股指标+详细用法TDX135主图EMA13:EMA(C,13),COLORRED,LINETHICK2;EMA34:EMA(C,34),COLORYELLOW;EMA55:EMA(C,55),COLORFF00FF;EMA120:EMA(C,120),COLORFFCC66;AR1:=EMA55>EMA34 AND EMA34>EMA13;AR2:=BARSLAST((C-EMA13)/EMA13*100<-6);AR3:=EMA13>=REF(EMA13,2);AR4:=COUNT(CROSS(C,EMA13),AR2)=1;AR5:=AR1 AND AR2 AND AR3 AND AR4;AR6:=AR5 AND FILTER(AR5,10);DRAWTEXT(AR6,L-0.09,'红杏出墙'),COLORYELLOW;{STICKLINE(AR6,H,L,0.5,1),COLORYELLOW;STICKLINE(AR6,O,C,6,1),LINETHICK2,COLORYELLOW;}BR1:=COUNT(BETWEEN((C-REF(C,1))/REF(C,1)*100,0,5) ,5)=5;BR2:=ABS((EMA13-EMA34)+(EMA34-EMA55))/C<0.2;BR3:=C>EMA55 AND (REF(C,1)<REF(EMA55,1) OR REF(C,2)<REF(EMA55,2) OR REF(C,3)<REF(EMA55,3) OR REF(C,4)<REF(EMA55,4) ORREF(C,5)<REF(EMA55,5));BR4:=BR1 AND BR2 AND BR3;DRAWTEXT(BR4 AND FILTER(BR4,10),L-0.09,'蚂蚁上树'),COLOR00C5FF; {STICKLINE(BR4 AND FILTER(BR4,10),H,L,0.5,1),COLOR00C5FF; STICKLINE(BR4 AND FILTER(BR4,10),O,C,6,1),LINETHICK2,COLOR00C5FF;} CR1:=(C-REF(C,1))/REF(C,1)*100>0.5;CR2:=V>MA(V,5)*0.6;CR3:=COUNT(CROSS(EMA13,EMA55),3)=1;CR4:=ABS(EMA34-EMA55)/EMA55<0.03;CR5:=EMA55<=EMA120 AND EMA55>=REF(EMA55,1);CR6:=FILTER(CR1 AND CR2 AND CR3 AND CR4 AND CR5,2); {STICKLINE(CR6,H,L,0.5,1),COLORF00FF0;STICKLINE(CR6,O,C,6,1),LINETHICK2,COLORF00FF0;}DRAWTEXT(CR6,L-0.09,'红衣侠女'),COLORF00FF0;DR1:=EMA13>EMA34 AND EMA34<EMA55;DR2:=BARSLAST(CROSS(C,EMA55) );DR3:=H=HHV(H,DR2);DR4:=BARSLAST(DR3);DR5:=COUNT(O>C AND C<REF(C,1) AND C>EMA55 ANDBETWEEN((C-EMA55)/EMA55,0,0.02),DR4)=1;DR6:=C>REF(C,1) ;DR7:= DR1 AND DR5 AND DR6 ;DR8:=DR7 AND FILTER(DR7 ,10);DRAWTEXT(DR8,L-0.09,'黑客点击'),COLORD6BA63;{STICKLINE(DR8,H,L,0.5,1),COLORD6BA63;STICKLINE(DR8,O,C,6,1),LINETHICK2,COLORD6BA63;}ER:=BARSLAST(REF(CROSS(EMA55,EMA34),1)) AND CROSS(EMA34,EMA55); DRAWTEXT(ER,L-0.09,'均线互换'),COLOR0099FF;{STICKLINE(ER,H,L,0.5,1),COLOR0099FF;STICKLINE(ER,O,C,6,1),LINETHICK2,COLOR0099FF;}FR:=BARSLAST(REF(CROSS(EMA34,EMA13),1)) AND CROSS(EMA13,EMA34); DRAWTEXT(FR,L-0.09,'梅开二度'),COLORWHITE;STICKLINE(FR,H,L,0,1),COLORWHITE;STICKLINE(FR,O,C,3,1),LINETHICK2,COLORWHITE;GR1:=BARSLAST(BETWEEN("BIAS.BIAS2"(6,13,24),0,5) );GR2:=EMA13>EMA34 AND EMA34>EMA55 AND EMA13>REF(EMA13,1);GR3:=COUNT("BIAS.BIAS2"(6,13,24)>10 AND H=HHV(H,GR1),GR1);GR4:=H=HHV(H,GR1);GR5:="MACD.MACD"(12,26,9)<REF("MACD.MACD"(12,26,9),1);GR6:=GR2 AND GR3 AND GR4;GR7:=GR2 AND GR3 AND GR4 AND GR5;DRAWTEXT(GR6 AND GR7,H+0.13,'见好就收!'),COLOR00FF00; {STICKLINE(GR6 AND GR7,H,H+0.09,4,0),COLOR00FF00;}HR2:=EMA13>=REF(EMA13,3) AND EMA34>=REF(EMA34,1) ANDEMA55>=REF(EMA55,1) AND CROSS(C,EMA13) AND CROSS(C,EMA34) AND CROSS(C,EMA55);DRAWTEXT(HR2 AND FILTER(HR2,10),L-0.09,'三线推进'),COLORFFC8FF; STICKLINE(HR2 AND FILTER(HR2,10),H,L,0,1),COLORFFC8FF;STICKLINE(HR2 AND FILTER(HR2,10),O,C,3,1),LINETHICK2,COLORFFC8FF; {股海网提供:}以下是全部选股公式部分,请根据需要,选择使用!{红杏出墙选股}EMA13:=EMA(C,13);EMA34:=EMA(C,34);EMA55:=EMA(C,55);AR1:=EMA55>EMA34 AND EMA34>EMA13;AR2:=BARSLAST((C-EMA13)/EMA13*100<-6);AR3:=EMA13>=REF(EMA13,2);AR4:=COUNT(CROSS(C,EMA13),AR2)=1;AR5:=AR1 AND AR2 AND AR3 AND AR4;红杏出墙:AR5 AND FILTER(AR5,10);{蚂蚁上树选股}EMA13:=EMA(C,13);EMA34:=EMA(C,34);EMA55:=EMA(C,55);BR1:=COUNT(BETWEEN((C-REF(C,1))/REF(C,1)*100,0,5) ,5)=5;BR2:=ABS((EMA13-EMA34)+(EMA34-EMA55))/C<0.2;BR3:=C>EMA55 AND (REF(C,1)<REF(EMA55,1) OR REF(C,2)<REF(EMA55,2) OR REF(C,3)<REF(EMA55,3) OR REF(C,4)<REF(EMA55,4) OR REF(C,5)<REF(EMA55,5));蚂蚁上树:BR1 AND BR2 AND BR3;{红衣侠女选股}EMA13:=EMA(C,13);EMA34:=EMA(C,34);EMA55:=EMA(C,55);EMA120:=EMA(C,120);CR1:=(C-REF(C,1))/REF(C,1)*100>0.5;CR2:=V>MA(V,5)*0.6;CR3:=COUNT(CROSS(EMA13,EMA55),3)=1;CR4:=ABS(EMA34-EMA55)/EMA55<0.03;CR5:=EMA55<=EMA120 AND EMA55>=REF(EMA55,1);红衣侠女:FILTER(CR1 AND CR2 AND CR3 AND CR4 AND CR5,2);{黑客点击选股}EMA13:=EMA(C,13);EMA34:=EMA(C,34);EMA55:=EMA(C,55);DR1:=EMA13>EMA34 AND EMA34<EMA55;DR2:=BARSLAST(CROSS(C,EMA55) );DR3:=H=HHV(H,DR2);DR4:=BARSLAST(DR3);DR5:=COUNT(O>C AND C<REF(C,1) AND C>EMA55 ANDBETWEEN((C-EMA55)/EMA55,0,0.02),DR4)=1;DR6:=C>REF(C,1) ;DR7:=DR1 AND DR5 AND DR6 ;黑客点击:FILTER(DR7,10) AND DR7;{均线互换选股}EMA34:=EMA(C,34);EMA55:=EMA(C,55);均线互换:BARSLAST(REF(CROSS(EMA55,EMA34),1)) ANDCROSS(EMA34,EMA55);{梅开二度选股}EMA13:=EMA(C,13);EMA34:=EMA(C,34);梅开二度:BARSLAST(REF(CROSS(EMA34,EMA13),1)) ANDCROSS(EMA13,EMA34);{三线推进选股}EMA13:=EMA(C,13);EMA34:=EMA(C,34);EMA55:=EMA(C,55);HR2:=EMA13>=REF(EMA13,3) AND EMA34>=REF(EMA34,1) ANDEMA55>=REF(EMA55,1) AND CROSS(C,EMA13) ANDCROSS(C,EMA34) AND CROSS(C,EMA55);三线推进:(HR2 AND FILTER(HR2,10));135均线战法简要介绍如下:135均线即13日均线、34日均线、55日均线组合系统的简称。
通达信倍量黄金柱公式和135指标
DS:=DS1 AND DS2;
DRAWTEXT(DS,HIGH+0.3,'独上高楼'),COLORGREEN;
DRAWICON(DS,HIGH+0.4,6);
YJ1:=H/O>1.04;
YJ2:=ABS(C-O)<C*0.03;
YJ3:=C/MA(C,11)>1.1;
YJ:=YJ1 AND YJ2 AND DS2 AND YJ3 AND YZ2;
DRAWTEXT(YJ,HIGH+0.3,'一剑封喉'),COLORGREEN;
DRAWICON(YJ,HIGH+0.4,6);
PC:=C<MA(C,13);
PO:=O>MA(C,13);
RY3:=ABS(OPEN-REF(C,1))<C*0.02 AND ABS(C-REF(OPEN,1))<C*0.02;{两线相等}
DRAWTEXT(RY1 AND RY2 AND RY3 ,LOW-0.3,'日月合璧'),COLORRED;
DRAWICON(RY1 AND RY2 AND RY3,LOW-0.4,5);
功能-专家系统-公式管理器-成交量型-新建-公式名称:VOL_2V-公式描述:倍量黄金柱-将下面内容复制到中间编辑区-确定-在K线图选择指标:成交量型-VOL_2V倍量黄金柱OK! 你看看是什么效果?
提示说明:黄色柱是倍量柱,绿色柱是13日内的低量柱,洋红色为55日内的低量柱,
红色实心柱左边的黄色柱就是: 倍量柱+三天价涨量缩=真黄金柱
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
最新通达信135战法主图指标(经实战检验)
MA13:MA(C,13),COLORYELLOW;
MA21:MA(C,21),POINTDOT,COLORGREEN;
MA34:MA(C,34),COLORWHITE;
MA55:MA(C,55),COLORFF00FF;
MA89:MA(C,89),COLORFFCC66;
EMA13:=EMA(C,13);
EMA34:=EMA(C,34);
EMA55:=EMA(C,55);
AA1:=EMA55>EMA34 AND EMA34>MA13;
AA2:=MA13>O;
AA3:=EMA13>=REF(EMA13,1);
AA4:=CROSS(C,MA13);
红杏:=AA1 AND AA2 AND AA3 AND AA4;
DRAWTEXT(红杏,L*0.98,'红杏'),COLORGREEN;
BA1:=MA13>MA55; BA2:=COUNT(C>=O,5)=5;
BA3:=COUNT((C-REF(C,1))/REF(C,1)*100<5,5)=5;
BA4:=COUNT(BETWEEN((O-REF(C,1))/REF(C,1)*100,-2,2),5)=5;
BA5:=COUNT(((H-C)/(C-O)*100<2 OR (H-C)/C*100<3),5)=5;
BA6:=COUNT(((O-L)/(C-O)*100<2 OR (O-L)/O*100<3),5)=5; BA7:=(V>REF(V,1) AND REF(V,1)>REF(V,2)) OR (REF(V,1)>REF(V,2) AND REF(V,3)) OR (REF(V,2)>REF(V,3) AND REF(V,3)>REF(V,4)) OR (REF(V,3)>REF(V,4) AND REF(V,4)>REF(V,5));
BA8:= (C-MA13)/MA13*100<12; BA:=BA1 AND BA2 AND BA3 AND BA4 AND BA5 AND BA6 AND BA7 AND BA8 AND REF(C,5)-REF(O,5)<0; BB1:=MA13<MA55 AND MA34<MA55 AND C>MA55; BB2:=COUNT(C>=O,5)=5;
BB3:=COUNT((C-REF(C,1))/REF(C,1)*100<5,5)=5;
BB4:=COUNT(BETWEEN((O-REF(C,1))/REF(C,1)*100,-2,2),5)=5;
BB5:=COUNT(((H-C)/(C-O)*100<2 OR (H-C)/C*100<3),5)=5;
BB6:=COUNT(((O-L)/(C-O)*100<2 OR (O-L)/O*100<3),5)=5; BB7:=(V>REF(V,1) AND REF(V,1)>REF(V,2)) OR (REF(V,1)>REF(V,2) AND REF(V,3)) OR (REF(V,2)>REF(V,3) AND REF(V,3)>REF(V,4)) OR (REF(V,3)>REF(V,4) AND REF(V,4)>REF(V,5)); BB:=BB1 AND BB2 AND BB3 AND BB4 AND BB5 AND BB6 AND BB7 AND REF(C,5)-REF(O,5)<0; 蚂
蚁:=BA OR BB;
DRAWTEXT(蚂蚁,H*1.06,'蚂蚁'),COLORYELLOW;
CA1:=O<MA13 AND O<MA34 AND O<MA55;
CA2:=C>MA13 AND C>MA34 AND C>MA55;
CA3:=(C-REF(CLOSE,1))/REF(CLOSE,1)*100 > 5;
一阳穿:=CA1 AND CA2 AND CA3;
DRAWTEXT(一阳穿,H*1.03,'一阳穿'),COLORYELLOW;
DA1:=MA13>MA55;
DA2:=C>MA13;
DA3:=(O<=REF(C,1) AND (C-REF(C,1))/REF(C,1)*100>6) OR (O>REF(C,1) AND
(C-O)/O*100>6);
DA4:=(C-MA13)/MA13*100 < 12;
DA5:=(O-MA13)/MA13*100 < 3;
DA6:=(O-MA13)/MA13*100 > -3;
DA7:=(O-MA55)/MA55*100 < 12;
DA8:=(MA13-MA55)/MA55*100 < 12;
DA:=DA1 AND DA2 AND DA3 AND DA4 AND DA5 AND DA6 AND DA7 AND DA8;
DB1:=MA13<MA55 AND MA34<MA55;
DB2:=O>MA13 AND O>MA34 AND C>MA55;
DB3:=(O<=REF(C,1) AND (C-REF(C,1))/REF(C,1)*100>6) OR (O>REF(C,1) AND
(C-O)/O*100>6);
DB4:=(O-MA55)/MA55*100 < 3;
DB5:=(O-MA55)/MA55*100 > -3;
DB:=DB1 AND DB2 AND DB3 AND DB4 AND DB5;
揭竿起:=DA OR DB;
DRAWTEXT(揭竿起,H*1.03,'揭竿起'),COLORYELLOW;
FA1:=MA34<MA55 AND C>MA13 AND C>MA55;
FA2:=CROSS(MA13,MA55) AND C>O;
FA3:=(O-MA13)/MA13*100<5;
FA4:=(H-C)/(C-O)*100<2 OR (H-C)/C*100<3;
FA5:=(O-L)/(C-O)*100<2 OR (O-L)/O*100<3;
FA6:=V>REF(V,1) OR V>MA(V,5) OR (MA(V,5)>MA(V,10) AND V>MA(V,10));
FA:=FA1 AND FA2 AND FA3 AND FA4 AND FA5 AND FA6;
FB1:=MA34<MA55 AND C>MA13 AND C>MA55;
FB2:=CROSS(MA13,MA55) AND C<=O;
FB3:=(C-MA13)/MA13*100<5;
FB4:=(H-O)/(O-C)*100<2 OR (H-O)/C*100<3;
FB5:=(C-L)/(O-C)*100<2 OR (C-L)/O*100<3;
FB6:=V<REF(V,1) OR V<MA(V,5) OR (MA(V,5)>MA(V,10) AND V<MA(V,10));
FB:=FB1 AND FB2 AND FB3 AND FB4 AND FB5 AND FB6;
红黑客:=FA OR FB;
DRAWTEXT(红黑客,H*1.02,'红黑客'),COLORFF00FF;
GA1:=MA13>MA55 AND MA34>MA55; GA2:=CROSS(MA13,MA34); GA3:=C>MA13 AND C>MA34; GA4:=(C-MA13)/MA13*100<12; GA5:=MA(V,5)>MA(V,21); 梅二开:=GA1 AND GA2 AND GA3 AND GA4 AND GA5;
DRAWTEXT(梅二开,MA34*0.98,'梅二开'),COLORWHITE;
GB1:=MA13>MA34 AND MA13>MA55 AND C>MA55;
GB2:=CROSS(MA34,MA55);
GB3:=(C-MA13)/MA13*100<12 AND (MA13-MA55)/MA55*100<10;
GB:=GB1 AND GB2 AND GB3;
DRAWTEXT(GB,MA55*0.95,'均线互换'),COLORWHITE;
GR1:=BARSLAST(BETWEEN("BIAS.BIAS2"(6,13,24),0,5) );
GR2:=EMA13>EMA34 AND EMA34>EMA55 AND EMA13>REF(EMA13,1);
GR3:=COUNT("BIAS.BIAS2"(6,13,24)>10 AND H=HHV(H,GR1),GR1);
GR4:=H=HHV(H,GR1);
GR5:="MACD.MACD"(12,26,9)<REF("MACD.MACD"(12,26,9),1);
GR6:=GR2 AND GR3 AND GR4;
GR7:=GR2 AND GR3 AND GR4 AND GR5;
DRAWTEXT(GR6 AND GR7,H+0.13,'见好收'),COLOR00FF00;。