For example:
Strategy 1 is a SMA cross. Strategy 2 is an EMA cross.
If one strategy is short and the other long, the market position should be flat.
If both strategies point in the same direction, the market position should be long or short.
I tried to code it, but because of "enter long" or "enter short" orders, the position flips from long to short and is not going flat for some time. A "buy" or "sell" command would fix this problem.
Comment