When following the article
I have managed to get a pass on upper but fail on lower.
when running the mt4 backtester for the second time, I think im not making the correct changes in the code, for the helper script, provided in the article to extract the lower envelope data correctly.
Other than changing the highlighted word below to lower what else needs to be changed?
Thanking you in advance
changing the file name is not enough. You also need to export correct data (for Envelopes.Lower output) into that file. So you “disable” this line by adding double slash “//” in the beginning
value = iEnvelopes(NULL, 0 , 14 , 0 , 0 , 0 , 0.1 , 1 , 1); // upper value
and “activate” this line by removing the double slash “//”
value = iEnvelopes(NULL, 0 , 14 , 0 , 0 , 0 , 0.1 , 2 , 1); // lower value
Check the screenshot attached
Attachments:You must be logged in to view attached files.
You must be logged in to reply to this topic.