If I am looking at the hourly chart and I want to assess conditions on two different currency pairs(eurusd and usdchf for example)...can I code a common indicator (MACD for example) to get values from two different currencies within one EA? Is this possible:
double H2,H1;//high for eurusd
double L2,L1;//high for usdchf
H2 = iHigh(Symbol(),60,2);
H1 = iHigh(Symbol(),60,1);
I am wondering if I have to set a global variable if certain conditions are met and then call that within the EA? Any help or insight would be greatly appreciated!