通达信金手指公式

源码

MA1:MA(CLOSE,5);

MA2:MA(CLOSE,10);

MA3:MA(CLOSE,25);

MA4:MA(CLOSE,60);

MA5:MA(CLOSE,610);

DRAWTEXT_FIX(1,0.00,0,0,HYBLOCK)COLOR0080FF;

DRAWTEXT_FIX(1,0.14,0,0,DYBLOCK)COLOR00FFFF;

DRAWTEXT_FIX(1,0.00,0.06,0,EXTERNSTR(0,1))COLOR0000FF;

DRAWTEXT_FIX(1,0.00,0.12,0,EXTERNSTR(0,2))COLORFF00FF;

DRAWTEXT_FIX(1,0.00,0.18,0,EXTERNSTR(0,3))COLORFF88FF;

DRAWTEXT_FIX(1,0.00,0.24,0,EXTERNSTR(0,5)),COLORLICYAN;

箱底:=TROUGH(CLOSE,10,1)*1.02,COLOR008888,LINETHICK2;

价低箱底:=COUNT(L<箱底,3);

底箱:=TROUGH(CLOSE,10,1)*1.05,COLOR008888,LINETHICK1;

DRAWTEXT(价低箱底>=1 AND 箱底<MA3 AND CROSS(C,底箱),L*0.9999,'杀入'),COLOR00CCCC;

DRAWTEXT(MA3>MA4 AND 价低箱底>=1 AND 箱底<MA3 AND CROSS(C,底箱),L*0.9999,'杀入加强'),COLOR00CCCC;{www.guhai.com.cn}

金手指:价低箱底>=1 AND 箱底<MA3 AND CROSS(C,底箱),COLOR00AAAA,NODRAW;

STICKLINE(金手指,OPEN,CLOSE,2.0,0),COLOR008888;

STICKLINE(金手指,OPEN,CLOSE,1.6,0),COLOR00AAAA;

STICKLINE(金手指,OPEN,CLOSE,0.8,0),COLOR00CCCC;

STICKLINE(金手指,OPEN,CLOSE,0.2,0),COLOR00FFFF;

止跌:=(REF(EVERY(C<O,2),1) AND C>O);

VAR1N:=MA(CLOSE,5),;

VAR2N:=MA(CLOSE,10);

VAR3N:=(VAR1N-CLOSE)/CLOSE>3/100;

VAR4N:=(VAR2N-VAR1N)/VAR1N>0.03;

VAR5N:=LLV(CLOSE,30)=LLV(CLOSE,120);

底部:=VAR3N AND VAR4N AND VAR5N;

STICKLINE(BARSLAST(底部)<=2 AND 止跌,OPEN,CLOSE,2.0,0),COLORFF0066;

短趋势线:=MA(CLOSE,13),COLORRED,LINETHICK3;

中线:=MA(CLOSE,33),LINETHICK1;

中趋势线:=MA(CLOSE,55),LINETHICK1,COLORGRAY;

上极限:=((C-REF(MA(CLOSE,20),1))/20+短趋势线)*1.20;

DRAWTEXT(CROSS(短趋势线,C) AND INDEXC>MA(INDEXC,13) AND 短趋势线>REF(短趋势线 ,1) AND V<REF(V,1) AND 短趋势线>中趋势线 ,L*0.985,'买入'),COLORRED;

箱顶:=PEAK(CLOSE,10,1)*1.001,COLORFF4400;

RESV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;

KEE:=SMA(RESV,3,1);

DEE:=SMA(KEE,3,1);

JEE:=3*KEE-2*DEE;

RSV24:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;

K24:=SMA(RSV24,3,1);

D24:=SMA(K24,3,1);

J24:=3*K24-2*D24;

压力位:=IF(CROSS(J24,JEE),H,REF(H,BARSLAST(CROSS(J24,JEE)))),COLOR669900,LINETHICK1;

支撑位:=IF(CROSS(JEE,J24),L,REF(L,BARSLAST(CROSS(JEE,J24)))),COLORCE6700,LINETHICK2;

追涨:=压力位<箱顶 AND CROSS(C,箱顶);

DRAWTEXT(压力位<箱顶 AND CROSS(C,箱顶),L,'追涨'),COLORCC8868;

A1:=REF(V,1);A2:=DVOL;A3:=A2/A1;

LNX:=A3-REF(A3,1),COLOR00CCCC,LINETHICK1;

E1:=REF(C,1);E2:=DCLOSE;E3:=(E2-E1)/E1*100;

QMX:=E3-REF(E3,1),COLOR00CCCC,LINETHICK2;

XG:=CROSS(LNX,500) AND CROSS(QMX,10);

DRAWTEXT(XG=1,L*0.985,'金手指'),COLORCC8868;

DRAWICON(XG=1,L*0.99,11);
 




未来函数检测结果如下:
该公式包含未来函数:PEAK
该公式包含未来函数:TROUGH
该公式包含未来函数:DCLOSE
该公式包含未来函数:DVOL
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图