
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
Dear experts,
In my EA, I have to use a custom indicator to decide when to trade. This indicator draws 4 lines on the chart. I don't have the source code for the indicator; all I know is that if at the start of a new bar the color of the indicator lines is green, then I have to buy, if it's red, I have to sell.
So my question is: is there any way in an EA to get access to the lines drawn by an attached custom indicator? Can I somehow read the color, width, or style of these lines?
By using WindowFind("Indicator name") I can find the window that holds the indicator, but I don't know how to access its lines, and their properties.
Any help is greatly appreciated!
Best regards,
Levente