When we have tick data, each transaction is referred to as a tick, right?
I have attached a screenshot from my renko strategy, and it has slippage set to 1. On the 3rd bar, you can see it went short at a price of 1392.50, and the bar opened at 1392.75. I added a second data series to the strategy of single ticks.
Add(PeriodType.Tick, 1);
When I print out the onBarUpdate data for the tick series and the better renko series I see that for that bar there are 2022 ticks. The first 56 ticks are all at the price 1392.75. It isn't until tick 57 that it gets the price 1392.50. So why does a 1 tick slippage get in at the price of 1392.50? Am I using the wrong definition of tick?
Also, to see the prices and how many ticks I did the following:
// BetterRenko 9
if ( BarsInProgress == 0 )
{
Print("::::"+Close[0]);
And
// Tick 1
else if ( BarsInProgress == 1 )
{
// NOTE: make sure we exit current position before entering new...
Print(":"+Close[0]);
So the output for the trade I am using as my example for the question is:
::::1392.75
:1392.75
Entering simShort @1392.75
:1392.75
:1392.75
... repeated 54 more times
:1392.5
:1392.5
:1392.5
:1392.75
:1392.75
:1392.75
:1392.75
:1392.5
:1392.5
:1392.5
... and so on
According to the BMT Wiki, Tick is the minimum amount an instrument can move. For example s&p 500 mini futures has a tick of 0.25, this mean the price can change of an incremental of 0.25 or 1/4 of point, and the tick value is $12.50. So does a 1 tick slippage mean we just have each trade go against us by $12.50? This doesn't make sense because some trades the slippage goes in our favor. Does it look for the first price change of a tick and use that? So in the above... we fired the order at price 1392.75, and the first price that had changed by a tick (0.25 ES) was the one at tick 57, where it went to 1392.50... so is that why it used that price with a slippage of 1?

Comment