Non-duplicate set of parameters for indicator in Rules?
Author: pms1
Creation Date: 11/1/2009 9:25 PM
profile picture

pms1

#1
I used rules to create a simple SMA Long/Short program. I can optimize the code, but in using this method, I end up with 4 sets of fast and slow SMAs for optimization.How do I name the fast and slow parameters so I only have one fast and one slow SMA parameter.
profile picture

Eugene

#2
Renaming won't help. Leaving you with 2 sets of MA parameter combinations is a "limitation" of the wizard, but if we give it a thought, then we understand that the computer program shouldn't figure out that the variables are duplicated. Maybe it was intended, or maybe at a later point you'll decide to optimize them 4.

Open the code in a new window, manually delete the extra set of parameters, correct the data series and values in the code to your taste, and save the strategy. It won't be possible to modify it in the rule wizard any more.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).