【通达信源码分享】趋势有度源码副图贴图无未来

通达信免费指标 09-16 阅读:427 评论:0

30-1P102212331.png

公式源码:


JC:0,NODRAW;


ST:50,POINTDOT,COLORRED;


SW:-50,POINTDOT,COLORLIGRAY;


VAR10:=MA(CLOSE,10);


BB10:=50*(CLOSE-VAR10)/STD(CLOSE,10);


VAR20:=MA(CLOSE,20);


BB20:=50*(CLOSE-VAR20)/STD(CLOSE,20);


VAR60:=MA(CLOSE,60);


BB60:=60*(CLOSE-VAR60)/STD(CLOSE,60);


VAR120:=MA(CLOSE,120);


BB120:=50*(CLOSE-VAR120)/STD(CLOSE,120);


BBJX:=(BB10+BB20+BB60+BB120)/4,COLORWHITE;


BBK1:EMA(BBJX,5),DOTLINE,COLORWHITE;


BBK2:=EMA(BBK1,5),COLORRED,LINETHICK2;


BBK3:=EMA(BBK2,5),COLORRED,LINETHICK3;


IF(BBK1>REF(BBK1,1),BBK1,DRAWNULL),COLORRED,LINETHICK2;


IF(BBK1<REF(BBK1,1),BBK1,DRAWNULL),COLORFF0000,LINETHICK2;


LC:=REF(C,1);


RSI1:=SMA(MAX(C-LC,0),6,1)/SMA(ABS(C-LC),6,1)*100;


RSI2:=HHV(FORCAST(RSI1,7),14),COLORLIBLUE;


HJ_1:=HHV(FORCAST(RSI1,7),28);


STICKLINE(RSI1>RSI2,RSI2,RSI1,3,0),COLORYELLOW;


BOLL:MA(CCI,24),DOTLINE,COLORYELLOW;


版权声明

本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!

服务热线

18020657357

微信客服

微信客服