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
Hi, the attached indicator works fine for brokers that do not include Sunday evening bars.
If I apply the indicator on a platform that include the Sunday session, then I need to make refer to the previous Friday bars.
I tried with this condition considering (i+2) instead (i+1) when it is Monday, but it doesn't work
if (DayOfWeek()==1)
{
if (High[i+2]>LastHigh) LastHigh=High[i+2];
if (Low[i+2]<LastLow) LastLow=Low[i+2];
......
Could you help me? Thank you!