Discussion of article "The power of ZigZag (part I). Developing the base class of the indicator" - page 6

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
I tried to separate them by adding 1 and 2 to their names. The previous error disappeared, but another error popped up......
When trying to compile TestZZ_03
'stop_time_in' - cannot convert enum TestZZ_03.mq5 77 78
This is how the functions look like now:
void GetZigZagData1(const double &zz_h[],const double &zz_l[],const datetime &time[]);
void GetZigZagData2(const int handle,int buffer_num_highs,int buffer_num_lows,
const string symbol,const ENUM_TIMEFRAMES period,
const datetime start_time,const datetime stop_time);
I tried to separate them by adding 1 and 2 to their names. The previous error disappeared, but another error popped up.....
When trying to compile TestZZ_03
Loaded a slightly more recent version, and there were some additions.
It is necessary to specify indices of indicator buffers in the second and third parameter:
Do you want to re-download the code from the old link, or is there a new one ?
I'm going to check everything again now and I may need to upload a new archive with the files. You'll have to wait.
OK, when you know what you can upload? Will you let me know?
Yeah, I'll upload the archive here first.
Updated archive with corrected files.
Downloaded a new archive, tried to compile TestZZ_03.mq5.
The result is the same. Error and reference to the same function, twice initiated by different parameters.