you could use this for the high of the first pair
double iHigh( | string symbol, int timeframe, int shift) |
and for the low of another pair
double iLow( | string symbol, int timeframe, int shift) |
it is described in the doc...
serpentsnoir:
Returns High value for the bar of indicated symbol with timeframe and shift. If local history is empty (not loaded), function returns 0.
Returns Low value for the bar of indicated symbol with timeframe and shift. If local history is empty (not loaded), function returns 0.
you could use this for the high of the first pair
double iHigh( | string symbol, int timeframe, int shift) |
and for the low of another pair
double iLow( | string symbol, int timeframe, int shift) |
it is described in the doc...
Thanks. I thought so, but up to this point have always created functions with the information or arrays from the same currency or timeframe. I appreciate your help.

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
I am charting the difference of two arrays of two currencies. One is of the high of one currency and the other is for the low of another currency.
for example I have :
ExtMapBuffer1[i]=High[i]-Low[i];
What is the best way to directly state, I want to use an array of the High [i] for the EUR_USD and the Low[i] for the USD_JPY? I have been searching the website and have yet to come across the correct way to chart different arrays of different currencies.
Thanks in advance.
Eric