Starting premise:
· Classic 20 day Donchian Channel breakout strategy
· Using the stop and reverse rules (i.e. always in)
· Fixed Fractional position sizing with 1% risk on each position
Let’s assume we are running this strategy against a collection of Forex instruments:
· AUDJPY
· NZDJPY
· EURGBP
· GBPUSD
· USDCHF
This is always in strategy (i.e. the classic breakout strategy holds the positions and then reverses them when the opposite side of the channel is hit). Let’s assume we need to shut down NT every weekend for server / PC maintenance. Every weekend when we shut down NT there will be difference between the position size that the strategy has, and the position size that exists unless we are able to re-create the trades exactly or the account size exact (see the 1% fixed fractional requirement).
What would be the recommended approach for coding this simple strategy to operate across those instruments? How would the correct position sizing be generated if the strategy isn’t aware of the actual position size held in the account? (have I missed something that the order quantities would never be of the same value)?
You can replicate this on a short-term frame by doing the following – opening a position on an instrument, then launching a strategy that uses a stop & reverse order upon that instrument. There will not be a correct order placed to reverse the position.
Thanks and regards,
drolles
Comment