M:=20; N:=5; VAR1:=EMA((HIGH+REF(CLOSE,1)+LOW+REF(CLOSE,1))/4,13); VAR2:=(HIGH+REF(HIGH,1))/2; VAR3:=(REF(LOW,1)+LOW)/2; VAR4:SMA(IF(VAR2>VAR1,VAR2,VAR3),M,1); VAR5:SMA(IF(VAR3>VAR1,VAR3,VAR2),M,1); VAR6:=VAR4; VAR7:=VAR5; VAR8:=SMA((VAR7+VAR6)/2,M,1); VAR9:(VAR8+REF(VAR8,N))/2; DRAWICON(CROSS(VAR4,VAR5),LLV(C,10),1); DRAWICON(CROSS(VAR4,VAR9),LLV(C,10),7); DRAWICON(CROSS(VAR5,VAR4),HHV(C,10),2); DRAWICON(CROSS(VAR9,VAR4),HHV(C,10),8); 持股區(qū)間:STICKLINE(VAR5<VAR4 && MA(C,3)>MA(C,13),MA(C,10),MA(C,14),2,0),COLORBLUE; |
|