PureBytes Links
Trading Reference Links
|
Hello omega-list
Trying to get alternating buy/sell signals in 2000i,
This code works fine in TS4
but using 2000i it doesn't appear to do anything
if marketposition(1)<>1 then begin
buy next bar at market;
end;
I have tried several combinations
if marketposition(1)=-1 or marketposition(0)=0 then
if marketposition(1)<>1 and marketposition(1)=-1 or marketposition(0)=0 then
none of them work
Can anyone suggest a way to stop multiple buy signals.
thanks
best regards
nevi
|