I need an advice for how to combine two strategies into one strategy.
I plan to merge two strategies into one. The idea is to be able switch between strategy signals based on recent performance of the one.
For example a combined strategy starts with the signal from the first strategy. When position is closed by 1st strategy signal then the combined strategy will compare 1st and 2nd strategy performance. The 2nd strategy at that time will be in simulated mode - its performance has to be tracked by the code. The challenge here is how to track 2nd strategy performance running of which is simulated?
I'm looking for a solution with minimal coding as I realize that can be done with a lot of coding by manually tracking simulated entries and exits.
Thank you.

Comment