De Mark's Clopwin requires the current days Closing and opening price to be
contained in the opening and closing price one trading days ago. For an upside
move the other qualifier is that the Close should be greater than the open. I
coded it thus:-
A:=Max(Ref(C,-1),Ref(O,-1));
B:=Min(Ref(C,-1),Ref(O,-1));
Z:=(A>C>B) AND (A>O>B);
Q:=C>O;
N:=Z AND Q;
{Plot}
N;
All I'm getting is a straight line. Can someone tell me where I am going wrong?
