10 minute bars

 
Hi MetaTrader4 developers,

There are several trading strategies that use 10 min bars (see the ones from the Trading Instutute as an example)

Granted that you have 1, 5, 15,30 min bars but you do not have 10 minute bars.

I am sure it would be a trivial change for you to support this.

Can you modify MQL4 and MetaTrader 4 charts by adding 10 minute bars, please?


Also there is a bug when you try to return several call by reference parameters from another library.

Try this in one library in a separate file.

In test.mql:


void percentile(string symbol, double& value1, double& value2)
{
if (symbol == "GBPUSD")
{
value1 = 10;
value2= 20;
}
else
{
value1 = 50;
value2 = 60;
}

}




Now in your expert advisor import the header file for the above:

#include "test.mqh"

int start()
{
double value1, value2;

percentile("GBPUSD", value1, value2);
Print("value1=", value1, " value2=", value2);

percentile("EURUSD", value1, value2);
Print("value1=", value1, " value2=", value2);

}


Regards,
Karan
Reason: