
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
exactly , the utilities get fewer eyeballs ,excluding libraries .
And the burden of explaining why the product is not published as an indicator is on the OP as well .
Yeah , the "optionally" is due to the imposition of an extra step that might be considered a limitation ?
Also maybe since the WebRequest is provided the OP could (hypothesis) route the utility straight via the server . I mean meta trader provides a list of allowed urls and a method to pull data.
exactly , the utilities get fewer eyeballs ,excluding libraries .
And the burden of explaining why the product is not published as an indicator is on the OP as well .
Yeah , the "optionally" is due to the imposition of an extra step that might be considered a limitation ?
Also maybe since the WebRequest is provided the OP could (hypothesis) route the utility straight via the server . I mean meta trader provides a list of allowed urls and a method to pull data.
Yes , i mean he/she would do that as a utility . but then they'd run into other issues , knowing what's downloaded and instances as you mentioned.
I think the best solution is creating the EA and having the indicator inside of it somehow, gonna have to figure that out.
Now what bugs me a bit, why there isn't a webrequest function for the indicator? Why only EA?
This indicator is not meant to have more than one instance on the same chart.
This indicator is not meant to have more than one instance on the same chart.
@Dominik
Ok cool got it.
Can you confirm that only on MT5 is possible to code an indicator inside an EA? It won't be possible to offer a MT4 version of that, then.
Both have resources. Just embed the other indicator(s) inside your indicator/EA. Add the CI(s) to your code as a resource.
#resource "\\Indicators… iCustom("::Indicators…
Use the publicly released code - MQL5 programming forum (2017)
Resources - MQL4 Reference
Be aware that using resources is 40x times slower than using CIs directly.
A custom indicator as a resource - MQL4 programming forum (2019)
Also make use there are no spaces in the path.
Getting error 4802 when loading custom indicator that loads another custom indicator with iCustom - Technical Indicators - MQL5 programming forum. (2020)
Also Use of Resources in MQL5 - MQL5 Articles (2011)
@William Roeder
Hello there William. So my coder got back to me and he said that he referenced the indicator inside the EA but it refuses to work if the indicator is required to plot on a sub-window. He then tested with an indicator to plot on the main chart, then it worked.
Is that a limitation or there is a way to make it plot on a sub-window when referencing an indi inside the EA?
He said there are no error messages on the Journal/Expert tabs when the indicator refuses to work.