收集:中国股票市场经济分析网
一阳穿五线,变量n 1 60 10
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;
M:=IF(H12=11,1,0);
DRAWTEXT(H12=11,LOW,'一阳穿五线');
ma5:MA(CLOSE,5);
ma10:MA(CLOSE,10);
ma30:MA(CLOSE,30);
ma60:MA(CLOSE,60);
ma120:MA(CLOSE,120);
s:H12=11;
sn:count(h12=11,N);
DRAWTEXT(H13=9,LOW*0.97,'一阳穿四线');
DRAWTEXT(H14=7,LOW*0.94,'一阳穿三线');