Hello,

in the system I'm coding I have several scale in signals and it's working the 
way I expect, except at some bars which have both a scale in signal and the 
sell signal (profit target).
I ran the backtest in the detailed log mode and from my understanding AB first 
closes the position (based on the sell signal) and then opens a new one (based 
on that scale in signal), which is not what I want.
I want to scale in first and after that close the position.

I should note that I'm not trading at the close nor at the open. I scale in at 
several prices inside each bar, and the scale in price in below the sell price 
(in the case of a long position).


Is it possible to change the default behaviour of AB, so that it scales in
first and only then, exit the position? (in these cases where we have both
signals on the same bar)


thanks,
Pedro


Reply via email to