N:=10;M1:=5;M2:=10;M3:=20;M4:=60;M5:=120;M6:=250;
H1:=IF( HIGH>MA(CLOSE,5), 1, 0) ;
H2:=IF( HIGH>MA(CLOSE,10), 1, 0) ;
H3:=IF( HIGH>MA(CLOSE,30), 1, 0) ;
H4:=IF( HIGH>MA(CLOSE,60), 1, 0) ;
H5:=IF( HIGH>MA(CLOSE,120), 1, 0) ;
H6:=IF( LOW<MA(CLOSE,5), 1, 0) ;
H7:=IF( LOW<MA(CLOSE,10), 1, 0) ;
H8:=IF( LOW<MA(CLOSE,30), 1, 0) ;
H9:=IF( LOW<MA(CLOSE,60), 1, 0) ;
H10:=IF(LOW<MA(CLOSE,120), 1, 0);
H11:=IF(CLOSE>OPEN,1,0);
{- }
H12:=H1+H2+H3+H4+H5+H6+H7+H8+H9+H10+H11;
H13:=H1+H2+H3+H4+H6+H7+H8+H9+H11;
H14:=H1+H2+H3+H6+H7+H8+H11;
DRAWTEXT(H13=9,LOW*0.97,’4′);
DRAWTEXT(H14=7,LOW*0.94,’3′);
MA1:MA(CLOSE,M1);
MA2:MA(CLOSE,M2);
MA3:MA(CLOSE,M3);
MA4:MA(CLOSE,M4);
MA5:MA(CLOSE,M5);
MA6:MA(CLOSE,M6);
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)