【精选指标】通达信【趋势跟踪】主图指标源码分享,助你股海擒牛!

财富   2024-09-30 22:01   湖北  



  精 彩 内 容 呈 现  


 指    标    源    码

DRAWGBK(CLOSE>0,RGB(21,20,44),RGB(61,35,54),0,0,1);

LI:=12407239;

X:=IF(DATE<LI,1,DRAWNULL);

DRAWTEXT_FIX(DATE>=LI,0.9,0.9,0,'TIME OUT');

S:=2.7*X;

BK1:=STRCAT(HYBLOCK,' ');

BK2:=STRCAT(BK1,DYBLOCK);

BK3:=STRCAT(BK2,' ');

BK4:=STRCAT(BK3,GNBLOCK);

DRAWTEXT_FIX(ISLASTBAR,0.0,0.01,0,STRCAT('所属板块:',BK4)),COLORFFFF00;

STICKLINE(C>O,H,L,0,0),COLORRED;

STICKLINE(C>O,O,C,S,0),COLOR000088;

STICKLINE(C>O,O,C,S/2,0),COLOR0000AA;

STICKLINE(C>O,O,C,S/3,0),COLOR0000CC;

STICKLINE(C>O,O,C,S/6,0),COLOR0000FF;

STICKLINE(C<O,H,L,0,0),COLOR888800;

STICKLINE(C<O,O,C,S,0),COLOR888800;

STICKLINE(C<O,O,C,S/2,0),COLORAAAA00;

STICKLINE(C<O,O,C,S/3,0),COLORCCCC00;

STICKLINE(C<O,O,C,S/6,0),COLORFFFF00;

STICKLINE(C=O,H,L,0,0),COLORWHITE;

STICKLINE(C=O,O,C,S,0),COLORWHITE;

STICKLINE(C=O,H,L,0,0),COLORWHITE;

DRAWTEXT_FIX(C>O,0.01,0.51,0,'更多精彩指标公式,

请关注微信公众号:通达信指标公式'),COLORYELLOW; 

RR:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3)/4*X;

趋势线:EMA((MA(C,3)+MA(C,5)+MA(C,8)*2+MA(C,13)*3+MA(C,21)*5)/12,8)*X,COLORMAGENTA,LINETHICK2;

空头:IF(C<趋势线,趋势线,DRAWNULL),COLORGREEN,LINETHICK2;

ZT:=100*(C-REF(C,1))/REF(C,1)>10-0.01/REF(C,1);

DRAWTEXT(CROSS(RR,2),L*0.998,'←底'),COLORYELLOW;

DRAWICON(CROSS(RR,5),L*0.998,23);

DRAWTEXT(CROSS(23.16,RR),H*1.01,'←跑'),COLORGREEN;

X_2:=CROSS(RR,5);

STICKLINE(X_2,LOW,HIGH,0,0),COLOR0088EE;

STICKLINE(X_2,CLOSE,OPEN,S,0),COLOR0055AA;

STICKLINE(X_2,CLOSE,OPEN,S/2,0),COLOR0099EE;

STICKLINE(X_2,CLOSE,OPEN,S/3,0),COLOR00AAFF;

STICKLINE(X_2,CLOSE,OPEN,S/6,0),COLORYELLOW;

DRAWSL(CROSS(RR,2),LLV(L,5),0,5,0),COLORGREEN;





使用说明:






.点击下方通达信指标公式公众号名片,关注星标后,每天免费获取更多精彩指标公式!

    

温馨提示



如果你喜欢本文,请分享到朋友圈,想要获得更多信息,请关注我。

通达信指标公式
专业分享通达信各类指标公式,给喜欢倒腾指标公式的股友一个纯净交流平台,以股会友,广交五湖四海股友!!!
 最新文章