stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

Applying EA to multiple charts (and updating them)
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=574
Page 1 of 1
Author:  alvin [ Sun May 20, 2012 8:01 am ]
Post subject:  Applying EA to multiple charts (and updating them)

I'm trying out Steve's NB 10.2 EA on demo, and I have to apply the EA to each and every chart that I want, and Steve comes up with new versions pretty regularly. How do I update the EA on every chart quickly? The current way I do it is to drag the new indicator to each and every chart that I have, which seems pretty tedious?

TIA!
Author:  RockyJ [ Sun May 20, 2012 12:55 pm ]
Post subject:  Re: Applying EA to multiple charts (and updating them)

Apply the new EA to one chart as you like then save the new setup as a "template"
Then just apply the template to whichever chart you want and the new settings will be there.

You can also use the script in the following link that can be used to apply a template to all open charts . Instructions are provided.

http://www.stevehopwoodforex.com/phpBB3 ... f=21&t=174

look at the 2nd and 4th and 5th post in this link.
Author:  alvin [ Sun May 27, 2012 10:27 am ]
Post subject:  Re: Applying EA to multiple charts (and updating them)

Awesome! This works perfectly, thanks! :)
Author:  JulesvH [ Sun May 27, 2012 6:42 pm ]
Post subject:  Re: Applying EA to multiple charts (and updating them)

You can also copy the new EA-file, with the same name, into your Empty4/experts folder.
Then, while Empty4 is open, press F4 to open MetaEditor.
Open the EA-file in MetaEditor and press compile.
If you want you can change some numbers in the first part of the EA. The extern double/string/int variables are the one to look for. These are the variables that normally can be changed in the pop-up window when you attach the EA to a chart. For example in the new EA version 0.1 lotsize is default, but you want 0.01 lotsizes. So you change that and than press compile.
Now, ALL the charts with the EA (with the same name) are updated with the changed settings.

If I wasn't clear in this explanation or if you've questions left, feel free to ask!
Author:  JulesvH [ Sun May 27, 2012 6:44 pm ]
Post subject:  Re: Applying EA to multiple charts (and updating them)

One more tip.
If you have set up a chart and it is exact the way you like it. You can save it as a template.
The trick is to save that template with the name "default"
When you open a new chart, it will automatically open with the default template. So no need to click and load the right template on each new chart!
All times are UTC Page 1 of 1