Hi
Let's say we are running a strategy on hourly bars.
At the end of each bar we know the Low, High, Open and Close of that bar.
With that information we can make calculation and send orders at the end of the bar.
Therefore you have one bar delay betwen the data reception and the orders sending.
but When do we know marketposition value?
What happens when a stop is executed in the market within a bar?
Do I know it at once or at at the end of the bar?
In some forum I've seen
this expression:
"If marketposition = 1 and barssinceentry = 0 then Buy ... "
I can't understand the meaning of than sentence.
How can it be possible to be in marketposition = 1 if barssinceentry is 0,
Shouldn't barsinceentry be at least one?
Let's say we are running a strategy on hourly bars.
At the end of each bar we know the Low, High, Open and Close of that bar.
With that information we can make calculation and send orders at the end of the bar.
Therefore you have one bar delay betwen the data reception and the orders sending.
but When do we know marketposition value?
What happens when a stop is executed in the market within a bar?
Do I know it at once or at at the end of the bar?
In some forum I've seen
this expression:
"If marketposition = 1 and barssinceentry = 0 then Buy ... "
I can't understand the meaning of than sentence.
How can it be possible to be in marketposition = 1 if barssinceentry is 0,
Shouldn't barsinceentry be at least one?