Why this EA does not display my "indicator" on the chart?
Hello,
It's an Expert.
Why this EA does not display my "indicator" on the chart?
Thanks,
Pierre
You are mixing two different constructs: indicators and EA's.
If you want to see visual data on a chart, create an indicator. MetaTrade created indicators to encapsulate calculations, efficiently, and to visually display the results. You can then have an EA pull data from the indicator's buffers using iCustom().
I think perhaps some of my earlier posts on having an EA calculate data internally may be confusing. Most of the time (99% of the time) I use indicators for my calculations. Only very rarely do I do calculations internally inside an EA. That is only when the visual aspects of the indicator are not needed.
I recommend you keep indicators and EA's separate until you have an overriding reason to not do so.
Pierre8r
Hello,
It's an Expert.
Why this EA does not display my "indicator" on the chart?
Thanks,
Pierre