I tried to load indicator from EA using this ChartApplyTemplate function.
But I don't know how to load with specified indicator parameters, When I tried with template it was load by default params.
Like iCustom function with parameters, how to pass indicator parameters to load on template when a button is clicked in EA?
if u post ur code, it would be easy to help u.
Open notepad and drag your template file (with extension *.tpl) into it. You can see what settings are stored in the template.
Regarding inputs , i give a sample from my expert. It is saved in the following format in the template file.
I changed the settings directly in the template file. It worked perfectly. Although i did it on expert inputs, it should work fine for indicators too.
Thanks for the reply.
As you said should I edit every time update when I change parameters in EA so that it will apply.
In your example, how can you change the input LotSize_1=0.01 to LotSize_1 = 0.5
That's what I'm looking for. So that I can pass different parameter from EA to indicator.