M1:=30;
M2:=60;
N:=20;
T1:=MA(C,M1);
T2:=MA(C,M2);
DRAWBAND(T1,RGB(200,0,0),T2,RGB(0,200,0));
DRAWKLINE(H,O,L,C);
A:=EVERY(BETWEEN(C/MA(C,M1),1,1.1) AND T1/T2<1.1 AND MA(C,M1)>MA(C,M2) AND (MA(C,M1)-MA(C,M2))>REF((MA(C,M1)-MA(C,M2)),1),N);
B:=BARSLAST(A);
D:IF(B<N,DRAWLINE(A,C,REF(A,1),REF(C,1),1),DRAWNULL),COLORYELLOW,DOTLINE;
DRAWICON(CROSS(C,REF(C,B)) AND B<N,H,1);
DRAWICON(COUNT(C>REF(C,B),B)=1 AND C>REF(C,B) AND B<N,H,1);
14P4Y40C0-5EL.gif
|