In this way when I add the EA to the Graph window, the embedded indicator is displayed.
-Is it possible to use the indicator without displaying it?
-Second question is related to display correctly the indicator. The indicator uses
#property indicator_separate_window
so it is displayed in a window with adjusted range. When the indicator is displayed with ea ( in the same currency chart) of course it is displayed improperly.
In this case window range is about 1.13, whilst the indicator range is 0 to 1600 more or less depending of volumes. So if i decide to display it, how can I do correctly? Thanks
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hi,
in my EA I use an indicator stored as a resource.
My code to use it is:
In this way when I add the EA to the Graph window, the embedded indicator is displayed.
-Is it possible to use the indicator without displaying it?
-Second question is related to display correctly the indicator. The indicator uses
so it is displayed in a window with adjusted range. When the indicator is displayed with ea ( in the same currency chart) of course it is displayed improperly.

In this case window range is about 1.13, whilst the indicator range is 0 to 1600 more or less depending of volumes. So if i decide to display it, how can I do correctly?
Thanks