thank you you solved my problem but it is nit finished yet
{
double Low[];
int count=8; // number of elements to copy
ArraySetAsSeries(Low,true);
CopyLow(_Symbol,PERIOD_H1,0,count,Low); //la periode est de 1h
//--- return value of prev_calculated for next call
double High [];
ArraySetAsSeries(High,true);
CopyHigh(_Symbol,PERIOD_H1,0,count,High);error}
')' - not all control paths return a value
Please use the SRC button when posting code. I have done it for you this time.
There is no return in your code
//--- return value of prev_calculated for next call
//Is normally followed by
return(rates_total);
}
//Is normally followed by
return(rates_total);
}
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
hello, when i compil this code i have an error that i don t understand : 'Low' - arrays are passed by reference only
void minimum(double Low [], int count)
{
double min = Low[0];
for (int i = 1; i < count; i++)
{
if (min > Low[i])
min = Low[i];
}
thanks for your help