IamAdamJowett/mt4-indicators

Version 1.4.0 Previous Sessions Gone Missing

Closed this issue · 4 comments

Previous session's high & low not showing, I've noticed in a previous gitnote you mentioned that this could be due to the lookback period. I've removed the lookback period & this didn't have an effect.

(on previous version, "previous session high/low" also ignores opening 5m candle. ie: if high/low is at the open, this isn't picked up by the horiztonal line)
prevhl

Hey Andrew,

Yeah the way lookback was working meant the iteration was going up instead of down, which made looking at previous sessions difficult. The latest commit to the repo has previous sessions removed, so re-download from here or the website.

tip: just meant changing the for loop back to a while loop again.

BTW, it is v1.4.3 you need

Prev High & Low showing now (1.4.3 did the trick). Issue of not including first 5 minutes still exists.

I've changed this in the code:

rangeLow = Low[iLowest(NULL, 0, MODE_LOW, timeRange, i + 2)];

which seems to fix it?