通达信adjs指标公式源码_通达信dmi指标公式源码

hacker|
106

文章目录:

[通达信公式] 求图中所含公式指标源码,请高手帮忙,万分感谢 !

T:=(C+L+H)/3; SL:=((REF(T,1)*REF(V,1)+T*V)/(REF(V,1)+V)); VV:=SL; Y911:=IFF(CURRBARSCOUNT=1, (XMA(VV,9)*9-MA(VV,8)+MA(VV,7) -MA(VV,6)+MA(VV,5) -MA(VV,4)+MA(VV,3) -MA(VV,2) +VV)/9,XMA(VV,9)); Y912:=IFF(CURRBARSCOUNT=1, (XMA(Y911,9)*9-MA(Y911,8)+MA(Y911,7) -MA(Y911,6)+MA(Y911,5) -MA(Y911,4)+MA(Y911,3) -MA(Y911,2) +Y911)/9,XMA(Y911,9)); Y913:=IFF(CURRBARSCOUNT=1, (XMA(Y912,9)*9-MA(Y912,8)+MA(Y912,7) -MA(Y912,6)+MA(Y912,5) -MA(Y912,4)+MA(Y912,3) -MA(Y912,2) +Y912)/9,XMA(Y912,9)); 中期趋势:Y913,LINETHICK2,COLORGREEN; Y291:=IFF(CURRBARSCOUNT=1,(XMA(VV,29)*29-MA(VV,28)+MA(VV,27)-MA(VV,26)+MA(VV,25)-MA(VV,24)+MA(VV,23)-MA(VV,22)+MA(VV,21)-MA(VV,20)+MA(VV,19)-MA(VV,18)+MA(VV,17)-MA(VV,16)+MA(VV,15)-MA(VV,14)+MA(VV,13)-MA(VV,12)+MA(VV,11) -MA(VV,10)+MA(VV,9) -MA(VV,8)+MA(VV,7) -MA(VV,6)+MA(VV,5) -MA(VV,4)+MA(VV,3) -MA(VV,2)+VV)/29,XMA(VV,29)); Y292:=IFF(CURRBARSCOUNT=1,(XMA(Y291,29)*29-MA(Y291,28)+MA(Y291,27)-MA(Y291,26)+MA(Y291,25)-MA(Y291,24)+MA(Y291,23)-MA(Y291,22)+MA(Y291,21)-MA(Y291,20)+MA(Y291,19)-MA(Y291,18)+MA(Y291,17)-MA(Y291,16)+MA(Y291,15)-MA(Y291,14)+MA(Y291,13)-MA(Y291,12)+MA(Y291,11) -MA(Y291,10)+MA(Y291,9) -MA(Y291,8)+MA(Y291,7) -MA(Y291,6)+MA(Y291,5) -MA(Y291,4)+MA(Y291,3) -MA(Y291,2)+Y291)/29,XMA(Y291,29)); Y293:=IFF(CURRBARSCOUNT=1,(XMA(Y292,29)*29-MA(Y292,28)+MA(Y292,27)-MA(Y292,26)+MA(Y292,25)-MA(Y292,24)+MA(Y292,23)-MA(Y292,22)+MA(Y292,21)-MA(Y292,20)+MA(Y292,19)-MA(Y292,18)+MA(Y292,17)-MA(Y292,16)+MA(Y292,15)-MA(Y292,14)+MA(Y292,13)-MA(Y292,12)+MA(Y292,11) -MA(Y292,10)+MA(Y292,9) -MA(Y292,8)+MA(Y292,7) -MA(Y292,6)+MA(Y292,5) -MA(Y292,4)+MA(Y292,3) -MA(Y292,2)+Y292)/29,XMA(Y292,29)); 长期趋势:Y293,LINETHICK2,COLORGREEN; IF(Y293REF(Y293,1),Y293,DRAWNULL),COLORRED,LINETHICK2; IF(Y913REF(Y913,1),Y913,DRAWNULL),COLORMAGENTA,LINETHICK2; 高险区1:Y293*1.036,COLORLICYAN; 高风区2:Y293*1.031,COLORLICYAN; 高风区3:Y293*1.026,COLORLICYAN; 良机区1:Y293*0.974,COLORLICYAN; 良机区2:Y293*0.969,COLORLICYAN; 良机区3:Y293*0.964,COLORLICYAN; WSR1:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100; WSR2:=CROSS(WSR1,5); WSR3:=CROSS(8,WSR1); WSR4:=CROSS(WSR1,-5); WSR5:=CROSS(WSR1,-8); WSR6:=WSR3; WSR7:=WSR4 OR WSR5; WSR8:=WSR7 AND FILTER(WSR7,5); WSR10:DRAWICON(WSR8,L-0.01,1); WSR9:=WSR6 AND FILTER(WSR6,5); WSR11:DRAWICON(WSR9,H+0.01,2); WSR12:=O良机区3; DRAWICON(WSR12 AND FILTER(WSR12,12),L-0.03,9); W1:=CREF(C,1) AND MACDREF(MACD,1) AND MACD0 AND VREF(V,1); W2:=CREF(C,1) AND MACD0 AND MACDREF(MACD,1) AND VREF(V,1); XG:=W1 OR W2; VAR1:=AMOUNT/VOL/7; VAR2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7; VAR3:=SUM(AMOUNT,10)/VAR1/7; VAR4:=DMA(VAR2,VOL/VAR3); VAR5:=(CLOSE-VAR4)/VAR4*100,COLORLIMAGENTA; XG1:=CROSS(VAR5,MA(VAR5,2)) AND VAR50 AND C(HHV(H,5)*0.88) AND REF(OC,1) AND REF(OC,2); XG3:=XG AND XG1 AND L良机区1; WSR13:=O良机区3 AND L良机区1 OR XG3; DRAWICON(WSR13 AND FILTER(WSR13,10),L-0.03,5); WSR14:=H高风区3;DRAWICON(WSR14 AND FILTER(WSR14,15),H+0.03,6); WSR15:=H高风区3 AND H高风区2;DRAWICON(WSR15 AND FILTER(WSR15,5),H+0.03,4); WSR16:=(INDEXC-MA(INDEXC,3))/MA(INDEXC,3); WSR17:=(INDEXC-MA(INDEXC,8))/MA(INDEXC,8); WSR18:=(INDEXC-MA(INDEXC,18))/MA(INDEXC,18); WSR19:=(WSR16 + WSR17 + WSR18)/3; WSR20:=(C-MA(C,3))/MA(C,3); WSR21:=(C-MA(C,8))/MA(C,8); WSR22:=(C-MA(C,18))/MA(C,18); WSR23:=(WSR20 + WSR21 + WSR22)/3; WSR24:=(WSR19REF(WSR19,1) AND CROSS(WSR23,WSR19))*50; WSR25:=(INDEXC-MA(INDEXC,6))/MA(INDEXC,6); WSR26:=(INDEXC-MA(INDEXC,12))/MA(INDEXC,12); WSR27:=(INDEXC-MA(INDEXC,24))/MA(INDEXC,24); WSR28:=(WSR25 + WSR26 + WSR27)/3; WSR29:=(C-MA(C,6))/MA(C,6); WSR30:=(C-MA(C,12))/MA(C,12); WSR31:=(C-MA(C,24))/MA(C,24); WSR32:=(WSR29 + WSR30 + WSR31)/3; WSR33:=(WSR28REF(WSR28,1) AND CROSS(WSR32,WSR28))*20; WSR34:=(INDEXC-MA(INDEXC,13))/MA(INDEXC,13); WSR35:=(INDEXC-MA(INDEXC,34))/MA(INDEXC,34); WSR36:=(INDEXC-MA(INDEXC,55))/MA(INDEXC,55); WSR37:=(WSR34 + WSR35 + WSR36)/3; WSR38:=(C-MA(C,13))/MA(C,13); WSR39:=(C-MA(C,34))/MA(C,34); WSR40:=(C-MA(C,55))/MA(C,55); WSR41:=(WSR38 + WSR39 + WSR40)/3; WSR42:=(WSR37REF(WSR37,1) AND CROSS(WSR41,WSR37));

通达信选股公式源码

你好,通达信选股公式源码如下。

次日涨停

W1:=C=HHV(C,20);

W2:=BARSLAST(W1);

W3:=IF(W20,REF(C,W2),REF(C,W2));

W4:=交叉(C,REF(W3,1));

W4和计数(W4,5)=1;

黄转紫选股

差异:=EMA(DCLOSE,12)-EMA(DCLOSE,26);

DEA:=EMA(差异,9);

MACD:=(DIFF-DEA)*2;

紫柱:MACDREF(MACD,1)和REF(MACD,1)低位金叉选股

差异:=EMA(DCLOSE,12)-EMA(DCLOSE,26);

DEA:=EMA(差异,9);

MACD:=(DIFF-DEA)*2;

低位金叉:交叉(差异,DEA)和差异二次金叉选股

差异:=EMA(DCLOSE,12)-EMA(DCLOSE,26);

DEA:=EMA(差异,9);

MACD:=(DIFF-DEA)*2;

JCCOUNT:=计数(交叉(差异,数据包络分析),BARSLAST(数据包络分析=0));

二次金叉:交叉(差异,DEA)和DEA绝地反弹

(1)

VAR1:=参考值(低,1);

VAR2:=SMA(ABS(低VAR1),13,1)/SMA(最大值(低VAR1,0),13,1)*100;

VAR3:=EMA(如果(关闭*1.2,VAR2*13,VAR2/13),13);

VAR4:=LLV(低,34);

VAR5:=HHV(VAR3,34);

VAR6:=如果(LLV(低,55),1,0);

VAR7:=EMA(如果(低)XL1:=MA(低,2)*0.96;

XL2:=MA(低,26)*0.85;

XL3:=REF(XL1,1)启动:=如果(XL3,0,VAR7*3),则为红色;

XG:启动25;

(2)

倒退((参考(关闭,1)关闭打开和ABS(关闭参考(关闭,1))/关闭A2:=过滤器(A1ND资本REF(V,1)=LLV(V,4)和V=REF(V,1)

HHV(V,3)=参考(V,1)和HHV(V,5)=参考(V,1)和HHV(V,21)=参考(V,1)

和V=REF(V,1)

010,T020;

1.三线粘合

M:=1;

M5:=MA(闭合,5);

M10:=MA(闭合,10);

M20:=MA(闭合,20);

K1:=最大值(最大值(M5,M10),最大值(M10,M20));

K2:=MIN(MIN(M5,M10),MIN(M10,M20));

A:=最大(M5,最大(M10,M20))/MIN(M5,最小(M10,M20))A1:=(K1/K2-1)A2:=(K1/K2-1)A3:=VREF(V,1)*1.5和VMA(V,5);

XG:A和A1,A2和A3,CO和VREF(V,1),资本2.三条线粘合

N1:=5;N2:=10;N3:=20;M:=1;

MA1:=MA(C,N1);MA2:=MA(C,N2);MA3:=MA(C,N3);

A3:=VREF(V,1)*1.5和VMA(V,5);

最大值(MA1,最大值(MA2,MA3))/MIN(MA1,最小值(MA2,MA3))CO和VREF(V,1)和财务(7)A3及资本3.均线粘合

M:=1;

M5:=MA(闭合,5);

M10:=MA(闭合,10);

M20:=MA(闭合,20);

K1:=最大值(最大值(M5,M10),最大值(M10,M20));

K2:=MIN(MIN(M5,M10),MIN(M10,M20));

A:=最大(M5,最大(M10,M20))/MIN(M5,最小(M10,M20))A1:=(K1/K2-1)A2:=(K1/K2-1)A3:=VREF(V,1)*1.5和VMA(V,5);

XG:A和A1以及A2和A3;

3.金叉选股指标

快线:=均线(均线)(均线(收盘,2,2,2),;

慢线:=EMA(参考(快线,1),2);

A3:=VREF(V,1)*1.5和VMA(V,5);

交叉(快线,慢线) 和CO和

五 =MA(V,21)和VREF(V,1),资本

如何导出通达信自编指标的源码?

在通达信打开公式管理器 选择你要导出的指标 选择快速导出 选择要保存的位置 问是否完全加密 选择否 这样就导出自编指标的源码了,或者直接复制粘贴指标中的源码到文本文档也可以.

通达信根据指标源码怎样编选股公式

VAR3:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;

VAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;

VAR5:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;

VAR6:=(VAR3+VAR4+VAR5)/3;

VAR7:=EMA(VAR6,5);

ZB:=EMA(EMA(VAR3,5),5)*3;

VAR8:=IF(VAR6=-20,10,0);

VAR9:=HHV(VAR8,10);

VARA:=IF(VAR9 AND CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0);

准备:=VAR8=10 AND FILTER(VAR8=10,5);

一定要买:=VARA=20;

VARF:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);

VAR10:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);

VAR11:=VARFREF(VAR10,1) AND VOLREF(VOL,1) AND CLOSEREF(CLOSE,1);

庄家异动:=VAR11 AND COUNT(VAR11,30)=1;

钱包:=(ZIG(3,5)REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)=REF(ZIG(3,5),3));

XG:(准备 OR 一定要买 OR 庄家异动) AND 钱包;

=======================

{单独出现}

VAR3:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;

VAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;

VAR5:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;

VAR6:=(VAR3+VAR4+VAR5)/3;

VAR7:=EMA(VAR6,5);

ZB:=EMA(EMA(VAR3,5),5)*3;

VAR8:=IF(VAR6=-20,10,0);

VAR9:=HHV(VAR8,10);

VARA:=IF(VAR9 AND CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0);

准备:=VAR8=10 AND FILTER(VAR8=10,5);

一定要买:=VARA=20;

VARF:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);

VAR10:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);

VAR11:=VARFREF(VAR10,1) AND VOLREF(VOL,1) AND CLOSEREF(CLOSE,1);

庄家异动:=VAR11 AND COUNT(VAR11,30)=1;

钱包:=(ZIG(3,5)REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)=REF(ZIG(3,5),3));

XG:准备 OR 一定要买 OR 庄家异动 OR 钱包;

2条大神的评论

  • avatar
    访客 2022-07-02 下午 04:11:34

    =(K1/K2-1)A2:=(K1/K2-1)A3:=VREF(V,1)*1.5和VMA(V,5);XG:A和A1以及A2和A3;3.金叉选股指标快线:=均线(均线)(均线(收盘,2,2,2),;慢线:=EMA(参考(快线,1),2);A3:=VREF(V,1)

  • avatar
    访客 2022-07-02 下午 05:32:34

    )/3; SL:=((REF(T,1)*REF(V,1)+T*V)/(REF(V,1)+V)); VV:=SL; Y911:=IFF(CURRBARSCOUNT=1, (XMA(VV,9)*9-MA(VV,8)+MA(VV,7) -MA(VV,6)+M

发表评论