Hi, I need a little help, I wannt to pass struct data to a subrutine, but I get the error message: Parameter conversion not allowed.
Inserted Code
struct Strct1
{
bool sTimeLimit;
bool sTimeKillTrend;
int sBegin1;
int sEnd1;
int sBegin2;
int sEnd2;
};
Strct1 Settings[];
//+------------------------------------------------------------------+
void OnTick()
{
Do(Settings[0]);
}
//+------------------------------------------------------------------+
void Do(Strct1& settings[]){
};