How to Enter/Exit Positions on Bar Close?
2 replies
G
1 year ago #289986
How to Enter/Exit Positions on Bar Close? In builder and algowizard. thanks
0
Tomas Matejka
1 year ago #289989
Hello,
this is not possible to do. A simple workaround would be to make a multi-timeframe setup. Lets say you get a signal from H1 and run it on M1 timeframe.
Setup your condition with using BarMinute[1] == 59… that is the closest you can enter because at :00 it will be a new bar (open)
1
G
1 year ago #289996
@tomas262 thanks for that. However, I cant get it to work still. Say, my main chart is the Daily Close and I want to enter as close to the Daily close as possible in my backtests. How can i go about this? I m not able to get the BarMinute, BarHour implementation done properly it seems cos i come up with 0 trades
0
Viewing 2 replies - 1 through 2 (of 2 total)