程序化指标公式
问答中心

通达信上升梯主图指标公式

通达信指标 2019-06-24阅读量:3543

安装后如下图,友情提示(指标只是辅助,不作建议) 所有程序均为免费分享。

不会安装点击  安装指南  步骤操作

STICKLINE(MA(C,13)>REF(MA(C,13),1) AND MA(C,21)>REF(MA(C,21),1) AND C>MA(C,21),
MA(C,13),MA(C,21),0,0),COLORBLUE;
DRAWKLINE(H,O,L,C);LC:=REF(CLOSE,1);
CZX:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100,COLORWHITE,LINETHICK2;
Z1:=STRCAT(HYBLOCK,' ');
Z2:=STRCAT(Z1,DYBLOCK);
Z3:=STRCAT(Z2,' ');
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLOR00C0C0;
ZT:=(REF(C,1)*1.095-C)<0.01 AND C=H;
STICKLINE(ZT,OPEN,CLOSE,3,0),COLORRED;
STICKLINE(ZT,OPEN,CLOSE,2,0),COLORYELLOW;
STICKLINE(ZT,H,L,0,0),COLORYELLOW;
F2:=C-REF(C,1)*0.9<0.01;
STICKLINE(F2,OPEN,CLOSE,3,0),COLORGREEN;
JJX:=AMOUNT/V/100,POINTDOT;
STICKLINE(ZT,JJX,JJX,2,0),COLORGREEN;
STICKLINE(REF(ZT,1),REF(JJX,1),REF(JJX,1),6,0),COLORGREEN;
STICKLINE(ZT,(O+C)/2,(O+C)/2,2,0),COLORMAGENTA;
STICKLINE(REF(ZT,1),REF((O+C)/2,1),REF((O+C)/2,1),6,0),COLORMAGENTA;
STICKLINE(ZT,L,L,2,0),COLORGRAY;
STICKLINE(REF(ZT,1),REF(L,1),REF(L,1),6,0),COLORGRAY;
MA13:MA(C,13),COLORGRAY;
MA21:MA(C,21),COLORWHITE,LINETHICK2;
强势线:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,COLORMAGENTA;
当日短线止损:0.97*REF(C,1),COLORCYAN,NODRAW;
当日短线止赢:1.05*REF(C,1),COLORRED,NODRAW;
当日平衡:REF(C,1),COLORMAGENTA,NODRAW;
操作线:=SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100,COLORGRAY;
ZCX2:=45;CDX:=25;
HH:=COUNT(ZT,13)>=1;
PP2:=CZX<ZCX2  AND REF(CZX,1)>ZCX2  AND C>MA(C,21);
PP3:=CZX<CDX  AND REF(CZX,1)>CDX  AND C>MA(C,21);
STICKLINE(PP2 AND HH,OPEN,CLOSE,0.8,0),COLORBLUE;
STICKLINE(PP3 AND HH,OPEN,CLOSE,0.8,0),COLORBLUE;
P1:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4*1.01,COLORMAGENTA,DOTLINE;
A:=SMA(L,4,3) ;
STICKLINE( REF(PP2,1) AND HH ,A*0.9999,A*0.9979,1,0)COLORGREEN;
IF( REF(PP2,1) AND HH ,L*0.99,DRAWNULL),COLORRED,CIRCLEDOT; 
DRAWICON( REF(PP2,1) AND HH,L*0.98,1);
STICKLINE( REF(PP3,1) AND HH ,A*0.9999,A*0.9979,1,0)COLORGREEN;
IF( REF(PP3,1) AND HH ,L*0.99,DRAWNULL),COLORRED,CIRCLEDOT;
DRAWICON( REF(PP3,1) AND HH,L*0.98,1);
HD:=COUNT(ZT,21)>=1;
A1:=SMA(H,4,3);
STICKLINE(A1 AND HD AND C>MA(C,21),A1,A1*1.001,0.3,0)COLORWHITE;
UU:=REF(H,2)=HHV(H,8)  AND HH;
DRAWTEXT(UU AND C>MA(C,21),H,'3');
DRAWTEXT(REF(UU,2) AND HH AND C>MA(C,21),H,'5');
STICKLINE(IF(CURRBARSCOUNT<2,CONST(REF(C,1)),DRAWNULL),REF(C,1)*1.05,REF(C,1)*1.05,1,0),COLORYELLOW;
STICKLINE(IF(CURRBARSCOUNT<2,CONST(REF(C,1)),DRAWNULL),REF(C,1),REF(C,1),1,0),COLORYELLOW;
STICKLINE(IF(CURRBARSCOUNT<2,CONST(REF(C,1)),DRAWNULL),REF(C,1)*0.97,REF(C,1)*0.97,1,0),COLORYELLOW;
BOLL:=MA(C,20);
UB:=BOLL+2*STD(C,20),COLORWHITE;
LB:=BOLL-2*STD(C,20),COLORWHITE;

版权声明

所有指标均为免费分享。

文章内容来自互联网,本网站无任何收费项目也不推荐股票
广告投放请自行识别风险。

分享:

扫一扫在手机阅读、分享本文

程序化指标公众号

左边广告一

关闭

右边广告二

关闭