Optimizing Custom Indicators
So a while back I used to use an MT4 EA. The one thing that this EA excelled at was how it handled custom indicators.
So here's the Idea -
There will be a bunch of generic variables:
As you can see you can set the start, step and stop for each as you generally would while optimizing.
Then you can use any of the variables to your liking. For example, if you only want to optimize the first parameter of your custom indicator, then replace that with one of the INPUT_xx and pass the rest of the parameters normally.
This also gives you the added benefit of using the same variable on multiple indicators. So for example say you want to use indicator x for entry and indicator y for exit, but want to always have them in the same period when optimizing, then just pass the same variable to both.
Hope I've explained it clearly enough.
Explained perfectly! Let's do it.