Hi all,
I have a strategy that I am backtesting to work on futures markets, but have come across a stumbling block:
I would like the strategy to re-invest the profits in itself... so, when it comes to the next trade, the strategy goes long/short the Account balance divided by the margin per contract (rounded down to the nearest whole number).
For example, I start off with $10,000 and trade one lot... when the balance gets to $20,000 I want to trade 2 lots etc...
An added complication is that I am totally useless at programming - I'm pretty much restricted to what I can to in the formula wizard.
Any tips?
Many thanks
NBD
I have a strategy that I am backtesting to work on futures markets, but have come across a stumbling block:
I would like the strategy to re-invest the profits in itself... so, when it comes to the next trade, the strategy goes long/short the Account balance divided by the margin per contract (rounded down to the nearest whole number).
For example, I start off with $10,000 and trade one lot... when the balance gets to $20,000 I want to trade 2 lots etc...
An added complication is that I am totally useless at programming - I'm pretty much restricted to what I can to in the formula wizard.
Any tips?
Many thanks
NBD
Comment