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 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
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