|
Re: Using Custom Indicator in an EA
Cant answer your question directly but here are my thoughts on it.
You can call the indicator with the shift to get older values. EA's work on the current bar, indicators process all bars required. If you need to look at a lot of indicator history on each ea tick, then why not summarise that in an expert and publish it via an object (line, label, etc). Or you could call that in a loop. I havent seen any code that references the indicator arrays directly, and ive looked at quite a few experts.
|