I am looking for a way to check within a strategy if we are at the last Bar of the session.
This should avoid the execution of an entry signal during the first bar of next days session (e.g. 7:00) which was created on the last bar of a session (19:00) - but not executed because of onBarClose.
The session parameters(chart) are set to session from 7:00 to 19:00.
I searched the forum for answers without success.
Any Ideas ?
TY
Comment