CopyRates() with unknown number of "count"
You know which candle index you are about to update. Use iBarShift to get the other symbol's shift. That (plus any look back) is what you need.
You know which candle index you are about to update. Use iBarShift to get the other symbol's shift. That (plus any look back) is what you need.
You agree to website policy and terms of use
Masters,
Inside one Symbol indicator, in OnCalculate(), I need to bring volume information of another Symbol.
As I researched, I´ll need to use CopyRates(), but I don´t know the number of values I will need to bring from the another Symbol array.
How can I use CopyRates() without knowing this?
By the way, I will need to replicate the prev_calculated to this new series. Any clue how to do this?
Thanks