【文华指标代码】1分钟K线上叠加分时图均价线源码分享——明慧期货培训网

1分钟K线上叠加分时图均价线源码分享(副图指标)

图片[1]-【文华指标代码】1分钟K线上叠加分时图均价线源码分享——明慧期货培训网-明慧期货培训网,学习联系:15217215251

M:=EMA(REF(SETTLE,1),1);
A:=M-REF(M,1);
B:=REFX(A,1);
AB:=IFELSE(SETTLE>=M,1,-1);
DRAWSL(REFX(AB,1)=1,M,B,1,0,COLORMAGENTA);
DRAWSL(REFX(AB,1)=-1,M,B,1,0,COLORGREEN);
DRAWLINE(SETTLE<C&&C>O,H,SETTLE<C&&C>O,C,COLORRED);
DRAWLINE(SETTLE<C&&C>O,L,SETTLE<C&&C>O,O,COLORRED);
DRAWLINE(SETTLE<C&&C<O,H,SETTLE<C&&C<O,O,COLORRED);
DRAWLINE(SETTLE<C&&C<O,L,SETTLE<C&&C<O,C,COLORRED);
DRAWLINE(SETTLE<C&&C=O,L,SETTLE<C&&C=O,C,COLORRED);
DRAWLINE(SETTLE<C&&C=O,H,SETTLE<C&&C=O,C,COLORRED);
DRAWLINE(SETTLE>C&&C>O,H,SETTLE>C&&C>O,C,COLORLIGHTGREEN);
DRAWLINE(SETTLE>C&&C>O,L,SETTLE>C&&C>O,O,COLORLIGHTGREEN);
DRAWLINE(SETTLE>C&&C<O,H,SETTLE>C&&C<O,O,COLORLIGHTGREEN);
DRAWLINE(SETTLE>C&&C<O,L,SETTLE>C&&C<O,C,COLORLIGHTGREEN);
DRAWLINE(SETTLE>C&&C=O,L,SETTLE>C&&C=O,C,COLORLIGHTGREEN);
DRAWLINE(SETTLE>C&&C=O,H,SETTLE>C&&C=O,C,COLORLIGHTGREEN);
STICKLINE(SETTLE<=C&&C>=O,C,O,COLORRED,1);
STICKLINE(SETTLE<C&&C<O,C,O,COLORRED,0);
STICKLINE(SETTLE>C&&C>=O,C,O,COLORLIGHTGREEN,1);
STICKLINE(SETTLE>=C&&C<=O,C,O,COLORLIGHTGREEN,0);

图片[2]-【文华指标代码】1分钟K线上叠加分时图均价线源码分享——明慧期货培训网-明慧期货培训网,学习联系:15217215251

修改代码,右边会自动显示结果

友情提醒

期货开户,全网最低交易手续费+1分,保证金可调,开户送豪礼!
© 版权声明
THE END
喜欢就支持一下吧
点赞188赞赏 分享