Buy only if last trade was a win trade

Hello everyone,

I already had a profitable trading system (Only Long) but in sake of improving its performance, i realized that most of time system drawdown seriously due to consecutively loses. Anyone can suggest a solution for this situation? How we can make the code recognized last trade was profit or not.

I appreciate any recommendation.

Anyone can give me a hint to solve this?

You can check this post that had a similar question.
https://forum.amibroker.com/t/custom-backtest-buy-based-on-previous-trade-outcomes/13050/3?u=pmxgs

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.