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);
or
double Val=iClose("GBPUSD",PERIOD_M15,3);
etc...
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;
ggekko:
For example:
Max_Index=iBars("USDCHF",PERIOD_H1)-1;
Thanks!
Thanks!
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
Hi,
How can I get Bars from different currency pairs?
eg. Bars for data iClose("OtherPairs", Period(),0)
Thanks in advance!