买在起涨点通达信指标公式源码

合集下载

通达信公式源码指标暴涨启动点副图源码 通达信

通达信公式源码指标暴涨启动点副图源码 通达信

暴涨启动点副图源码通达信贴图这是一个可能暴涨的提前筛选指标,可以选出来盘中跟踪,出现急拉是可跟进,也可以稍回调后跟进DIF:EMA(CLOSE,9)-EMA(CLOSE,150),NODRAW;DEA:EMA(DIF,12),NODRAW;MACD:2*(DIF-DEA),COLORSTICK;DIK:4*DIF-3*DEA,COLORYELLOW;DED:=EMA(DIK,1),COLORGREEN;IF(C>DED,DED,DRAWNULL),COLORRED,LINETHICK3;IF(DED<=REF(DED,1),DED,DRAWNULL),COLORGREEN,LINETHICK3;Æô¶¯µã:=MACD<0 AND MACD>REF(MACD ,1) ANDREF(MACD ,1)<REF(MACD ,2)AND REF(MACD ,2)<REF(MACD ,3)AND REF(MACD ,3)<REF(MACD ,4);STICKLINE(Æô¶¯µã,8,MACD,2,0),COLORMAGENTA;·Ö½çÏß:0,COLORFF00FF;DRAWICON(Æô¶¯µã,20,11);STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,1.8,0),COLOR000055; STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,1.1,0),COLOR000099; STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,0.6,0),COLOR0000BB; STICKLINE(MACD<=REF(MACD,1) ANDMACD>0,0,MACD,1.8,0),COLOR40FF00;STICKLINE(MACD<=REF(MACD,1) ANDMACD>0,0,MACD,1.1,0),COLOR40FF00;STICKLINE(MACD<=REF(MACD,1) ANDMACD>0,0,MACD,0.6,0),COLOR40FF00;STICKLINE(MACD>REF(MACD,1) AND MACD<0,0,MACD,1.8,0),COLOR000055; STICKLINE(MACD>REF(MACD,1) AND MACD<0,0,MACD,1.1,0),COLOR000099; STICKLINE(MACD>REF(MACD,1) AND MACD<0,0,MACD,0.6,0),COLOR0000BB; STICKLINE(MACD<=REF(MACD,1) ANDMACD<0,0,MACD,1.8,0),COLOR40FF00;STICKLINE(MACD<=REF(MACD,1) ANDMACD<0,0,MACD,1.1,0),COLOR40FF00;STICKLINE(MACD<=REF(MACD,1) ANDMACD<0,0,MACD,0.6,0),COLOR40FF00;。

准备买 要大涨 主图指标通达信指标公式源码

准备买 要大涨 主图指标通达信指标公式源码

准备买要大涨主图指标N:=9;M1:=3;M2:=3;RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;K:=SMA(RSV,M1,1);D:=SMA(K,M2,1);J0:=3*K-2*D;J:=MA(J0,2);ZBXH:=22;YMD:=150228;YC:=MOD((YMD/10000),100);MC:=MOD((YMD/100),100);DC:=MOD((YMD),100);Y1:=POW(YC,2)*10+POW(MC,2)*10+POW(DC,2)*1+YC*MC*DC;Y2:=20000+POW(YC,2)*100+POW(MC,2)*10+POW(DC,2)*1000+YC*MC*DC; Y3:=30000+POW(YC,2)*10+POW(MC,2)*1000+POW(DC,2)*100+YC*MC*DC; YZB:=POW(YC,2)*ZBXH+POW(MC,2)*ZBXH+POW(DC,2)*ZBXH;YES1:=3914;YES2:=3914;YES3:=3914;YESZB:=22286;GQ0:=(DATE()<=(1000000+YC*10000+MC*100+DC))+POW(10,-5);GQ:=IF(GQ0 AND YES1 AND YESZB,1,DRAWNULL),NODRAW;GQ10:=IF(GQ=DRAWNULL AND CURRBARSCOUNT<10,DRAWNULL,1); VGQ:=GQ+0.001;VV2:=(VGQ-1)*1000*(GQ0>1);MA20:=MA(C,13);平均涨速:=(MA20-REF(MA20,1))/MA20*100*(GQ10-0.001),NODRAW;上涨冲动区:=平均涨速>=0.5,COLORMAGENTA;底部0:=J<REF(J,1) AND J<REF(J,2) AND J<底部J值;底部:=底部0 AND COUNT(底部0,5)=1;底部平均距离:=100/COUNT(底部,100);底部距离:=BARSLAST(底部)+1;准备买0:=EXIST(底部距离>15,3) AND J<20;准备买:准备买0 AND COUNT(准备买0,5)=1,NODRAW;DRAWTEXT(准备买,L, '准备买'),COLORYELLOW;强势回调:=COUNT(上涨冲动区,10)>=8 AND 准备买*VV2;就要大涨:强势回调,COLORYELLOW,NODRAW;DRAWTEXT(强势回调,L*0.98,'要大涨'),COLORYELLOW;。

通达信指标-预测上涨-副选指标源码

通达信指标-预测上涨-副选指标源码

通达信指标-预测上涨-副选指标源码副图指标源码A:=1;X00:=O;MX000:=(0.3609454219*X00-0.03309329629*REF(X00,1)-0.04241822779*REF(X00,2)-0.026737249*REF(X00,3)-0.007010041271*REF(X00,4)-0.002652859952*REF(X00,5)-0.0008415042966*REF(X00,6)-0.0002891931964*REF(X00,7)-0.0000956265934*REF(X00,8)-0.0000321286052*REF(X00,9)-0.0000106773454*REF(X00,10)-0.0000035457562*REF(X00,11)-0.0000011670713*REF(X00,12) )/ (1-0.7522406533 );明日重心涨跌幅:=(MX000-X00)/X00*100;资金动力:=明日重心涨跌幅*100;ST:=NOT(C/REF(C,1)>=1.045 AND O=C)*A;ST1:=IF(NAMELIKE('S'),0,1) AND IF(NAMELIKE('*'),0,1);涨:=REF(C,1)*1.1-C<0.01 AND H=C;{涨停}最低成本:=COST(5);最高成本:=COST(95);平均成本:=COST(50);成本重心:=(平均成本-最低成本)/(最高成本-最低成本)*100;成本带宽CBW:=(最高成本-最低成本)/最低成本*100*A;中线位置:=(C-LLV(最低成本,120))/LLV(最低成本,120)*100*A;成本突破:=(中线位置<50 AND 成本带宽CBW<40)*A;XG5:=BARSLASTCOUNT(成本突破)*A;AHC1:=CLOSE*VOL;AHC2:=EMA((EMA(AHC1,3)/EMA(VOL,3)+EMA(AHC1,6)/EM A(VOL,6)+EMA(AHC1,12)/EMA(VOL,12)+EMA(AHC1,24)/EMA(V OL,24))/4,13);内上:=1.06*AHC2*A;内下:=AHC2*0.94;XXX:=(MA(CLOSE,120)>内下 AND MA(CLOSE,60)>内下 AND MA(CLOSE,20)>内下AND MA(CLOSE,10)>内下AND MA(CLOSE,5)>内下AND MA(CLOSE,120)<内上AND MA(CLOSE,60)<内上AND MA(CLOSE,20)<内上AND MA(CLOSE,10)<内上AND MA(CLOSE,5)<内上)/2*A;VAR61 := MA(C,26);VAR62 := POW(C - VAR61,2);VAR63 := MA(VAR62,13);VAR64 := SQRT(VAR63);VAR65 :=VAR61 + (2 * VAR64);XG14:=COUNT(REF(L,0)/REF(L,1)>1.03,5)=1;XG9:=BARSLASTCOUNT(XG14);XG15:=COUNT(REF(L,0)/REF(L,1)>1.03,5)=1;XG10:=BARSLASTCOUNT(XG15);A1:=(C-REF(C,1))/REF(C,1)*100*A;涨多:=NOT(REF(涨,1)) AND REF(A1,1)<3 AND REF(A1,2)<3 AND REF(A1,3)<3 AND REF(A1,4)<3 AND REF(A1,5)<3 AND REF(A1,6)<3*A;D:=MA(O,4)+0.03;霸气:={CROSS(VAR32,50) AND }O/REF(C,1)>1.02 AND HIGH > REF(VAR65,1) AND 资金动力<=400 AND 涨多 AND XG9=1;霸气2:={CROSS(VAR32,50) AND }O/REF(C,1)>1.02 AND HIGH > REF(VAR65,1) AND 涨多AND XG9=1 AND XXX AND XG5 AND ST1 AND ST AND O/REF(C,1)<1.06 AND REF(C,1)<=D;VAR34 := ZJL.折价率#WEEK;VAR35 := MA(VAR34,PERIOD) + (2 * STD(VAR34,PERIOD));VAR36 := (MA(VAR34,3 * PERIOD)) + (2 * (STD(VAR34,3 * PERIOD)));VAR37 := (MA(VAR34,5 * PERIOD)) + (2 * (STD(VAR34,5 * PERIOD)));VAR38 := (MA(VAR34,6 * PERIOD)) + (2 * (STD(VAR34,6 * PERIOD)));VAR39 := (MA(VAR34,7 * PERIOD)) + (2 * (STD(VAR34,7 * PERIOD)));VAR40 := (MA(VAR35 - (REF(VAR35,2 * PERIOD)),PERIOD)) + (2 * (STD(VAR35 - (REF(VAR35,3 * PERIOD)),PERIOD)));VAR41 := (MA(VAR36 - (REF(VAR36,2 * PERIOD)),PERIOD)) + (2 * (STD(VAR36 - (REF(VAR36,3 * PERIOD)),PERIOD)));VAR42 := (MA(VAR37 - (REF(VAR37,2 * PERIOD)),PERIOD)) + (2 * (STD(VAR37 - (REF(VAR37,3 * PERIOD)),PERIOD)));VAR43 := (MA(VAR38 - (REF(VAR38,2 * PERIOD)),PERIOD)) + (2 * (STD(VAR38 - (REF(VAR38,3 * PERIOD)),PERIOD)));VAR44 := (MA(VAR39 - (REF(VAR39,2 * PERIOD)),PERIOD)) + (2 * (STD(VAR39 - (REF(VAR39,3 * PERIOD)),PERIOD)));VAR45 := REF(HHV(VAR37,5),1);VAR46 := REF(HHV(VAR37,5),6);VAR47 := REF(HHV(VAR37,5),11);VAR48 := REF(HHV(VAR37,5),16);VAR49 := REF(HHV(VAR37,5),21);VAR50 := REF(HHV(VAR37,5),26);VAR51 := IF(VAR45 < REF(MAX(VAR46,VAR47),BARSLAST(CROSS(VAR37,MAX(VAR46, VAR47)))),REF(MAX(VAR46,VAR47),BARSLAST(CROSS(VAR37,MA X(VAR46,VAR47)))),VAR45);气:=((((VAR37 > VAR51)) AND (VAR38 > VAR51)) AND (VAR39 > VAR51)),COLORRED;必涨:XXX AND XG5 AND 霸气AND ST1 AND ST{ AND 气}*A,COLORFF00FF;必涨2:=霸气2 AND (REF(C,2)<REF(O,1) OR REF(C,1)<REF(O,1) OR REF(C,4)>REF(O,1) OR REF(C,3)>REF(O,1))*A;MA34:=EMA(H,5);确定涨:(必涨 2 AND REF(C,1)<REF(MA34,1) { AND 底部<=0.13}){ OR (必涨AND MACD.DIF<0.2)}{AND XG10=1},COLORRED,NODRAW;STICKLINE(确定涨,0,0.5,4,0 )*A,COLOR000099;STICKLINE(确定涨,0,0.5,3,0 )*A,COLOR0000BB;STICKLINE(确定涨,0,0.5,1.5,0 )*A,COLOR0000DD;STICKLINE(确定涨,0,0.5,0.3,0 )*A,COLOR0000FF;选股指标源码A:=1;ST:=NOT(C/REF(C,1)>=1.045 AND O=C)*A;ST1:=IF(NAMELIKE('S'),0,1) AND IF(NAMELIKE('*'),0,1);涨:=REF(C,1)*1.1-C<0.01 AND H=C;最低成本:=COST(5);最高成本:=COST(95);成本带宽CBW:=(最高成本-最低成本)/最低成本*100*A;中线位置:=(C-LLV(最低成本,120))/LLV(最低成本,120)*100*A;成本突破:=(中线位置<50 AND 成本带宽CBW<40)*A;XG5:=BARSLASTCOUNT(成本突破)*A;AHC1:=CLOSE*VOL;AHC2:=EMA((EMA(AHC1,3)/EMA(VOL,3)+EMA(AHC1,6)/EM A(VOL,6)+EMA(AHC1,12)/EMA(VOL,12)+EMA(AHC1,24)/EMA(V OL,24))/4,13);内上:=1.06*AHC2*A;内下:=AHC2*0.94;XXX:=(MA(CLOSE,120)>内下 AND MA(CLOSE,60)>内下 AND MA(CLOSE,20)>内下AND MA(CLOSE,10)>内下AND MA(CLOSE,5)>内下AND MA(CLOSE,120)<内上ANDMA(CLOSE,60)<内上AND MA(CLOSE,20)<内上AND MA(CLOSE,10)<内上 AND MA(CLOSE,5)<内上)/2*A;VAR61 := MA(C,26);VAR62 := POW(C - VAR61,2);VAR63 := MA(VAR62,13);VAR64 := SQRT(VAR63);VAR65 :=VAR61 + (2 * VAR64);XG14:=COUNT(REF(L,0)/REF(L,1)>1.03,5)=1;XG9:=BARSLASTCOUNT(XG14);A1:=(C-REF(C,1))/REF(C,1)*100*A;涨多:=NOT(REF(涨,1)) AND REF(A1,1)<3 AND REF(A1,2)<3 AND REF(A1,3)<3 AND REF(A1,4)<3 AND REF(A1,5)<3 AND REF(A1,6)<3*A;D:=MA(O,4)+0.03;霸气2:=O/REF(C,1)>1.02 AND HIGH > REF(VAR65,1) AND 涨多AND XG9=1 AND XXX AND XG5 AND ST1 AND ST AND O/REF(C,1)<1.06 AND REF(C,1)<=D;必涨2:=霸气2 AND (REF(C,2)<REF(O,1) OR REF(C,1)<REF(O,1) OR REF(C,4)>REF(O,1) OR REF(C,3)>REF(O,1))*A;MA34:=EMA(H,5);确定涨:(必涨2 AND REF(C,1)<REF(MA34,1) );{提示大家:在复制通达信指标源码时注意复制完整,复制不完整在测试时指标会提示错误。

买入起涨通达信指标公式源码

买入起涨通达信指标公式源码

买入起涨通达信指标公式源码起涨通达信指标是一种常用的技术指标,它可以帮助投资者判断股票的买入时机。

下面是买入起涨通达信指标的源码,你可以根据自己的需要进行修改和使用。

```python#导入所需的库import numpy as npimport talib#定义起涨通达信指标函数def QZTDX(data, n=9, m=12, p=26):#计算三个底层指标sma1 = talib.SMA(data, n) # 简单移动平均线sma2 = talib.SMA(data, m)sma3 = talib.SMA(data, p)#计算起涨通达信指标qztdx = np.where((sma2 > sma1) & (sma3 > sma2), 1, 0)return qztdx#调用起涨通达信指标函数data = [20, 21, 22, 23, 24, 25, 26, 27, 28, 29]qztdx = QZTDX(data)print(qztdx)```上述代码首先导入了`numpy`和`talib`库,`numpy`库用于处理数组和矩阵,`talib`库是一个常用的金融技术分析库。

然后定义了一个名为`QZTDX`的函数,该函数接收一个股票价格数据的列表以及三个参数`n`、`m`和`p`。

函数内部首先计算了三个底层指标,即简单移动平均线,这里使用了`talib`库中的`SMA`函数。

然后根据起涨通达信指标的计算公式,判断出每个交易日的买入信号。

最后返回一个数组`qztdx`,其中1表示买入信号,0表示无信号。

在代码最后,通过调用`QZTDX`函数并传入一个示例数据,输出的结果是一个包含0和1的数组,表示每个交易日的买入信号。

你可以根据自己的数据和需求来进行修改,并根据具体情况使用该指标来判断买入时机。

最强超超长线买点通达信指标公式源码

最强超超长线买点通达信指标公式源码

最强超超长线买点通达信指标公式源码通达信是一款非常受欢迎的股票交易软件,其中包含了大量的技术指标供投资者使用。

以下是一个超超长线买点指标的源码,用于在通达信上实现。

```c通达信指标名称:超超长线买点参数:E,M,N变量:L1(0),L2(0),L3(0),L4(0),L5(0),L6(0),L7(0),KX(0),HY(0),PD(0),P2(0 ),P1(0),Y1(0),YG(0),SM(0),X2(0);变量:X1(0),X0(0),H9(0),H8(0),H7(0),H6(0),H5(0),H4(0),H3(0),H2(0),H1(0 ),HT(0),HS(0),HZ(0),H(0),M1(0),GZ(0);HT=HHV(HIGH,N);HS=LLV(LOW,N);HZ=HHV(CLOSE,N);H=L/HT;M1=IIF(H>REF(H,1),1,-1);H1=IIF(H>M1ANDM1=-1,PDI(E)>MDI(E),IIF(H<M1ANDM1=-1,RSI(E)>70,IIF(H>M1ANDM1=1,PDI(E)<MDI(E),IIF(H<M1ANDM1=1,RSI(E) <30,0))));H2=IIF(H=1,H1,0);H3=HHV(H2,M);H4=IIF(BARSINCE(H2>-1)<N*2,H3,PREV);H5=IIF(CROSS(H2,H4),H4,PREV);H6=IIF(H2=H5,0,TMA(H4,LENGTH(H4)*2));H7=REF(H6,1);H8=REF(H7,1);H9=REF(H8,1);GZ=C;H80=EMA(KX,GZ);H81=EMA(X0,GZ);L1=CLOSE-HHVBARS(CLOSE,HZ)/HZ*(H-HZ);L2=EMA(L1,M);L3=REF(L2,1);L4=HHVBARS(L2,H3);HY=L4>N;PD=IIF(SM<HTANDSMA(HY,M1)>0.9,SMA(HY,E)ANDMA(ADTM(,Z)>L,N); X0=HHVBARS(PD,E)*(H>L1);X1=EMA(X0,E);X2=EMA(X1,E*M);P1=HHVBARS(PD,E*N);P2=HHVBARS(PD,E)*L2/H3;Y1=REF(P1,1);YG=HHVBARS(H3,M)*M1;//创建指标线Plot(X2>ADTM(, " 超超长线买点", colorLime);```上述代码中,“超超长线买点”是一个基于EMA计算的指标,其中包含了三个参数E、M和N,以及一些中间变量。

暴涨主图指标通达信指标公式源码

暴涨主图指标通达信指标公式源码

暴涨主图指标暴涨主图MA5:MA(CLOSE,M1);MA10:MA(CLOSE,M2);MA24:MA(CLOSE,M3);MA30:MA(CLOSE,M4);MA60:MA(CLOSE,M5);MA120:MA(CLOSE,M6);MA250:MA(CLOSE,M7);DIF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);DEA:=EMA(DIF,9);AAA:=(DIF-DEA)*2*60;起爆:=CROSS(AAA-REF(AAA,1),15),COLORRED,LINETHICK2; DRAWTEXT(起爆,L*0.99,'◆■◆↖暴张'),COLORYELLOW,LINETHICK2; STICKLINE(REF(COUNT(C<MA(REF(HHV((C+L+O+H)/4,40),1),3),5)=5,1) AND C>MA(REF(HHV((C+L+O+H)/4,40),1),3) ANDC>O,C,O,1.3,0),COLORYELLOW;TYX2:=MA(REF(HHV((C+L+O+H)/4,10),1),3);STICKLINE(REF(COUNT(C<TYX2,5)=5,1) AND C>TYX2 ANDC>O,C,O,1.3,0),COLORBLUE;DRAWTEXT(HIGH>REF(HIGH,1) ANDREF(HIGH,2)>REF(HIGH,1) AND LOW>REF(LOW,1)AND REF(LOW,2)>REF(LOW,1)AND MA(CLOSE,5)<MA(CLOSE,10),L-0.4,'■底方买进'),COLORMAGENTA;主力:=EMA(((2*C+H+L)/4-LLV(L,34))/(HHV(H,34)-LLV(L,34))*100,13){*VAR2}, COLORRED;散户:=EMA(0.667*REF(主力,1)+0.333*主力,2),COLORFF9933;上扬:IF(CROSS(主力,30) AND 散户<主力,L,DRAWNULL),POINTDOT,LINETHICK7,COLORLIMAGENTA;{35,STICK,LINETHICK2,COLOR000000;强弱分界线:=50, POINTDOT, LINETHICK2, COLORFFFF00;}买入脉冲:IF(CROSS(主力,散户) AND 主力<35,L*0.99,DRAWNULL),POINTDOT,LINETHICK7,COLORLIBLUE;VAR1:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100;操盘线:=SMA(VAR1,5,1),LINETHICK2,COLORRED;趋势线:=SMA(操盘线,3,1),LINETHICK2,COLORYELLOW;买入航标:IF(CROSS(操盘线,趋势线) AND 趋势线<25,L*0.98,DRAWNULL),POINTDOT,LINETHICK5,COLORRED;卖出脉冲:IF(CROSS(散户,主力) AND 散户>75,H*1.03,DRAWNULL),CROSSDOT,LINETHICK3,COLORGRAY; DRAWTEXT(CROSS(主力,散户) AND 主力<22,L,'起动'),COLORYELLOW; DRAWTEXT(CROSS(主力,30) AND 散户<主力,L,'上扬'),COLOR00CCFF; DRAWTEXT(CROSS(主力,65) AND 散户<主力,H,'冲顶'),COLOR9933FF; DRAWTEXT(CROSS(主力,75) AND 散户<主力,H,'小心被套'),COLORRED; DRAWTEXT(CROSS(散户,主力) AND 散户>75,H,'头部'), COLORYELLOW; DRAWTEXT(买入航标>0,L,'买入'),COLORMAGENTA;DRAWTEXT(CROSS(趋势线,操盘线)AND 操盘线>70,H*1.02,'卖出'),COLOR00FF00;FA:=BARSLAST(CROSS(MA10,MA5)) AND CROSS(MA5,MA10);FB:=FA AND MA5>MA30 AND MA10>MA30 AND MA10>REF(MA10,1); DRAWTEXT(FB,L-0.58,'★追涨'),COLORRED;V1:=EMA(CLOSE,5);V2:=EMA(EMA(CLOSE,90)*1.01,10);DRAWTEXT(CROSS(V1,V2),V1+0.05,'牛起步'),COLOR00FF00;VARA1:=LLV(LOW,21);VARA2:=HHV(HIGH,21);AK1:=EMA((((CLOSE - VARA1) / (VARA2 - VARA1)) * 100),5);AK:=EMA((((CLOSE - VARA1) / (VARA2 - VARA1)) * 50),13);AB:=CROSS(AK1,AK);DRAWTEXT((AB = 1),(LOW * 0.99),'○关注'),COLORYELLOW;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,LINETHICK0,COLOR0099FF; DRAWTEXT(介入,L*0.99,'介入'),COLOR0099FF;VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3AA>0),91,0);DRAWTEXT(FILTER((VAR4AA>90),45),(LOW)*(0.93),'★买入'),COLOR00FFFF; DRAWTEXT(FILTER((VAR4AA>90),35),(LOW)*(0.99000001),'★加仓'),COLOR00FFFF;VZ:=INTPART(AMOUNT)/INTPART(V)/100;DRAWTEXT_FIX(1,0.00,0,0,'所属地区:')COLOR00FFFF;DRAWTEXT_FIX(1,0.07,0,0,DYBLOCK)COLOR00FFFF;DRAWTEXT_FIX(1,0.00,0.06,0,'所属行业:')COLORFF00FF;DRAWTEXT_FIX(1,0.07,0.06,0,HYBLOCK)COLORFF00FF;EMA20:EMA(C,20),COLORWHITE,NODRAW;EMA40:EMA(C,40),COLORYELLOW,NODRAW;EMA60:EMA(C,60),COLORFF00FF;MA020:=EMA(CLOSE,20);MA040:=EMA(CLOSE,40);MA060:=EMA(CLOSE,60);A1:=OPEN<MA020 OR OPEN<MA040 OR OPEN<MA060;A2:=C>MAX(MA020,MAX(MA040,MA060));A3:=V/MA(V,10)>1.2;A4:=C/REF(C,1)>1.049;A5:=VOL/REF(VOL,1)>=1.9;出水芙蓉:=A1 AND A2 AND A3 AND A4 AND A5 AND O<MA060 AND C>MA060; DRAWTEXT(出水芙蓉,H-0.20,'出水芙蓉');。

通达信源码公式指标软件金牛启动-成功率非常高的连续上涨公式.docx

通达信源码公式指标软件金牛启动-成功率非常高的连续上涨公式.docx

金牛启动■成功率非常高的连续上涨公式实际效果不多说,贴图,自己倒入公式后,选股岀来看看历史记录,效果和当的惊人主图源码:趋势:EMA(EMA(C,4),4),COLORYELLOW;月K:=n KDJ.K#MONTH H;月D:=n KDJ.D#MONTH n;周K:=,,KDJ.K#WEEK";周D:=”KDJ・D#WEEK:日K^KD.IC;日D:=H KD.D n;日金叉:=IF(CROSS(H D)z15,0);周金叉:=IF(CROSS(周K,周D),25,0);月金叉:=IF(CROSS(月K,月D)z35,0);日周月:=IF(R金叉=15 AND周金叉=25 AND月金叉=35,1,0);日周月赚:=日周月=1;日周:=IF(日金叉=15 AND周金叉=25,2,0);日周赚:二日周=2;周月:=IF(周金叉=25 AND月金叉=35,3,0);日月:=IF(R金叉=15 AND月金叉=35,4,0);日月赚:=日月=4;周月赚:=周月=3;DRAWTEXT(日周月赚,趋势*0.96;\LSP 人牛1COLORRED; DRAWTEXT(周月赚,趋势*0.97;\LSP 金牛jCOLORFFOOFF; DRAWTEXT(R月赚,趋势*0.98;\LSP 牛牛'),COLORYELLOW;DIF:=EMA(DCLOSE Z12)-EMA(DCLOSE Z26);DEA:=EMA(DIF,9);AAA:=(DIF-DEA)*2*60;启动:=CROSS(AAA-REF(AAA,1)Z15)Z COLORRED,LINETHICK2; DRAWTEXT(启动丄*0.99,金牛启动 *),COLORYELLOW 丄INETHICK2;所属地域:DRAWTEXT_FIX(ISLASTBAR ,0.05,1,1,DYBLOCK),COLORYELLOW; 所属行业:DRAWTEXT_FIX(ISLASTBAR ,0.06,1,0Z HYBLOCK),COLORYELLOW; DRAWTEXT_FIX(1,0.11,1,0,EXTERNSTR(0,6)),COLORYELLOW; DRAWTEXT_FIX(l,0.12,l,0z EXTERNSTR(0,l)兀OLORYELLOW; DRAWTEXT_FIX(l,0・006Q82O'主营业务JC OLORFFOOFF;DRAWTEXT_FIX(l z0.06z0.82,0z EXTERNSTR(0,2)兀OLORFFOOFF; DRAWTEXT_FIX(1,0.006,0.71,0;±题概念')COLORFF88FF;DRAWTEXT_FIX(1,0.06,0.71,0,EXTERNSTR(0,3))COLORFF88FF;所属地区:DRAWTEXT_FIX(l,O.OO z O,0,DYBLOCK)COLOROOFFFF;主题投资:DRAWTEXT_FIX(l z0.04z0.00,0z EXTERNSTR(0z10)兀OLOROOOOFF; AA:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE z24))/4;BB:=EMA(AA Z2);TP:=(CROSS(AA,BB) OR CROSS(C,AA)) AND C>=EMA(C,55);CC:=EMA(CLOSE,12)-EMA(CLOSE,26);DD:=EMA(CC,9);主升启动:二TP AND CROSS(CC,DD) AND (DD<=-0.07)*CC;DRAWICON(主升启动丄*0.996,1);DRAWTEXT(主升启动丄,'LSP牛*);VARl:=(C+H+O+L)/4;MA1: = MA(VAR1Z3);MAA5:MA(C,5),COLORRED,LINETHICK1;A3:=(C-LLV(L,9))/(HHV(H z9)-LLV(L,9))*100;A4:=SMA(A3Z3Z1);A5:=SMA(A4,3,1);A6:=3*A4-2*A5;A7:=C-REF(C Z1);A& = 100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6)z6);AAA2:=SUM(IF( CLOSE>REF(CLOSE,1),VOL*C,0),0);AAA3:=SUM(IF( CLOSE<REF(CLOSE,1),VOL*C,0),0);AAA4:=SUM(IF( CLOSE=REF(CLOSE,l),VOL*C,0)z O);BB1:=O;Bl 万元:=DVOL*DCLOSE/100;Bl 差:=B1 万元-REF(B1 万元J);B2 万元:=DVOL*DCLOSE/100;B2 比:=B2 万元/REF(B2 万元,1);净流入万元:=(AAA2-AAA3-0.5* AAA4);PM:=MA(净流入万元,1);PMA:=PM/REF(PM Z1)>1;PMB:=REF(PMA,l)vl AND PMA;密码:(EMA(MA(B1 万元,2),2))/100000,COLORYELLOW,NODRAW; 二日比:=密码/REF(密码」);选股:PMBAND 密码>REF(密码,1) AND 二日比>1,COLORRED,NODRAW; DRAWNUMBER(选股=1 丄,密码)Z COLORYELLOW;DRAWICON(选股丄*0.975,1);副图源码:N: = 10;ZZ:=(HHV(H,3)+LLV(L,3))/2;A:=IF(C>ZZ,VOL z O);B:=IF(C<ZZ,VOL z O);总、0:=(A-B);BBD:EMA(总0,3)/SUM(VOL,5)*600丄INETHICK;STICKLINE(BBD>=0,0,BBD,3,0),COLOR000088;STICKLINE(BBD>=O z O z BBD,1.5,0)z COLOROOOOAA;STICKLINE(BBD>=O z O,BBD,l z O),COLOROOOOCC;STICKLINE(BBD>=0,0,BBD,0.5,0),COLOR0000FF;STICKLINE(BBD<0,0,BBD,3,0),COLOR888800;STICKLINE(BBD<O z O z BBD,1.5,0),COLORAAAAOO;STICKLINE(BBD<O z O,BBD,l,0),COLORCCCCOO;STICKLINE(BBD<0,0/BBD,0.5,0),COLORFFFF00;XH1:=REF(BBD Z1)<REF(BBD,2) AND REF(BBD,l)<-10 AND BBD>REF(BBD,1) AND BBD>0;XH2:=REF(BBD,1)>=REF(BBD,2) AND REF(BBD,1)>8 AND BBDvREF(BBD’l) AND BBD<0;DRAWICON(XH1,-20,1);DRAWICON(XH2Z20,2);AA:=REF(CLOSE,1);BBB:=SMA(MAX(CLOSE-AA,0),21,1)/SMA(ABS(CLOSE-AA),21,1)*1000;HHH:=BBB-LLV(BBB,27);CCC:=LLV(BBB,27)-BBB; QQ:=(MA(HHH,2)*3+HHH*13)/16,COLORFFOOFF Z LINETHICK1;SS:=(MA(CCC,2)*3+CCC*13)/16,COLORFFOOFF,LINETHICK1;GG:=MA(HHH,5)丄INETHICK1,COLORGREEN;MM: = MA(CCC,5)Z LINETHICK1,COLORGREEN;WW:=IF(QQ<GG,SS,MM)Z LINETHICK1,COLOROOOOFF;EE:=IF(SS<MM,GG,QQ),COLORFFFFCC,LINETHICK1;★买:=IF(EE-WW<5.6,200,0);RSW:=(CLOSE-LLV(LOW,10))/(HHV(HIGH Z10)-LLV(LOW Z10))*100;VARB2:=(RSW/2+22)*l;量:=EMA(VOL,13);资金: = EMA(AMOUNT,13);过滤:=((资金/*) / 100);提纯:=(((CLOSE ■过滤)/ 过滤)* 100);黄金:=((提纯v (0)) AND ZXNHJCOLORRED;买:IF(黄金AND RSW<VARB2-2Z180,0)Z COLOR00FFFF,STICK,LINETHICK1; DRAWTEXT(买〉0,99・6^'),COLORFFFFFF;STICKLINE(买02Q9),COLOROOOOFF;VAR2:=LLV(LOW,10);VAR3:=HHV(HIGH,25);小心:3.2,COLORYELLOW;风险:3.5,COLORBLUE;动力线:=EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4);STICKLINE(动力线〉REF(动力线,1),动力线,REF(动力线,1)QO),COLORRED; STICKLINE(动力线<=REF(动力线⑴,动力线,REF(动力线,l),O z O),COLOROOFFOO;底部:0.2,COLORC6C600;关注:0.5Z COLORFF75FF;强弱分界:1.75,COLORRED;RSV:=(((CLOSE • LLV(LOW Z9)) / (HHV(HIGH,9) - LLV(LOW Z9))) * 100);K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K・2*D;X:=LLV(J,2)=LLV(J,8);DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X AND J< 19,45;低进'COLORFFFFFF;DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X ANDJ < 19,85;▲ 1COLORFFOOFF;DRAWTEXT(CROSS(J,REF(J+0.01Z1)) AND X ANDJ < 19,80;▲ 'COLORFFOOFF;DRAWTEXT(CROSS(J Z REF(J+0.01,1)) AND X AND Jv 19,75,' t 'COLORFFOOFF; DRAWTEXT(CROSS(J Z REF(J+0.01,1)) AND X AND J< 19,70; f '),COLORFFOOFF; 小股民:二EMA(((2*CLOSE+HIGH+LOW)/4-LLV(LOW z5))/(HHV(HIGH,4)-LLV(LOW,5))*1 00,4);庄家:二EMA(0・667*REF(小股民,1)+0.333*小股民,2);DRAWTEXT(CROSS(庄家川、股民)AND小股民>70,90.5/高出jCOLOROOFFOO; DRAWTEXT(CROSS(庄家,小股民)AND 小股民>70,80mCOLOR00阡00; 高岀:100*(CROSS(庄家川、股民)AND小股K>70),COLOROOFFOO Z STICK,LINETHICK1;选股源码:N: = 10;ZZ:=(HHV(H Z3)+LLV(L Z3))/2;A:=IF(C>ZZ Z VOL Z O);B:=IF(C<ZZ,VOL Z O);总0:=(A-B);BBD:=EMA(总0,3)/SUM(VOL Z5)*600;XH1 :=REF(BBD Z 1)<REF(BBD,2) AND REF(BBD,l)<-10 AND BBD>REF(BBD Z1)AND BBD>0;XH2: = REF(BBD,1)>=REF(BBD,2) AND REF(BBD,1)>8 AND BBDvREF(BBDJ) AND BBD<0;AA:=REF(CLOSE,1);BBB:=SMA(MAX(CLOSE-AA,0),21,1)/SMA(ABS(CLOSE-AA),21,1)*1000;HHH:=BBB-LLV(BBB,27);CCC:=LLV(BBB Z27)-BBB;QQ:=(MA(HHH,2)*3+HHH*13)/16;SS:=(MA(CCC,2)*3+CCC*13)/161;GG:=MA(HHH,5);MM: = MA(CCC,5);WW:=IF(QQ<GG,SS,MM);EE:=IF(SS<MM Z GG Z QQ);RSW:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;VARB2:=(RSW/2+22)*l;量:=EMA(V0L,13);资金:=EMA(AM0UNT,13);过滤:=((资金/fi) / 100);提纯:=(((CLOSE ■过滤)/ 过滤)* 100);黄金:=((提纯< (0)) AND ZXNH);买:=IF(黄金AND RSW<VARB2-2,180,0);XG 买:=买>0;XG 买昨S:=REF(XG 买,1);RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K・2*D;X:=LLV(J Z2)=LLV(J,8);XG 低进:=CROSS(J Z REF(J+0.01,1)) AND X AND J<19;XG低进昨口 : = REF(XG低进,1);DIF:=EMA(DCLOSE Z12)-EMA(DCLOSE Z26);DEA:=EMA(DIF Z9);AAA:=(DIF-DEA)*2*60;启动:=CROSS(AAA-REF(AAA Z1),15);XG2:启动AND (XG低进昨口OR XG买昨口OR XG低进OR XG买);。

通达信暴涨买点副图源码

通达信暴涨买点副图源码

通达信暴涨买点副图源码VAR01:=LLV(L,10); VAR02:=HHV(H,25);趋势线:=EMA((C-VAR01)/(VAR02-VAR01)*4,4);价:=EMA(MA((((C-REF(C,1))+(H-REF(H,1))+(L-REF(L,1)))/3)/C,5),1);价5:=MA(价,5);量:=EMA(MA((V-REF(V,1))/V,5),1);量5:=MA(量,5);角:=1>(ATAN((C/REF(C,1)-1)*100)*180/3.14115926)>-1;W:=(C/REF(C,1))>1.01;横盘:=REF(((HHV(价,3)-LLV(价,3))/LLV(价,3)),1)<=(0.00/100) AND REF(((HHV(价5,3)-LLV(价5,3))/LLV(价5,3)),1)<=(0.00/100);量横盘:=REF(((HHV(量,3)-LLV(量,3))/LLV(量,3)),1)<=(0.00/100) AND REF(((HHV(量5,3)-LLV(量5,3))/LLV(量5,3)),1)<=(0.00/100);量比:=((量+REF(量,1)+REF(量,2))/(量5+REF(量5,1)+REF(量5,2)))>0.5;A:=COUNT(0.00<=价<=0.02 AND 0.00<=价5<=0.02,CROSS(价,价5))=1 AND W ,COLORYELLOW;ABB:=COUNT(0.00<=价<=0.02 AND 0.00<=价5<=0.02,横盘AND 量比 AND 量横盘 AND 角)=1 AND W ,COLORRED;逃顶高手:=A AND ABB;地量一:=MA(V,3)/MA(V,20)<0.4;地量二:=COUNT(V/(V,20)<0.4,3)=3;地量三:=V/MA(V,30)<0.5 AND V/HHV(V,30)<0.2;AA:=SUMBARS(VOL,CAPITAL);地量四:=VOL<MA(VOL,AA)/3;地量选股:=(地量一OR 地量二OR 地量三OR 地量四)=1 AND (REF(地量一,1) OR REF(地量二,1) OR REF(地量三,1) OR REF(地量四,1))=0;P1:=5;P2:=4;VARAB:=LLV(LOW,P1);VARBB:=HHV(HIGH,P1);KA1:=MA((CLOSE-VARAB)/(VARBB-VARAB)*100,P2),COLORRED;DA1:=MA(0.667*REF(KA1,1)+0.333*KA1,2),COLORWHITE;庄家:=KA1;散户:=DA1;低吸:=CROSS(庄家,散户) AND 庄家<30;VAR2D:=(2*CLOSE+HIGH+LOW)/4;VAR03:=IF(YEAR>=2099 AND MONTH>2,0,1);VAR04:=LLV(LOW,5);VAR05:=HHV(HIGH,4);庄家1:= EMA((VAR2D-VAR04)/(VAR05-VAR04)*100,4)*VAR03;散户1:= EMA(0.667*REF(庄家1,1)+0.333*庄家1,2)*VAR03;短进1:=CROSS(庄家1,散户1) AND 庄家1<50 AND 29<庄家1;低吸1:=CROSS(庄家1,散户1) AND 庄家1<30;买入:=逃顶高手 AND 低吸 AND (短进1 OR 低吸1) AND 趋势线>REF(趋势线,1);{短线买入立柱图}STICKLINE(买入,0,6,3,0),COLORRED;DRAWICON(买入,5,5)COLORFF00FF ;DRAWTEXT(逃顶高手 AND 地量选股,2,'地量'),COLORYELLOW;DRAWTEXT(买入,4.5,'短线买入'),COLORYELLOW; VAR21:=REF(CLOSE,1);VAR22:=((SMA(MAX((CLOSE - VAR21),0),6,1) / SMA(ABS((CLOSE - VAR21)),6,1) * 100));短期顶部:CROSS(+80,VAR22)*8,COLORWHITE,LINETHICK2,STICK;LC:=REF(CLOSE,1);RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;卖点:=CROSS(85,RSI1)*30,COLOR00FF00,LINETHICK2;卖:IF(卖点,6.5,0),STICK,COLORGREEN,LINETHICK4;洗钱A:=(CLOSE-LLV(LOW,32))/(HHV(HIGH,32)-LLV(LOW,32))*1.2*CLOSE;量1:=EMA(洗钱A,3);量2:=EMA(洗钱A,5);量3:=EMA(洗钱A,7);STICKLINE(量1>量2,量3,量1,3,1),COLORRED;STICKLINE(量1<量2,量3,量1,2,0),COLORCYAN;T1:=量2>量3 AND 量1<REF(量1,1);T2:=量2<量3 AND 量1>REF(量1,1);STICKLINE(T1,量1,量3,2,0),COLORYELLOW;STICKLINE(T2,量1,量3,3,1),COLORFF00FF;洗钱B:=SMA(洗钱A,13,1);分水岭:SMA(洗钱B,2.5,1.5),LINETHICK2,COLORWHITE;牛线:3*洗钱B-2*分水岭,LINETHICK2,COLORFF00FF ;熊线:4*分水岭-3*洗钱B,LINETHICK2,COLORFF6633;TT:=CROSS(分水岭 ,熊线);TY:=CROSS(牛线 ,分水岭);黄金买点:IF((TT AND TY),5,0),COLORYELLOW,LINETHICK2;HB:=C-REF(C,1);GB:=HB/REF(CLOSE,1);GG:=COUNT(GB>=-0.03,5);SS:=COUNT(GB<=0.03,5);QQ:=IF((GG AND SS),1,0);暴涨买点:IF((QQ AND 黄金买点),10,0),COLORRED,LINETHICK4;VAR2:=REF(LOW,1);VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;VAR4:=EMA(IF(CLOSE*1.2,VAR3*10,VAR3/10),3);VAR5:=LLV(LOW,38);VAR6:=HHV(VAR4,38);VAR7:=IF(LLV(LOW,90),1,0);VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VA R7;STICKLINE(VAR8,0,VAR8,10,15),COLOR000999;主力入货:(VAR8),COLOR000999;{公式在线提供:}DIF1:=EMA(C,12)-EMA(C,26);DEA1:=EMA(DIF1,9);MACD1:=2*(DIF1-DEA1);QZQ:=BARSLAST(REF(MACD,1)<0 AND MACD>0);QM:=LLVBARS(MACD1,QZQ+20);MQDZ:=IF(QM>QZQ,REF(MACD1,QM),0);QF:=LLVBARS(DIF1,QZQ+20);DQDZ:=IF(QF>QZQ,REF(DIF1,QF),0);XG1:=MACD1<0 AND MACD1>MQDZ AND DIF1<0 AND DIF1>DQDZ AND C=LLV(C,QZQ+20) AND MQDZ<0 AND DQDZ<0;XG:REF(XG1,1)=1 AND MACD1>REF(MACD1,1);VAR21A:=(REF(HIGH,1)+REF(LOW,1))/2;VAR61:=REF(CLOSE,1); VAR70A:=SMA(MAX(CLOSE-VAR61,0),6,1)/SMA(ABS(CLOSE-VAR61),6,1)*100;DRAWICON(CROSS(90,VAR70A),H*0.8.04,9); MTM1:=C-REF(C,1);A013:=HHV(HIGH,34);A014:=(2*CLOSE+HIGH+LOW)/4;A015:=LLV(LOW,34);A016:=EMA(((A014-A015)/(A013-A015))*100,13);A017:=EMA(0.667*REF(A016,1)+0.333*A016,2);KKMD:=A016-A017>1 AND A016<30 AND A017<30;DRAWTEXT(FILTER(KKMD,30),L*0.05,'▲短买'),COLOR00FFFF;VAR06:=REF(C,1);VAR07:=SMA(MAX(C-VAR06,0),6,1)/SMA(ABS(C-VAR06),6,1)*100;DRAWTEXT(CROSS(82,VAR07),H*0.9,'◤减仓'),COLORGREEN;RSVB:=(C-LLV(L,25))/(HHV(HIGH,25)-LLV(L,25))*100;K:=SMA(RSVB,3,1);D:=SMA(K,3,1);J:=3*K-2*D;VARA6:=(2*C+H+L)/3;VARA7:=EMA(EMA(EMA(VARA6,4),4),4);VARA8:=(VARA7-REF(VARA7,1))/REF(VARA7,1)*100;VARA9:=MA(VARA8,3)+0.03;VARA10:=MA(VARA8,1);DRAWICON(CROSS(VARA9,VARA10) AND J>90,H*0.96,12),COLORGREEN;DRAWTEXT(CROSS(VARA9,VARA10) AND J>90,H*1.02,'卖'),COLORCYAN;LCD:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LCD,0),4.1,1)/SMA(ABS(CLOSE-LCD),4.1,1)*100;建仓:CROSS(RSI,11)*10,COLORRED;。

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