After the sharing session, I do this small change to the algorithm, where it does the money management part of it.
volume = NormalizeDouble(
(AccountBalance()*prm_gearing_ratio)/
(prm_pair_diversify*MarketInfo(Symbol(),MODE_LOTSIZE)),
prm_lot_resolution);
This will automate the process in determining the position size based on a fixed number of gearing ratio.
I have a 5.33 gearing ratio, this will be the value of prm_gearing_ratio.
prm_pair_diversify will be 2, since the system will be run on two pair: EUR/USD and GBP/USD.
When trading on a mini acct, the MarketInfo(Symbol(),MODE_LOTSIZE) will automatically return a value of 10,000 or 100k when trading a standard account.
With this piece of code, i dont have to calculate some basic arithmetic on waste papers anymore. LOL.
This version is tagged as vy5f. So the version is StealthTrader_vy5f now. I hope F is for Final. he he he..
Good luck to us !!!