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);
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)