Trend look back
Hello everyone,
I just started this code today, but I'm having some problems understanding the error message. "could be one of 3 function(s)" isn't particularly helpful.
Some ideas please.
http://www.learncpp.com/cpp-tutorial/4-2a-why-global-variables-are-evil/
- www.learncpp.com
Hello everyone,
I just started this code today, but I'm having some problems understanding the error message. "could be one of 3 function(s)" isn't particularly helpful.
Some ideas please.
Syntax. You are using 7 parameters, CopyTime takes only 5.
https://www.mql5.com/en/docs/series/copytime
- www.mql5.com
CopyTime - Timeseries and Indicators Access - MQL4 Reference
| Your code | Version 1 | Version 2 | Version 3 |
|---|---|---|---|
Copy = CopyTime( Symbol(), Period(), 0, 100, StartDate, FinishDate, DateArray ); // could be one // of 3 function(s) | int CopyTime( string symbol_name, ENUM_TIMEFRAMES timeframe, int start_pos, int count, datetime time_array[] ); | int CopyTime( string symbol_name, ENUM_TIMEFRAMES timeframe, datetime start_time, int count, datetime time_array[] ); | int CopyTime( string symbol_name, ENUM_TIMEFRAMES timeframe, datetime start_time, datetime stop_time, datetime time_array[] ); |
Hello everyone,
I just started this code today, but I'm having some problems understanding the error message. "could be one of 3 function(s)" isn't particularly helpful.
Some ideas please.