Get Bars from different currency pairs New comment dolemi 2015.05.26 19:34 Hi, How can I get Bars from different currency pairs? eg. Bars for data iClose("OtherPairs", Period(),0) Thanks in advance! How to get all symbols name ? Strategy Tester and Scanning for Alerts Using MarketInto() Gordon Gekko 2015.05.26 20:03 #1 dolemi: Hi, How can I get Bars from different currency pairs? eg. Bars for data iClose("OtherPairs", Period(),0) Thanks in advance!double Val=iClose("USDCHF",PERIOD_H1,0);ordouble Val=iClose("GBPUSD",PERIOD_M15,3);etc... dolemi 2015.05.26 21:39 #2 ggekko: double Val=iClose("USDCHF",PERIOD_H1,0);ordouble Val=iClose("GBPUSD",PERIOD_M15,3);etc...Now, val= iClose("USDCHF",PERIOD_H1, Max_Index); What is the Max_Index I can have? for (int i=0; i<=Max_Index; i++) { Buffer[i] =iClose("USDCHF",PERIOD_H1,i); } Gordon Gekko 2015.05.26 21:52 #3 dolemi: Now, val= iClose("USDCHF",PERIOD_H1, Max_Index); What is the Max_Index I can have? for (int i=0; i<=Max_Index; i++) { Buffer[i] =iClose("USDCHF",PERIOD_H1,i); } For example:Max_Index=iBars("USDCHF",PERIOD_H1)-1; dolemi 2015.05.27 06:15 #4 ggekko: For example:Max_Index=iBars("USDCHF",PERIOD_H1)-1;Thanks! William Roeder 2015.05.27 10:51 #5 Alphabetic Index of MQL4 Functions (600+) - MQL4 forum dolemi 2015.05.28 23:49 #6 WHRoeder: Alphabetic Index of MQL4 Functions (600+) - MQL4 forumThanks! New comment
Hi,
How can I get Bars from different currency pairs?
eg. Bars for data iClose("OtherPairs", Period(),0)
Thanks in advance!