The title explains it all:
It is possible to scan many pairs from a central chart with functions like iMA() etc:
string symbol, // symbol: GOOD, this is needed because I am working with other Pair than that of the current chart
but what about money management? Ask and Bid are only for the current symbol...
Is there a workaround?
Note: I am interested to know the answer for MQL4 and MQL5 as I am starting to migrate some of my work to MQL5...
string symbol, // symbol: ............ GOOD, this is needed because I am working with other Pair than that of the current chart
int timeframe, // timeframe
Here you go 2 methods
Thanks Lakshan Perera
That was kind of you
Also it is important to note if you are planing to get data of different symbols, you should make sure that the symbol you are requesting data from exist in the market watch, if it doesn't exist use following code to add it to the market watch
Note to Mr. Ziad,
It would be very simple to let the readers read your codes by using Code button as screenshot below.