飞狐周期K线主图指标公式

[复制链接]
查看145 | 回复0 | 2021-8-21 12:41:02 | 显示全部楼层 |阅读模式

MAc:=(WMA(c,30)+WMA(c,60)+WMA(c,90))/3;
MAh:=(WMA(h,30)+WMA(h,60)+WMA(h,90))/3;
MAl:=(WMA(l,30)+WMA(l,60)+WMA(l,90))/3;
MAo:=(WMA((o+ref(C,1))/2,30)+WMA((o+ref(C,1))/2,60)+WMA((o+ref(C,1))/2,90))/3;
FILLRGN(MAC>=MAO,maH,maL),COLORBROWN;
FILLRGN(MAC<MAO,maH,maL),COLORBLUE;
MA2c:=(WMA(c,10)+WMA(c,20)+WMA(c,30))/3;
MA2h:=(WMA(h,10)+WMA(h,20)+WMA(h,30))/3;
MA2l:=(WMA(l,10)+WMA(l,20)+WMA(l,30))/3;
MA2o:=(WMA((o+ref(C,1))/2,10)+WMA((o+ref(C,1))/2,20)+WMA((o+ref(C,1))/2,30))/3;
FILLRGN(MA2C>=MA2O,ma2H,ma2L),COLORFFC0FF;
FILLRGN(MA2C<MA2O,ma2H,ma2L),COLORGRAY;
MA20:(ma2c+ma2H+ma2L+MA2O)/4,COLORRED,LINETHICK2;
MA60:(mac+mah+mal+MAO)/4,COLORYELLOW,LINETHICK2;
KLINE(o,h,l,C,0);

202108211200.jpg

202108211200.jpg

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则