Page 1 of 1

Stupid question on money manager block:

Posted: Wed Aug 15, 2012 9:44 am
by adamant
Has anyone ever made a money manager block that allocates 100% of capital to every trade without stops (well, the system I am testing uses an SMA for entry and the LMA as the built in stop)?

Trying to backtest a moving average crossover system on S&P Futures but I am struggling with the money manager bit.

Any hints on how I could tweak existing blocks to achieve this would be even more helpful as I would like to learn something (better Blox skills obviously sorely needed).

Posted: Wed Aug 15, 2012 10:12 am
by LeviF

Code: Select all

order.setQuantity(system.tradingEquity / instrument.close)

Posted: Thu Aug 16, 2012 3:48 am
by Chris67
I have an SP500 system that does that i.e. allocates entire risk to one trade if your just after that market ?
Let me know if I can help

Posted: Thu Aug 16, 2012 5:06 am
by adamant
Still can't get this to work. So annoyed....