价值10万元的四象换手率通达信指标公式源码

合集下载

通达信换手明细指标公式

通达信换手明细指标公式

通达信换手明细指标公式历史量比:VOL/MA(VOL,5);换手:VOL*100/CAPITAL,STICK;二日换手:SUM(换手,2);三日换手:SUM(换手,3);五日换手:SUM(换手,5);十日换手:SUM(换手,10);二十日换手:SUM(换手,20);三十日换手:SUM(换手,30);STICKLINE(换手<=1,0,VOL,3,0),COLORWHITE; STICKLINE(换手>1 AND 换手<=3 ,0,VOL,3,0),COLOR00FF00;STICKLINE(换手>3 AND 换手<=5 ,0,VOL,3,0),COLORF0F000;STICKLINE(换手>5 AND 换手<=8 ,0,VOL,3,0),COLOR8788F6;STICKLINE(换手>8 AND 换手<=10 ,0,VOL,3,0),COLORYELLOW; STICKLINE(换手>10 AND 换手<=15 ,0,VOL,3,0),COLORFF00FF;STICKLINE(换手>15 ,0,VOL,3,0),COLORRED; DRAWTEXT(换手<=1,VOL+1000,'1'),COLORYELLOW; DRAWTEXT(换手>1 AND 换手<=3,VOL+1000,'1'),COLORYELLOW;DRAWTEXT(换手>3 AND 换手<=5,VOL+1000,'3'),COLORYELLOW;DRAWTEXT(换手>5 AND 换手<=8,VOL+1000,'5'),COLORYELLOW;DRAWTEXT(换手>8 AND 换手<=10,VOL+1000,'8'),COLORYELLOW;DRAWTEXT(换手>10 AND 换手<=15,VOL+1000,'10'),COLORYELLOW;DRAWTEXT(换手>15,VOL-15000,'15'),COLORYELLOW;{大智慧1下面不用}主力1:=IF(换手>10,V*0.9,V*0.1);主力2:=IF(BETWEEN(换手,8,10),V*0.8,V*0.2);主力3:=IF(BETWEEN(换手,5,8),V*0.6,V*0.4);主力动向:(主力1+主力2+主力3)/3,COLORRED,LINETHICK0;散户1:=IF(BETWEEN(换手,5,3),V*0.6,V*0.4);散户2:=IF(BETWEEN(换手,3,1),V*0.8,V*0.2);散户3:=IF(换手<1,V*0.9,V*0.1);散户动向:(散户1+散户2+散户3)/3,COLORYELLOW,LINETHICK0;MV1:EMA(V,9),COLOR0057FF;MV2:EMA(V,34),COLORF1910E;IF(MV1>MV2,MV1,DRAWNULL),COLORYELLOW; IF(MV1<MV2,MV2,DRAWNULL),COLORFF9900; DRAWBAND(MV1,RGB(155,0,0),MV2,RGB(0,100,0)); DRAWBAND(主力动向,RGB(255,0,0),散户动向,RGB(0,150,0));。

通达信换手率主图指标公式

通达信换手率主图指标公式

通达信换手率主图指标公式R1:=IF(DYNAINFO(8)>0.01,0.01*DYNAINFO(10)/DYNAINFO( 8),DYNAINFO(3));R2:=(DYNAINFO(5)<0.01 || DYNAINFO(6)<0.01);R3:=IF(R2,1,(R1<(DYNAINFO(5)+0.01) && R1>(DYNAINFO(6)-0.01)));{筹码分布}RH1:=0.01*AMOUNT/VOL;{个股均点}RH2:=(H+L+C)/3;{大市中点}RH3:=100*VOL/(FINANCE(7)/100);{换手率}RH5:=INDEXA;STICKLINE(O>C,C,O,3,1),COLOR00CC00;均:=IF(R3,RH1,RH2);换:=IF(R3,RH3,RH5);A1:=BARSLAST(L=LLV(L,360))+1;A2:=BARSLAST(L=LLV(L,360));A3:=CONST(REF(L,A2));A5:=BARSLAST(H=HHV(H,A2));A6:=0.01*SUM(AMOUNT,A1)/SUM(V,A1);A7:=BARSLAST(H=HHV(H,A1));A8:=CONST(REF(H,A7));A9:=CONST(A7-A1+2);A10:=SUM(换,A1);A11:=CONST(REF(A10,A7));{前总换手}A12:=CONST(REF(A1,A7)),NODRAW;{前总日数}①浪升幅:INTPART(CONST((A8-A3)/A3*100)),NODRAW,COLORMAGENTA;①浪总日数:INTPART(A12),NODRAW,COLORWHITE;①浪总换手:INTPART(A11),NODRAW,COLORCYAN;高①点A:IF(CURRBARSCOUNT<=CONST(A1)&&CURRBARSCOUNT>=C ONST(A7+1),CONST(IF(A7+1,A8,A8)),DRAWNULL),COLORMAGE NTA,DOTLINE;H1:=CONST(REF(L,A7));H2:STICKLINE(CURRBARSCOUNT=CONST(A7+1),H1/1.01,A3 ,0.00001,-1),COLORYELLOW;A13:=(A8+A3)/2;A15:=(A8+A13)/2;A16:=(A13+A3)/2;升75%:IF(CURRBARSCOUNT<=CONST(A1)&&CURRBARSCOUNT> =CONST(A7+1),CONST(IF(A7+1,A15,A15)),DRAWNULL),COLORL IGRAY,DOTLINE;升50%:IF(CURRBARSCOUNT<=CONST(A1)&&CURRBARSCOUNT> =CONST(A7+1),CONST(IF(A7+1,A13,A13)),DRAWNULL),COLOR MAGENTA;升25%:IF(CURRBARSCOUNT<=CONST(A1)&&CURRBARSCOUNT> =CONST(A7+1),CONST(IF(A7+1,A16,A16)),DRAWNULL),COLORL IGRAY,DOTLINE;前低点A:IF(CURRBARSCOUNT<=CONST(A1)&&CURRBARSCOUNT>=C ONST(A7+1),CONST(IF(A7+1,A3,A3)),DRAWNULL),COLORGREE N;A21:=IF(均<=A8&&均>=A15,换,DRAWNULL);A④区换:=INTPART(SUM(A21,A1));A④区换手:=CONST(REF(A④区换,A7)),NODRAW,COLORYELLOW;A23:=IF(均<=A15&&均>=A13,换,DRAWNULL);A③区换:=INTPART(SUM(A23,A1));A③区换手:=CON ST(REF(A③区换,A7)),NODRAW,COLORYELLOW;A26:=IF(均<=A13&&均>=A16,换,DRAWNULL);A②区换:=INTPART(SUM(A26,A1));A②区换手:=CONST(REF(A②区换,A7)),NODRAW,COLORYELLOW;A28:=IF(均<=A16&&均>=A3,换,DRAWNULL);A①区换:=INTPART(SUM(A28,A1));A①区换手:=CONST(REF(A①区换,A7)),NODRAW,COLORYELLOW;DRAWTEXT(A2=0&&A2<2,高①点A/1.02,'A④区换手%:'),COLORYELLOW;DRAWNUMBER(A2>0&&A2<2,高①点A/1.03,A④区换手),COLORYELLOW;DRAWTEXT(A2=0&&A2<2,升75%/1.02,'A③区换手%:'),COLORYELLOW;DRAWNUMBER(A2>0&&A2<2,升75%/1.03,A③区换手),COLORYELLOW;DRAWTEXT(A2=0&&A2<2,升50%/1.03,'A②区换手%:'),COLORYELLOW;DRAWNUMBER(A2>0&&A2<2,升50%/1.05,A②区换手),COLORYELLOW;DRAWTEXT(A2=0&&A2<2,升25%/1.03,'A①区换手%:'),COLORYELLOW;DRAWNUMBER(A2>0&&A2<2,升25%/1.05,A①区换手),COLORYELLOW;V1:=BARSLAST(H=HHV(H,A1)),NODRAW;V2:=CONST(REF(H,V1)),NODRAW;V3:=CONST(LLV(L,V1)),NODRAW;②浪最低跌幅:(V3-V2)/V2*100,NODRAW,COLORCYAN;②浪总日数:INTPART(V1),NODRAW,COLORWHITE;②浪总换手:INTPART(SUM(换,V1)),NODRAW,COLORCYAN;V13:=(V2+A3)/2;V15:=(V2+V13)/2;V16:=(V13+A3)/2;高①点B:IF(CURRBARSCOUNT<=CONST(A7+1),CONST(IF(A7,V2,V2)),D RAWNULL),COLORMAGENTA;跌25%:IF(CURRBARSCOUNT<=CONST(A7+1),CONST(IF(A7,V15,V1 5)),DRAWNULL),COLORLIGRAY,DOTLINE;跌50%:IF(CURRBARSCOUNT<=CONST(A7+1),CONST(IF(A7,V13,V1 3)),DRAWNULL),COLORMAGENTA;跌75%:IF(CURRBARSCOUNT<=CONST(A7+1),CONST(IF(A7,V16,V1 6)),DRAWNULL),COLORLIGRAY,DOTLINE;前低点B:IF(CURRBARSCOUNT<=CONST(A7+1),CONST(IF(A7,A3,A3)),D RAWNULL),COLORGREEN;DRAWTEXT_FIX(ISLASTBAR,0.35,0.15,0,CODE),COLORYELLO W;DRAWTEXT_FIX(ISLASTBAR,0.42,0.15,0,STKNAME),COLORRE D;DRAWTEXT_FIX(ISLASTBAR,0.53,0.15,0,HYBLOCK),COLORCY AN;DRAWTEXT_FIX(ISLASTBAR,0.62,0.15,0,DYBLOCK),COLORB4 EEB4;DRAWTEXT_FIX(ISLASTBAR,0.35,0.25,0,GNBLOCK),COLORWHITE;V21:=IF(均<=V2&&均>=V15,换,DRAWNULL);V①区换手:=CONST(INTPART(SUM(V21,V1))),NODRAW,COLORLIGRAY;V23:=IF(均<=V15&&均>=V13,换,DRAWNULL);V②区换手:=CONST(INTPART(SUM(V23,V1))),NODRAW,COLORCYAN;V26:=IF(均<=V13&&均>=V16,换,DRAWNULL);V③区换手:=CONST(INTPART(SUM(V26,V1))),NODRAW,COLORLIGRAY;V28:=IF(均<=V16&&均>=V3,换,DRAWNULL);V④区换手:=CONST(INTPART(SUM(V28,V1))),NODRAW,COLORCYAN;DRAWTEXT(V1>0&&V1<2,高①点B/1.02,'V①区换手%:'),COLORCYAN;DRAWNUMBER(V1>0&&V1<2,高①点B/1.03,V①区换手),COLORCYAN;DRAWTEXT(V1>0&&V1<2,跌25%/1.02,'V②区换手%:'),COLORCYAN;DRAWNUMBER(V1>0&&V1<2,跌25%/1.03,V②区换手),COLORCYAN;DRAWTEXT(V1>0&&V1<2,跌50%/1.03,'V③区换手%:'),COLORCYAN;DRAWNUMBER(V1>0&&V1<2,跌50%/1.05,V③区换手),COLORCYAN;DRAWTEXT(V1>0&&V1<2,跌75%/1.03,'V④区换手%:'),COLORCYAN;DRAWNUMBER(V1>0&&V1<2,跌75%/1.05,V④区换手),COLORCYAN;。

通达信打板指标公式

通达信打板指标公式

通达信打板指标公式
1、换手率(THVOL):
换手率= 成交量/流通股本
2、量价比(LVRT):
量价比= 量/(收盘价-最低价) 3、OBV:
OBV=昨日OBV+今日成交量*今日收盘价和昨日收盘价的变化
4、累积/派发线(AD):
AD=(高-短期均线)的累积
5、能量潮(EMV):
EMV=(收盘价-最低价)/(高-低)*成交量
6、幅度(AMO):
AMO=收盘价的最大值与最小值的差
7、布林带(BOLL):
中轨=MA(N)
上轨=中轨+2*标准差
下轨=中轨-2*标准差
8、NATR:
NATR=(最高价-昨日收盘
价)/(最高价-最低价)*100
9、KDJ:
K:RSV下行趋势时, K=100; RSV上行趋势时, K=2/3*前一日K+1/3*RSV;
D:D=2/3*K前一日+1/3*D前一日;
J:J=3*K-2*D
10、RSI:
RSI=100-100/(1+RS)
RS=AVEG (上涨天数)/AVEG (下跌天数)*收盘价上涨点数/收盘价下跌点数。

换手率通达信指标公式源码

换手率通达信指标公式源码

非常好的换手率日线指标,源码换手:VOL/CAPITAL*100,NODRAW;低换手小于2:换手<2,COLORFFFF00,NODRAW;温和换手2到5:换手>2 AND 换手<5,COLORMAGENTA,NODRAW; 热换手5到11:换手>5 AND 换手<11,COLORYELLOW,NODRAW; 烫手换手11到17:换手>11 AND 换手<17,COLORRED,NODRAW; 高潮换手大于17:换手>17,COLORGREEN,NODRAW;五日均换手:MA(换手,5);十日均换手:MA(换手,10);STICKLINE(换手<2,0,换手,2.3,0),COLORFF4400;STICKLINE(换手<2,0,换手,1.8,0),COLORFF6600;STICKLINE(换手<2,0,换手,1.3,0),COLORFF9900;STICKLINE(换手<2,0,换手,0.6,0),COLORFFCC00;STICKLINE(换手<2,0,换手,0.3,0),COLORGREEN;STICKLINE(换手>2 AND 换手<5,0,换手,2.3,0)COLORFF0033; STICKLINE(换手>2 AND 换手<5,0,换手,1.8,0)COLORFF0066; STICKLINE(换手>2 AND 换手<5,0,换手,1.2,0)COLORFF0099; STICKLINE(换手>2 AND 换手<5,0,换手,0.6,0)COLORFF00CC; STICKLINE(换手>2 AND 换手<5,0,换手,0.3,0)COLORFF00FF; STICKLINE(换手>5 AND 换手<11,0,换手,2.3,0)COLOR0035FF; STICKLINE(换手>5 AND 换手<11,0,换手,1.8,0)COLOR0064FF; STICKLINE(换手>5 AND 换手<11,0,换手,1.3,0)COLOR0093FF; STICKLINE(换手>5 AND 换手<11,0,换手,0.8,0)COLOR00C2FF; STICKLINE(换手>5 AND 换手<11,0,换手,0.3,0)COLOR00FFFF; STICKLINE(换手>11 AND 换手<17,0,换手,2.3,0),COLOR000055; STICKLINE(换手>11 AND 换手<17,0,换手,2,0),COLOR000077;STICKLINE(换手>11 AND 换手<17,0,换手,1.8,0),COLOR000099; STICKLINE(换手>11 AND 换手<17,0,换手,1.5,0),COLOR0000BB; STICKLINE(换手>11 AND 换手<17,0,换手,0.9,0),COLOR0000DD; STICKLINE(换手>11 AND 换手<17,0,换手,0.3,0),COLOR0000FF; STICKLINE(换手>17,0,换手,2.3,0),COLOR006000; STICKLINE(换手>17,0,换手,2.1,0),COLOR007500; STICKLINE(换手>17,0,换手,1.8,0),COLOR009100; STICKLINE(换手>17,0,换手,1.3,0),COLOR00A600; STICKLINE(换手>17,0,换手,0.8,0),COLOR00BB00; STICKLINE(换手>17,0,换手,0.3,0),COLOR00CC00; DRAWICON(换手>25,换手,15);。

最新主力买卖通达信指标公式源码

最新主力买卖通达信指标公式源码

最新主力买卖通达信指标公式源码通达信是一种常用的股票分析软件,它提供了多种指标公式用于技术分析。

以下是一些常见的主力买卖指标公式的代码示例:1. 换手率(Turnover Rate):参考用途:换手率可以衡量股票的流动性,较高的换手率通常意味着存在大量的主力买卖。

以下代码示例计算了过去20个交易日的平均换手率。

```turnover = SUM(VOL, 20) / N / VOLUNIT```2. 均线(Moving Average):参考用途:均线是一种常见的趋势指标,可以辅助判断股票的价格走势。

以下代码示例计算了过去20个交易日的收盘价均线。

```ma20 = MA(C, 20)```3. 相对强弱指标(Relative Strength Index,RSI):参考用途:RSI指标可以衡量价格的涨跌幅度,以判断是否出现超买或超卖情况。

以下代码示例计算了过去14个交易日的RSI值。

```up = SMA(MAX(C - REF(C, 1), 0), 14)down = ABS(SMA(MIN(C - REF(C, 1), 0), 14))rsi = up / (up + down) * 100```4. 量比(Volume Ratio):参考用途:量比可以衡量当前成交量与过去成交量的比例,用于判断市场的活跃度。

以下代码示例计算了当前交易日的量比。

```volRatio = VOL / MA(VOL, 20) * 100```5. DMI指标(Directional Movement Index):参考用途:DMI指标可以辅助判断股票价格的趋势方向和强度。

以下代码示例计算了过去14个交易日的DMI指标。

```tr = MAX(MAX(HIGH - LOW, ABS(HIGH - REF(CLOSE, 1))), ABS(LOW - REF(CLOSE, 1)))hdm = HIGH - REF(HIGH, 1)ldm = REF(LOW, 1) - LOWdmplus = SMA(MAX(hdm, 0), 14) / tr * 100dmminus = SMA(MAX(ldm, 0), 14) / tr * 100dmi = MA(dmplus - dmminus, 14)```以上是一些常见的主力买卖指标公式的通达信源码示例。

【股票指标公式】-【通达信】换手率 价量时空(副图)

【股票指标公式】-【通达信】换手率 价量时空(副图)

【通达信】换手率价量时空(副图)-指标公式源码买入原则股价突破压力位预测换手大于5 预测倍量大于2在什么时间买自己决断个人建议收盘前半小时可靠性更高换手率指标DRAWGBK(CLOSE>0,STRIP(rgb(0,128,128),rgb(0,64,0),0));yc:=IF(DYNAINFO(7)=CLOSE ANDDYNAINFO(10)=AMOUNT,MAX(VOL,DYNAINFO(17)*REF(MA(VOL,5),1)),0); sj:=VOL;换手:VOL/CAPITAL*100,LINETHICK0,PRECIS2;预测:yc/sj*换手,LINETHICK0,PRECIS2;预倍:预测/REF(换手,1),LINETHICK0,PRECIS1;实倍:换手/REF(换手,1),LINETHICK0,PRECIS1;线:=0;STICKLINE(C>=REF(C,1),换手,线,7,0),color5454ff;STICKLINE(C>=REF(C,1),换手,线,5,0),color5f5fff;STICKLINE(C>=REF(C,1),换手,线,3,0),color7878ff;STICKLINE(C>=REF(C,1),换手,线,2,0),color9A9Aff;STICKLINE(C>=REF(C,1),换手,线,1,0),colorA8A8ff;STICKLINE(C<REF(C,1),换手,线,7,0),colorFFFF62;STICKLINE(C<REF(C,1),换手,线,5,0),colorFFFF75;STICKLINE(C<REF(C,1),换手,线,4,0),colorFFFF83;STICKLINE(C<REF(C,1),换手,线,3,0),colorFFFF96;STICKLINE(C<REF(C,1),换手,线,2,0),colorFFFFa5;STICKLINE(预测>换手,换手,预测,7,0),coloryellow;L5:MA(换手,5),coloryellow,PRECIS2,LAYER0;L13:MA(换手,13),colorf00ff0,PRECIS2,LAYER1;L21:MA(换手,21),colorgreen,PRECIS2,LAYER2;L55:MA(换手,55),colorwhite,PRECIS2,LAYER3;换手5:SUM(换手,5),LINETHICK0,colorwhite,PRECIS0;换手13:SUM(换手,13),LINETHICK0,colorwhite,PRECIS0;换手21:SUM(换手,21),LINETHICK0,colorwhite,PRECIS0;换手55:SUM(换手,55),LINETHICK0,colorwhite,PRECIS0; DRAWTEXTABS(10,0,' 5换手:'+NUMTOSTRN(换手5,0)),Color00EEFF; DRAWTEXTABS(10,10,'13换手:'+NUMTOSTRN(换手13,0)),Color00EEFF; DRAWTEXTABS(10,20,'21换手:'+NUMTOSTRN(换手21,0)),Color00EEFF; DRAWTEXTABS(10,30,'55换手:'+NUMTOSTRN(换手55,0)),Color00EEFF; MC5:count(换手>10,5),PRECIS0,LINETHICK0,coloryellow;MC10:count(换手>10,10),PRECIS0,LINETHICK0,coloryellow; DRAWTEXTABS(250,0,'5天高换手次数:'+NUMTOSTRN(MC5,0)),Color00EEFF,linethick2; DRAWTEXTABS(242,20,'10天高换手次数:'+NUMTOSTRN(MC10,0)),Color00EEFF,linethick2;强弱:10,colorwhite,linethick3,pointdot;看着花骚自己剪裁一下下面是价量时空这个是主图测试版等优化完在发指标源码{价量时空}ma1:CLOSE,LINETHICK0,PRECIS2;MA5:MA(CLOSE,5),coloryellow,PRECIS2;MA13:MA(CLOSE,13),colorf00ff0,PRECIS2;MA34:MA(CLOSE,34),colorgreen,PRECIS2;MA55:MA(CLOSE,55),colorwhite,PRECIS2;MA89:MA(CLOSE,89),colorgreen,PRECIS2,linethick3,pointdot;MA233:MA(CLOSE,233),colorwhite,PRECIS2,linethick3,pointdot; STICKLINE(C>=O,H,L,1,0),color5454ff;STICKLINE(C>=O,C,O,8,0),color5454ff;STICKLINE(C>=O,C,O,7,0),color5f5fff;STICKLINE(C>=O,C,O,3,0),color7878ff;STICKLINE(C>=O,C,O,2,0),color9A9Aff;STICKLINE(C>=O,C,O,1,0),colorA8A8ff;STICKLINE(C<O,H,L,1,0),colorFFFF54;STICKLINE(C<O,C,O,8,0),colorFFFF54;STICKLINE(C<O,C,O,7,0),colorFFFF62;STICKLINE(C<O,C,O,6,0),colorFFFF75;STICKLINE(C<O,C,O,5,0),colorFFFF83;STICKLINE(C<O,C,O,4,0),colorFFFF96;STICKLINE(C<O,C,O,3.5,0),colorFFFFa5;gg:=PEAKBARS(4,20,1)+1;dd:=TROUGHBARS(4,20,1)+1;VOL1:=MA(VOL,1);VOL5:=MA(VOL,5);最大量:=HHV(VOL1,DD);量支撑:=VOL1=最大量 AND C>REF(C,1);LSJ:BARSLAST(量支撑),LINETHICK0;LGJG:=REF(C,LSJ);LDJG:=REF(L,LSJ);压力:IF(CROSS(VOL5,VOL1),LGJG,REF(LGJG,BARSLAST(CROSS(VOL5,VOL1)))),col orwhite,LINETHICK0;支撑:IF(CROSS(VOL5,VOL1),LDJG,REF(LDJG,BARSLAST(CROSS(VOL5,VOL1)))),col orwhite,LINETHICK0;FILLRGN(压力,支撑,LGJG>LDJG,rgb(128,128,128)),LAYER5; DRAWTEXTABS(10,50,'(34):'+NUMTOSTRN(MA34,2)),colorgreen; DRAWTEXTABS(90,50,'(89):'+NUMTOSTRN(MA89,2)),colorgreen; DRAWTEXTABS(170,50,'(233):'+NUMTOSTRN(MA233,2)),colorwhite;DDJG:=LLV(L,DD);XJSJ:=last(dd>gg);drawtext(DD>0,DDJG*0.95,STR(DD)),colorwhite,align1,valign0,LAYER3; drawtext(XJSJ>0,DDJG*0.99,STR(XJSJ)),coloryellow,align1,valign0,LAYER 3;FILLRGN(DDJG,DDJG*0.91,C>0,rgb(0,0,0)),LAYER5;{}FD10:=DDJG*1.1;FD20:=DDJG*1.2;FD30:=DDJG*1.3;FD40:=DDJG*1.4;FD50:=DDJG*1.5;FD60:=DDJG*1.6;翻1:=DDJG*2;FILLRGN(DDJG,FD20,C>0,rgb(0,50,0)),LAYER6;FILLRGN(FD20,FD40,C>0,rgb(0,80,0)),LAYER6;FILLRGN(FD40,FD60,C>0,rgb(0,100,0)),LAYER6;drawtext(c>FD60,翻1,'');drawtext(c>FD60 and CROSS(c,FD60),翻1,'目标'),Color00EEFF;买入原则股价突破压力位预测换手大于5 预测倍量大于2在什么时间买自己决断个人建议收盘前半小时可靠性更高【通达信】换手率价量时空(副图)-指标公式效果图(文档来源:好股票网)。

通达信指标公式源码 通达信筹码一线主图 筹码幅图 无未来 源码

通达信指标公式源码 通达信筹码一线主图 筹码幅图 无未来 源码

DRAWKLINE(H,O,L,C); HB:=COST(99.9);LB:=COST(0.1);B3:=(HB-LB)/50;B31:=HB-B3;B32:=HB-2*B3;B33:=HB-3*B3;B34:=HB-4*B3;B35:=HB-5*B3;B36:=HB-6*B3;B37:=HB-7*B3;B38:=HB-8*B3;B39:=HB-9*B3;B310:=HB-10*B3;B311:=HB-11*B3;B312:=HB-12*B3;B313:=HB-13*B3;B314:=HB-14*B3;B315:=HB-15*B3;B316:=HB-16*B3;B317:=HB-17*B3;B318:=HB-18*B3;B319:=HB-19*B3;B320:=HB-20*B3;B321:=HB-21*B3;B322:=HB-22*B3;B323:=HB-23*B3;B324:=HB-24*B3;B325:=HB-25*B3;B326:=HB-26*B3;B327:=HB-27*B3;B328:=HB-28*B3;B329:=HB-29*B3;B330:=HB-30*B3;B331:=HB-31*B3;B332:=HB-32*B3;B333:=HB-33*B3;B334:=HB-34*B3;B335:=HB-35*B3;B336:=HB-36*B3;B337:=HB-37*B3;B338:=HB-38*B3;B339:=HB-39*B3;B340:=HB-40*B3;B341:=HB-41*B3;B342:=HB-42*B3;B343:=HB-43*B3;B344:=HB-44*B3;B345:=HB-45*B3;B346:=HB-46*B3;B347:=HB-47*B3;B348:=HB-48*B3;B349:=HB-49*B3;A1:=WINNER(HB)*100-WINNER(B31)*100;A2:=WINNER(B31)*100-WINNER(B32)*100;A3:=WINNER(B32)*100-WINNER(B33)*100;A4:=WINNER(B33)*100-WINNER(B34)*100;A5:=WINNER(B34)*100-WINNER(B35)*100;A6:=WINNER(B35)*100-WINNER(B36)*100;A7:=WINNER(B36)*100-WINNER(B37)*100;A8:=WINNER(B37)*100-WINNER(B38)*100;A9:=WINNER(B38)*100-WINNER(B39)*100;A10:=WINNER(B39)*100-WINNER(B310)*100; A11:=WINNER(B310)*100-WINNER(B311)*100; A12:=WINNER(B311)*100-WINNER(B312)*100; A13:=WINNER(B312)*100-WINNER(B313)*100; A14:=WINNER(B313)*100-WINNER(B314)*100; A15:=WINNER(B314)*100-WINNER(B315)*100; A16:=WINNER(B315)*100-WINNER(B316)*100; A17:=WINNER(B316)*100-WINNER(B317)*100; A18:=WINNER(B317)*100-WINNER(B318)*100; A19:=WINNER(B318)*100-WINNER(B319)*100; A20:=WINNER(B319)*100-WINNER(B320)*100;A21:=WINNER(B320)*100-WINNER(B321)*100;A22:=WINNER(B321)*100-WINNER(B322)*100;A23:=WINNER(B322)*100-WINNER(B323)*100;A24:=WINNER(B323)*100-WINNER(B324)*100;A25:=WINNER(B324)*100-WINNER(B325)*100;A26:=WINNER(B325)*100-WINNER(B326)*100;A27:=WINNER(B326)*100-WINNER(B327)*100;A28:=WINNER(B327)*100-WINNER(B328)*100;A29:=WINNER(B328)*100-WINNER(B329)*100;A30:=WINNER(B329)*100-WINNER(B330)*100;A31:=WINNER(B330)*100-WINNER(B331)*100;A32:=WINNER(B331)*100-WINNER(B332)*100;A33:=WINNER(B332)*100-WINNER(B333)*100;A34:=WINNER(B333)*100-WINNER(B334)*100;A35:=WINNER(B334)*100-WINNER(B335)*100;A36:=WINNER(B335)*100-WINNER(B336)*100;A37:=WINNER(B336)*100-WINNER(B337)*100;A38:=WINNER(B337)*100-WINNER(B338)*100;A39:=WINNER(B338)*100-WINNER(B339)*100;A40:=WINNER(B339)*100-WINNER(B340)*100;A41:=WINNER(B340)*100-WINNER(B341)*100;A42:=WINNER(B341)*100-WINNER(B342)*100;A43:=WINNER(B342)*100-WINNER(B343)*100;A44:=WINNER(B343)*100-WINNER(B344)*100;A45:=WINNER(B344)*100-WINNER(B345)*100;A46:=WINNER(B345)*100-WINNER(B346)*100;A47:=WINNER(B346)*100-WINNER(B347)*100;A48:=WINNER(B347)*100-WINNER(B348)*100;A49:=WINNER(B348)*100-WINNER(B349)*100;A50:=WINNER(B349)*100-WINNER(LB)*100;STICKLINE(ISLASTBAR,HB ,HB ,A1*15 ,0 ),COLORRED;STICKLINE(ISLASTBAR,B31 ,B31 ,A1*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B32 ,B32 ,A2*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B33 ,B33 ,A3*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B34 ,B34 ,A4*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B35 ,B35 ,A5*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B36 ,B36 ,A6*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B37 ,B37 ,A7*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B38 ,B38 ,A8*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B39 ,B39 ,A9*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B310 ,B310 ,A10*15 ,0 ),COLOR666600; STICKLINE(ISLASTBAR,B311 ,B311 ,A11*15 ,0 ),COLOR666600; STICKLINE(ISLASTBAR,B312 ,B312 ,A12*15 ,0 ),COLOR666600; STICKLINE(ISLASTBAR,B313 ,B313 ,A13*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B314 ,B314 ,A14*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B315 ,B315 ,A15*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B316 ,B316 ,A16*15 ,0 ),COLORRED;STICKLINE(ISLASTBAR,B317 ,B317 ,A17*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B318 ,B318 ,A18*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B319 ,B319 ,A19*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B320 ,B320 ,A20*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B321 ,B321 ,A21*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B322 ,B322 ,A22*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B323 ,B323 ,A23*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B324 ,B324 ,A24*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B325 ,B325 ,A25*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B326 ,B326 ,A26*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B327 ,B327 ,A27*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B328 ,B328 ,A28*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B329 ,B329 ,A29*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B330 ,B330 ,A30*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B331 ,B331 ,A31*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B332 ,B332 ,A32*15 ,0 ),COLORRED;STICKLINE(ISLASTBAR,B333 ,B333 ,A33*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B334 ,B334 ,A34*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B335 ,B335 ,A35*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B336 ,B336 ,A36*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B337 ,B337 ,A37*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B338 ,B338 ,A38*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B339 ,B339 ,A39*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B340 ,B340 ,A40*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B341 ,B341 ,A41*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B342 ,B342 ,A42*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B343 ,B343 ,A43*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B344 ,B344 ,A44*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B345 ,B345 ,A45*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B346 ,B346 ,A46*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B347 ,B347 ,A47*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B348 ,B348 ,A48*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,LB ,LB ,A50*15 ,0 ),COLORRED;当前获利筹码:=IF(WINNER(CLOSE),WINNER(CLOSE)*100,0);ZX2:=MIN(A1,MIN(A2,MIN(A3,MIN(A4,MIN(A5,MIN(A6,MIN(A7,MIN(A8,MIN(A9,MIN(A 10,MIN(A11,MIN(A12,MIN(A13,MIN(A14,MIN(A15,MIN(A16,MIN(A17,MIN(A18,MIN(A1 9,MIN(A20,MIN(A21,MIN(A22,MIN(A23,MIN(A24,MIN(A25,MIN(A26,MIN(A27,MIN(A28, MIN(A29,MIN(A30,MIN(A31,MIN(A32,MIN(A33,MIN(A34,MIN(A35,MIN(A36,MIN(A37,M IN(A38,MIN(A39,MIN(A40,MIN(A41,MIN(A42,MIN(A43,MIN(A44,MIN(A45,MIN(A46,MI N(A47,MIN(A48,MIN(A49,A50)))))))))))))))))))))))))))))))))))))))))))))))));筹码最低处:COST(ZX2),COLORMAGENTA;DRAWTEXT(ISLASTBAR,筹码最低处,'筹码最低价'),COLORMAGENTA;ZX1:=MAX(A1*15,MAX(A2*15,MAX(A3*15,MAX(A4*15,MAX(A5*15,MAX(A6*15,MAX(A 7*15,MAX(A8*15,MAX(A9*15,MAX(A10*15,MAX(A11*15,MAX(A12*15,MAX(A13*15,M AX(A14*15,MAX(A15*15,MAX(A16*15,MAX(A17*15,MAX(A18*15,MAX(A19*15,MAX(A 20*15,MAX(A21*15,MAX(A22*15,MAX(A23*15,MAX(A24*15,MAX(A25*15,MAX(A26*15 ,MAX(A27*15,MAX(A28*15,MAX(A29*15,MAX(A30*15,MAX(A31*15,MAX(A32*15,MAX (A33*15,MAX(A34*15,MAX(A35*15,MAX(A36*15,MAX(A37*15,MAX(A38*15,MAX(A39* 15,MAX(A40*15,MAX(A41*15,MAX(A42*15,MAX(A43*15,MAX(A44*15,MAX(A45*15,M AX(A46*15,MAX(A47*15,MAX(A48*15,MAX(A49*15,A50*15)))))))))))))))))))))))))))))))))))) )))))))))))));筹码最集中处:COST(ZX1/15),COLORRED,LINETHICK2;入1:IF(筹码最集中处>REF(筹码最集中处,1),筹码最集中处,DRAWNULL),COLORRED,LINETHICK2;出1:IF(筹码最集中处<REF(筹码最集中处,1),筹码最集中处,DRAWNULL),COLORGREEN,LINETHICK2;DRAWTEXT(ISLASTBAR,筹码最集中处,'筹码集中价'),COLORWHITE;STICKLINE(筹码最集中处>LOW AND 筹码最集中处<HIGH,筹码最集中处,MIN(MIN(OPEN,CLOSE),筹码最集中处),2,0),COLORMAGENTA;STICKLINE(筹码最集中处>MIN(C,O) AND 筹码最集中处<MAX(C,O),筹码最集中处,MIN(OPEN,CLOSE),2,0),COLORMAGENTA;STICKLINE(筹码最集中处>HIGH,OPEN,CLOSE,2,0),COLORMAGENTA;STICKLINE(筹码最集中处>HIGH,HIGH,LOW,0,0),COLORMAGENTA;STICKLINE(筹码最集中处>LOW AND 筹码最集中处<HIGH,筹码最集中处,MIN(MIN(OPEN,CLOSE),筹码最集中处),1.5,0),COLORGREEN;STICKLINE(筹码最集中处>MIN(C,O) AND 筹码最集中处<MAX(C,O),筹码最集中处,MIN(OPEN,CLOSE),2,0),COLORGREEN;STICKLINE(筹码最集中处>HIGH,OPEN,CLOSE,2,0),COLORGREEN;STICKLINE(筹码最集中处>HIGH,HIGH,LOW,0,0),COLORGREEN;筹码幅图公式穿越筹码:ABS(WINNER(CLOSE)-WINNER(OPEN))*100,STICK,COLORDDDDFF;换手率::VOL/CAPITAL*100,STICK,COLORFF0099;地量换手:1/换手率:*100,STICK,COLORRED,LINETHICK3;A1:=LLV(HIGH,240);MYP:=100*(CLOSE-A1)/A1;A2:=REF(HHV(CLOSE,240),1);B2:=REF(LLV(CLOSE,240),1);RPY:=100*(CLOSE -B2)/(A2-B2);A3:=1.1*CLOSE;B3:=0.9*CLOSE;ASR:=100*(WINNER(A3)-WINNER(B3));A4:=WINNER(CLOSE);A5:=DMA(A4,VOL/CAPITAL);B4:=DMA(VOL,VOL/CAPITAL)/CAPITAL;A6:=100*VOL/CAPITAL;B6:=100*(WINNER(CLOSE)-REF(WINNER(CLOSE),1));A7:=ABS(B6/A6);CYA:A4/B4*50,COLOR00FF00;CYB:EMA(A4/B4*50,34),COLORFF00FF;CYC::A5/B4*50,COLORFFFF99;CYD:WINNER(CLOSE)/(VOL/CAPITAL),COLORYELLOW,STICK,LINETHICK4; STICKLINE(A7>30 AND (VOL/CAPITAL*100)<=3,地量换手,0,3,0),COLORWHITE; STICKLINE(RPY<75 AND MYP<30 AND ASR>60 AND 穿越筹码>=24 AND (VOL/CAPITAL*100)<=3 AND C>=O,地量换手,0,10,0),COLORFF00FF; STICKLINE(RPY<75 AND MYP<30 AND ASR>60 AND 穿越筹码>=24 AND (VOL/CAPITAL*100)<=3 AND C< O,地量换手,0,10,0),COLORFFFF33;筹码穿透率:=B6/A6;STICKLINE(筹码穿透率>10 AND CLOSE/REF(CLOSE,1)>=1.05 AND换手率:<=3,地量换手,0,10,0),COLORBLUE;。

通达信指标公式源码实盘自动低位拉涨股预警

通达信指标公式源码实盘自动低位拉涨股预警

实盘自动按自己思路预警想必是大家十分期望的事,按照前期拉升水位限制、实盘相对与均线升幅异动、量能考量(单笔换手率和金额)以及流通股本等因素实现实盘异动妖股的自动预警
换手率:0--100 默认1.1;
升幅率:0--100 默认2.0(2%);
大笔成交阀值:10--10000 默认为20(万);
前期价差率:0--100 默认5(5%)
择股指令:
妖:=DYNAINFO(11)*(1+升幅率/100);
单手换手率:=DYNAINFO(9)/CAPITAL*100*100;
单笔成交额:=DYNAINFO(9)*DYNAINFO(7)*100;
前期价差幅度:=ABS((REF(CLOSE,1)-REF(CLOSE,2)))/REF(CLOSE,2)*100;
擒妖: DYNAINFO(6)>(DYNAINFO(3)-0.1)
AND DYNAINFO(11)>DYNAINFO(3)
AND DYNAINFO(7)>=妖
AND 单手换手率>=换手率
AND 单笔成交额>=大笔成交阀值*10000
AND 前期价差幅度<=前期价差率
AND FINANCE(7)<=1000000000 AND IF
(NAMELIKE('*ST'),0,IF(NAMELIKE('ST'),0,1));。

一目了然知换手通达信指标公式源码

一目了然知换手通达信指标公式源码

不同颜色代表不同换手率,从颜色就能直接知道当天换手范围,非常直观哦。

另配有缩量放量极度缩量提示。

利:WINNER(C)*100;量:VOL,VOLSTICK;比:V/MA(V,65),LINETHICK;盘:CAPITAL/1000000;亿:C*CAPITAL/1000000,COLORGREEN,LINETHICK;换手:VOL/CAPITAL*100;H5:MA(换手,5);收益:FINANCE(33),COLORGREEN;<%1:STICKLINE(换手<1 OR C>500,0,V,3,0),COLORCYAN;%11:STICKLINE(换手<1 AND C>=O,0,V,3,1),COLORCYAN;%12:STICKLINE(换手>=1 AND 换手<2,0,V,3,0),COLOR669999;%2:STICKLINE(换手>=2,0,V,2.8,0),COLORGREEN;空3:0,DRAWNULL,COLOR00CCFF;STICKLINE(换手>=3,0,V,3,1),COLOR00CCFF;实5: PLOYLINE(0,0),COLORYELLOW;STICKLINE(换手>=5,0,V,3,0),COLORYELLOW;空8:PLOYLINE(0,0),COLORMAGENTA;STICKLINE(换手>=8 AND 换手<10,0,V,3,1),COLORMAGENTA;空10:PLOYLINE(0,0),COLORRED;STICKLINE(换手>=10,0,V,3,1),COLORRED;实15:STICKLINE(换手>=15,0,V,3,0),COLORRED;空20:PLOYLINE(0,0),COLORWHITE;STICKLINE(换手>=20,0,V,3,1),COLORWHITE;实30:STICKLINE(换手>=30,0,V,3,0),COLORWHITE;缩量S:PLOYLINE(0,1),COLORGREEN;M3:=MA(V,30);DRAWICON(CURRBARSCOUNT<65 AND V<=(HHV(V,10)/5) AND M3/V<3 AND换手>=1.6,HHV(V,30)*0.95,8),COLORBLUE,LINETHICK2;地量↓:PLOYLINE(0,1),COLORGREEN;DRAWICON(CURRBARSCOUNT<65 AND M3/V>3 AND 换手<1.6,HHV(V,30)*0.95,2); 放量+:PLOYLINE(0,0),COLORRED;DRAWICON(V/((SUM(V,6)-V)/5)>3 AND CURRBARSCOUNT<120,0,23);V3:EMA(VOL,3),COLORWHITE;。

【股票指标公式下载】-【通达信】放量突破(换手率、价托)

【股票指标公式下载】-【通达信】放量突破(换手率、价托)

【通达信】放量突破(换手率、价托)-指标公式源码V5:=MA(VOL,5);V10:=MA(VOL,10);V20:=MA(VOL,20);LDAY1:=BARSLAST(CROSS(V5,V10));LDAY2:=BARSLAST(CROSS(V5,V20));LDAY3:=BARSLAST(CROSS(V10,V20));LTJ1:=(LDAY1>LDAY2 OR LDAY1=LDAY2) {AND COUNT(CROSS(V5,V20),LDAY1)=1} AND LDAY2=0 AND V10<V20;LTJ2:=(C>O AND REF(C,1)<REF(O,1) AND REF(C,2)>REF(O,2) AND C>REF(C,2)); LTJ:=LTJ1 AND LTJ2;LTJ0:=LTJ1 AND V10>REF(V10,1);MA5:MA(C,5),COLORWHITE;MA10:MA(C,10),COLORCYAN;MA20:MA(C,20),COLORRED;MA40:MA(C,40),LINETHICK2,POINTDOT,COLORBLUE;MA60:MA(C,60),LINETHICK2,POINTDOT,COLORGREEN;PDAY1 := BARSLAST(CROSS(MA5,MA60));{5日均线上穿60日均线}PDAY2 := BARSLAST(CROSS(MA10,MA60));{10日均线上穿60日均线,至此形成鸭颈部}PDAY3 := BARSLAST(REF(HIGH=HHV(HIGH,PDAY2),1));{形成头部,要下跌} PDAY4 := BARSLAST(CROSS(MA10,MA5){ OR (REF(MA10,1)<REF(MA5,1) ANDMA5=MA10)});{下跌后,5日均线和10日均线死叉}PDAY5 := BARSLAST(CROSS(MA5,MA10){ OR (REF(MA5,1)=REF(MA10,1) ANDMA5>MA10)});{回落不久,5日均线和10日均线形成金叉,形成部}A1:= PDAY1>PDAY2 AND PDAY2>PDAY3 AND PDAY3>PDAY4 AND PDAY4>PDAY5 AND PDAY5<5;A2:= COUNT(CROSS(MA10,MA5),PDAY2)=1;A3:=MA5>MA60 AND MA10>MA60;{JT:=CROSS(MA20,MA60) AND C>O AND REF(C,1)<REF(O,1) ANDREF(C,2)>REF(O,2);CSFR:=CROSS(C,MA20) AND CROSS(C,MA40) AND CROSS(C,MA60);STICKLINE(JT,H,L,1,0),COLORYELLOW;STICKLINE(JT,O,C,8,0),COLORYELLOW;STICKLINE(CSFR,H,L,1,0),COLORWHITE;STICKLINE(CSFR,O,C,8,0),COLORWHITE;DRAWTEXT(CSFR,H,'出水芙蓉'),COLORYELLOW;DRAWTEXT(JT ,L, '价托'),COLORRED;}CSFR:=CROSS(C,MA20) AND CROSS(C,MA40) AND CROSS(C,MA60);YDAY1:=BARSLAST(CROSS(MA5,MA10));YDAY2:=BARSLAST(CROSS(MA5,MA20));YDAY3:=BARSLAST(CROSS(MA10,MA20));YJZZ:=(YDAY1=YDAY2 AND YDAY2=YDAY3 OR (YDAY1-YDAY2=1 OR YDAY2-YDAY3=1)) AND REF(MA5,2)<REF(MA10,2) AND REF(MA10,2)<REF(MA20,2) AND MA5>MA10 AND MA10>MA20 ;YJZZ1:=YDAY1=YDAY2 AND YDAY2=YDAY3 AND MA5>MA10 AND MA10>MA20 AND YDAY1=1;YJT:=YDAY1>=YDAY2 AND YDAY2=0 AND MA10<MA20;DAY1:=BARSLAST(CROSS(MA20,MA40));DAY2:=BARSLAST(CROSS(MA20,MA60));DAY3:=BARSLAST(CROSS(MA40,MA60));TJ0:=DAY1>=DAY2 AND DAY3<5;短顶:=MA(REF(HHV(H,40),1),1);头顶:=MA(REF(HHV(H,60),1),1);年顶:=MA(REF(HHV(H,0),1),1),LINETHICK2,POINTDOT,COLORWHITE;JZZ:=DAY1=DAY2 AND DAY2=DAY3 AND REF(MA20,1)<REF(MA40,1) ANDREF(MA40,1)<REF(MA60,1) AND MA20>MA40 AND MA40>MA60;TJ1:=DAY1>=DAY2 AND COUNT(CROSS(MA20,MA60),DAY1)=1{AND(DAY1-DAY2)<10};TJ2:=C>O AND CROSS(C,头顶);TJ21:=C>O AND CROSS(C,短顶);{TJ22:=C>O AND CROSS(C,年顶) AND VOL<V5;换手率小12%}TJ3:=VOL>REF(VOL,1);TJ4:=MA20>MA60 AND MA40>REF(MA40,1) AND MA40<MA60;TJ5:=DAY1>=DAY2 AND DAY2=0 AND MA40<MA60;{TJ:=(TJ2 AND TJ3) OR (TJ21 AND TJ3);}TJ:=DYNAINFO(4)>0AND HHV(HIGH,10)/LLV(LOW,10)<1.25AND REF(CLOSE,1)<(LLV(LOW,15)+(HHV(HIGH,15)-LLV(LOW,15))*0.85) AND CLOSE>OPENAND CLOSE>=HHV(HIGH,10);STICKLINE(LTJ0,H,L,1,0),COLORGREEN;STICKLINE(LTJ0,O,C,8,0),COLORGREEN;STICKLINE(TJ,H,L,1,0),COLORYELLOW;STICKLINE(TJ,O,C,8,0),COLORYELLOW;{STICKLINE(TJ22,H,L,1,0),COLORYELLOW;STICKLINE(TJ22,O,C,8,0),COLORYELLOW;}STICKLINE(LTJ,H,L,1,0),COLORRED;STICKLINE(LTJ,O,C,8,0),COLORRED;STICKLINE(CSFR,H,L,1,0),COLORWHITE;STICKLINE(CSFR,O,C,8,0),COLORWHITE;DRAWTEXT(CSFR,H,'出水芙蓉'),COLORYELLOW;DRAWTEXT(TJ,L-0.2, '放量突破'),COLORRED;{DRAWTEXT(TJ22,H+0.2, '轻松过顶'),COLORWHITE;}DRAWTEXT(LTJ,H+0.5,'量托+多方炮'),COLORYELLOW;DRAWTEXT(LTJ0,H+0.5,'量托'),COLORYELLOW;DRAWTEXT(TJ5,MA60-0.2,'季价托'),COLORYELLOW;DRAWTEXT(YJT,MA20-0.5,'月价托'),COLORYELLOW;DRAWTEXT(JZZ,MA60-0.2,'金蜘蛛'),COLORYELLOW;DRAWTEXT(YJZZ OR YJZZ1,MA20-0.2,'月金蜘蛛'),COLORYELLOW;老鸭头:=(A1 AND A2 AND A3) AND FILTER(A1 AND A2 AND A3 ,5); DRAWTEXT(老鸭头,L,'老鸭头'),COLORGREEN;STICKLINE(老鸭头,H,L,0.5,0),COLORGREEN;STICKLINE(老鸭头,O,C,6,1),COLORGREEN,LINETHICK3;【通达信】放量突破(换手率、价托)-指标公式效果图(文档来源:若水财经社区)。

四量图副图的通达信指标公式源码全解

四量图副图的通达信指标公式源码全解

四量图副图的通达信指标公式源码全解引言本文档将介绍通达信指标公式源码解析,主要关注四量图副图的指标公式。

通达信是一种常用的股票分析软件,其指标公式源码是股票分析的重要工具。

通达信指标公式源码解析以下是四量图副图的通达信指标公式源码全解:1. 成交量指标(VOL)源码:VOL:=(MA(VOL,5)+MA(VOL,10)+MA(VOL,20))/3;该公式计算了成交量的均线,分别为5日、10日和20日的均线。

将这三个均线相加后除以3,得到最终的成交量指标。

2. 成交额指标(AMT)源码:AMT:=(MA(AMT,5)+MA(AMT,10)+MA(AMT,20))/3;该公式计算了成交额的均线,同样使用了5日、10日和20日的均线计算方法。

将这三个均线相加后除以3,得到最终的成交额指标。

3. 换手率指标(TURNOVER)源码:TURNOVER:=(MA(TURNOVER,5)+MA(TURNOVER,10)+MA( TURNOVER,20))/3;该公式计算了换手率的均线,同样使用了5日、10日和20日的均线计算方法。

将这三个均线相加后除以3,得到最终的换手率指标。

4. 持仓量指标(POSITION)源码:POSITION:=(MA(POSITION,5)+MA(POSITION,10)+MA(POSIT ION,20))/3;该公式计算了持仓量的均线,同样使用了5日、10日和20日的均线计算方法。

将这三个均线相加后除以3,得到最终的持仓量指标。

结论本文介绍了四量图副图的通达信指标公式源码全解。

通过对成交量、成交额、换手率和持仓量的均线计算,可以得到相应的指标,帮助进行股票分析和决策。

通达信指标公式源码是股票分析的重要工具,可以根据需要进行定制和优化。

通达信绝密换手率选股指标公式源码编程思路破译及成功率回测数据

通达信绝密换手率选股指标公式源码编程思路破译及成功率回测数据

通达信绝密换手率选股指标公式源码编程思路破译及成功率回测数据编程思路破译:ZG赋值:收盘价-1日前的收盘价和0的较大值的5日[1日权重]移动平均/收盘价-1日前的收盘价的绝对值的5日[1日权重]移动平均*1000ZG1赋值:ZG-10日内ZG的最低值ZG2赋值:(ZG1的2日简单移动平均*3+ZG1*13)/16ZG3赋值:如果ZG2>13,返回ZG2的2日简单移动平均,否则返回ZG2/6ZG4赋值:ZG3上穿1 AND (ZG3<30)ZG5赋值:1日前的统计6日中满足收阴线的天数<6 AND 8日前的开盘价/收盘价<1.07 AND 1日前的开盘价/收盘价<1.07 AND 13日前的开盘价/收盘价<1.07ZG6赋值:3日前的1日前的收盘价/收盘价<1.07 AND 9日前的开盘价/收盘价<1.05AND 3日前的收盘价<OORC>开盘价 AND 最高价/收盘价<1.015换手率赋值:100*成交量(手)/当前流通股本(手)ZG7赋值:4日前的收盘价<OORC>开盘价AND 5日前的收盘价<OORC>开盘价ZG8赋值:如果(收盘价-2日前的收盘价*0.865和13日前的收盘价*0.772的较小值)/收盘价<0.1ANDSUM(换手率,5)/5<1.8,返回10,否则返回0ZG9赋值:1日前的ZG8 AND 收阳线AND 1日前的收阴线 AND 7日前的开盘价/收盘价<1.07 AND 收盘价/1日前的收盘价>1.01 ZG12赋值:1日前的最近3日一直存在收阴线 AND 收盘价>收盘价的5日简单移动平均AND 收盘价>收盘价的10日简单移动平均AND 1日前的开盘价/收盘价>1.05AND 收盘价>收盘价的20日简单移动平均AND 1日前的收盘价<收盘价的5日简单移动平均ANDC<收盘价的10日简单移动平均ANDC<收盘价的20日简单移动平均AND 20日前的平盘输出XG:(ZG4 AND ZG9 AND 平滑异同平均线的MACD>1日前的平滑异同平均线的MACD AND ZG7 AND ZG6 AND ZG5)OR ZG12条件选股:绝密换手率[日线]成功率测试测试股票数:5005共发出信号:7118成功信号:3791失败信号:3278未完成信号:49 信号发出率:51.49%平均成功率:53.63%成功率达到50%的股票数有:62.28%利润1总平均:13.96%最大平均利润1: 142.59% 最小平均利润1: 0.00%利润2总平均:4.91%最大平均利润2: 142.59% 最小平均利润2: -40.48%程序源码:ZG:=SMA(maX(C-REF(C,1),0),5,1)/SMA(Abs(C-REF(C,1)),5,1)*1000;ZG1:=ZG-LLV(ZG,10);ZG2:=(MA(ZG1,2)*3+ZG1*13)/16;ZG3:=IF(ZG2>13,MA(ZG2,2),ZG2)/6;ZG4:=crOSS(ZG3,1) AND (ZG3<30);ZG5:=REF(COUNT(C<O,6)<6,1) AND REF(O/C<1.07,8) AND REF(O/C<1.07,1) AND REF(O/C<1.07,13);ZG6:=REF(REF(C,1)/C<1.07,3) AND REF(O/C<1.05,9)AND REF(C<O OR C>O,3) AND H/C<1.015;换手率:=100*vol/CAPITAL;ZG7:=REF(C<O OR C>O,4) AND REF(C<O OR C>O,5);ZG8:=IF((C-MIN(REF(C,2)*0.865,REF(C,13)*0.772))/C<0.1 AND SUM(换手率,5)/5<1.8,10, 0);ZG9:=REF(ZG8,1) AND C>O AND REF(C<O,1) ANDREF(O/C<1.07,7) AND C/REF(C,1)>1.01;ZG12:=REF(EVERY(OPEN>CLOSE,3),1) AND C>MA(C,5) AND C>MA(C,10) AND REF(O/C>1.05,1)AND C>MA(C,20) AND REF(C<MA(C,5) AND C<MA(C,10) AND C<MA(C,20),1) AND REF(C=O,20);XG:(ZG4 AND ZG9 AND macd.MacD>REF(MACD.MACD,1) AND ZG7 AND ZG6 AND ZG5)OR ZG12 ;。

通达信指标公式源码换手率加MACD双背离

通达信指标公式源码换手率加MACD双背离

通达信指标公式源码换手率加MACD双背离A1:=IF(RANGE(FROMOPEN,0,61),VOL/CAPITAL*100*60/FROMOPEN,DRAWNULL);A2:=IF(RANGE(FROMOPEN,60,121),VOL/CAPITAL*100*120/FROMOPEN,A1);A3:=IF(RANGE(FROMOPEN,120,181),VOL/CAPITAL*100*180/FROMOPEN,A2);A4:=IF(RANGE(FROMOPEN,180,241),VOL/CAPITAL*100*240/FROMOPEN,A3);A5:=IF(ISLASTBAR&&PERIOD=5,VOL/CAPITAL*100*240/FROMOPEN,DRAWNULL); 预测:IF(ISLASTBAR&&PERIOD=4,A4,A5),COLORRED; STICKLINE(ISLASTBAR,预测,0,-1,-1),COLORGREEN; J10:=O>REF(C,1) AND C5;DRAWNUMBER(J10 AND J20,HSL*1.1,J15); 换手:100*DYNAINFO(37),VOLSTICK,NODRAW; 十换手:SUM(换手,10),NODRAW;廿换手:SUM(换手,20),COLORFF6EC7,NODRAW; 获利比:WINNER(C)*100,COLOR0080FF,NODRAW;量比:V/(REF(MA(V,5),1)),LINETHICK0,COLORRED,NODRAW; P1:=HSL<=1;P2:=HSL>1 AND HSL<=3; P3:=HSL>3 AND HSL<=5; P4:=HSL>5 AND HSL<=10;P5:=HSL>10;STICKLINE(P1,0,HSL,2.0,0),COLOR808080; STICKLINE(P2,0,1,2.0,0),COLOR808080; STICKLINE(P2,1,HSL,2.0,0),COLOR008000;STICKLINE(P3,0,1,2.0,0),COLOR808080; STICKLINE(P3,1,3,2.0,0),COLOR008000; STICKLINE(P3,3,HSL,2.0,0),COLOR0080FF; STICKLINE(P4,0,1,2.0,0),COLOR808080; STICKLINE(P4,1,3,2.0,0),COLOR008000; STICKLINE(P4,3,5,2.0,0),COLOR0080FF; STICKLINE(P4,5,HSL,2.0,0),COLOR0000FF; STICKLINE(P5,0,1,2.0,0),COLOR808080; STICKLINE(P5,1,3,2.0,0),COLOR008000; STICKLINE(P5,3,5,2.0,0),COLOR0080FF; STICKLINE(P5,5,10,2.0,0),COLOR0000FF; STICKLINE(P5,10,HSL,2.0,0),COLORGREEN;M5:MA(HSL,5),COLORWHITE; M10:MA(HSL,10),COLORYELLOW;M20:MA(HSL,20),COLORFF00FF; DRAWICON(换手>25,换手,15);DRAWTEXT_FIX(ISLASTBAR,0.20,0,0,'★换手率>3红柱!!'),COLORRED;DRAWTEXT_FIX(ISLASTBAR,0.30,0,0,'★换手率>10绿柱!!'),COLORGREEN;DRAWTEXT_FIX(ISLASTBAR,0.40,0,0,'★换手率>25锁定盈利!!'),COLORYELLOW; DRAWTEXT_FIX(ISLASTBAR,0.52,0,0,'★股价低位红柱绿柱进货!!'),COLORFFFF00; DRAWTEXT_FIX(ISLASTBAR,0.66,0,0,'★股价高位绿柱拉高出货!!'),COLORMAGENTA;DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26); DEA:=EMA(DIFF,9); MACD:=2*(DIFF-DEA);QZQ:=BARSLAST(REF(MACD,1)<0 AND MACD>0); QM:=LLVBARS(MACD,QZQ+20); MQDZ:=IF(QM>QZQ,REF(MACD,QM),0); QF:=LLVBARS(DIFF,QZQ+20);DQDZ:=IF(QF>QZQ,REF(DIFF,QF),0);XG1:=MACD<0 AND MACD>MQDZ AND DIFF<0 AND DIFF>DQDZ ANDCLOSE=LLV(CLOSE,QZQ+20) AND MQDZ<0 AND DQDZ<0; MACD双背离:REF(XG1,1)=1 ANDMACD>REF(MACD,1),LINETHICK2,COLORYELLOW,NODRAW; DRAWICON(MACD双背离,HSL,26); {换手率解盘} FJ1:=1; FJ2:=2;FJ3:=3; FJ4:=5; FJ5:=8; FJ6:=15; FJ7:=25;HS:=DYNAINFO(37)*100,LINETHICK2,COLORYELLOW;DRAWTEXT_FIX(HSDRAWTEXT_FIX(HS=FJ1 AND ISLASTBAR,0,0.0,0, '-----低靡,无人问津不参与-----'),COLORC080FF; DRAWTEXT_FIX(HS=FJ2 AND ISLASTBAR,0,0.0,0, '-----温和,价量齐升可跟进-----')COLOR0080FF; DRAWTEXT_FIX(HS=FJ3 AND ISLASTBAR,0,0.0,0, '-----活跃,可关注-----')COLORFFFF00; DRAWTEXT_FIX(HS=FJ4 AND ISLASTBAR,0,0.0,0, '-----带量,带量上攻可跟进-----'),COLORGREEN; DRAWTEXT_FIX(HS=FJ5 AND ISLASTBAR,0,0.0,0, '-----放量,低位则进高位出-----'),COLORMAGENTA; DRAWTEXT_FIX(HS=FJ6 AND ISLASTBAR,0,0.0,0, '-----巨量,如在高位请小心-----'),COLORYELLOW; DRAWTEXT_FIX(HS<100 AND HS>=FJ7 AND ISLASTBAR,0,0.0,0, '-----怪异,如在高位请小心-----'),COLORRED;DRAWTEXT_FIX(1,0,0.15,0, '解盘说明:'),COLORWHITE; DRAWTEXT_FIX(1,0.05,0.15,0, '①地量(超级冷门股) 0-1')COLORBROWN; DRAWTEXT_FIX(1,0.17,0.15,0, '②低糜(冷门) 1-2 '),COLORC080FF; DRAWTE XT_FIX(1,0.26,0.15,0, '③温和(热身股) 2-3')COLOR0080FF; DRAWTEXT_FIX(1,0.36,0.15,0, '④活跃(活跃) 3-5')COLORFFFF00; DRAWTEXT_FIX(1,0.45,0.15,0, '⑤带量(高度活跃) 5-8 '),COLORGREEN;DRAWTEXT_FIX(1,0.56,0.15,0, '⑥放量(热门股) 8-15 '),COLORMAGENTA;DRAWTEXT_FIX(1,0.665,0.15,0, '⑦巨量(超级热门股)15- 25 '),COLORYELLOW; DRAWTEXT_FIX(1,0.795,0.15,0, '⑧怪异 25-100 '),COLORRED;感谢您的阅读,祝您生活愉快。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
相关文档
最新文档