From TOOLS/OPTIONS/Commissions tab, be able to set stocks fees with % of notional shares value with min and max fees options (right now the fees settings are only suited for futures and forex, not for the reality of stocks trading)
IMO, this is correct behavior. After recompiling, the hard-coded values should replace any hand-entered values in the optimizer. My advice is to make your strategy a base class, and create strategies derived from the base class so you can tweak whatever parameters you want that need to be different from the base class.
For example, in your base class:
Then, in the version of this strategy for ES, you want to set x = 2:
In your specific use case, you could create a derived class that just has the parameters set that reproduces the bug. Then, you can just use that derived strategy to debug the base class code with the custom paramters. Object oriented code FTW.
The following 2 users say Thank You to pengi for this post:
I've been playing with a new beta platform (iqbroker) that has money management scripts which transfer cash between my strategies during back-testing and live trading. I really wish that NT8 had that. The whole idea of having a portfolio of trading strategies should be improved.
Looking forward to NT8, will definitely purchase a copy if stability is improved.
I really like your override thing for having a class with the specific settings for the instrument.
Great for if you run the strategy live and want to make sure settings aren't settable through the GUI.
I also agree its a good way to do optimize runs on different instruments without trying to have it all in one strat. Much tidier.
Last edited by TraderJ; October 17th, 2011 at 07:21 PM.
Add some more retracement slots to fibonacci templates. Right now if you use too many ratios you have to use at the same time fibo retracements 2 times or complete it with fibo extension drawing tool which is not practical.
The following user says Thank You to SARdynamite for this post: