How to call TomorrowIsLastTradingDayOfWeek(int bar) on intraday data?
This function works for me on Daily and doc says it may or should work on intraday.. I don't think it does... any special tricks to call this on intraday data ?
Size:
Color:
Why do you think it doesn't?
Size:
Color:
because it says is for EOD "The function is useful primarily for EOD strategies (Daily scale) but should also work for Minute, Second, or Tick scales too."
any equivalent (some other function) for intraday data ?
Size:
Color:
Sorry if my question was unclear. I was asking whether you had tried it already so there were something to discuss.
Size:
Color:
yeah I tried it and it works on daily but doesn't work on 30mins.
Size:
Color:
Just checked in WL7 and TomorrowIsLastTradingDayOfWeek works there on intraday data without an issue. Probably it isn't optimal in WL6 but the legacy platform isn't being developed anymore.
CODE:
Please log in to see this code.
Size:
Color: