Question: does a new bar count as a new tick?
-
Hello everyone, I was wondering... does a new M1 bar count as a new tick even if there was no change in the price? I guess what I'm asking is if a block in the "on tick" section will be checked at the start of any bar regardless of whether there was an actual change in price in that moment or only if ther is change... (i.e. a new M1 bar starts but the price keeps in the same tick and there's a new tick only after 10 seconds)
-
I dont think, ... because tick is difference in price ... candles are only system of time sorting in price or price changes ... in "on Tick" section it must be tick for this event ...
-
I think Miro1360 is right , a tick is a happening in the market , either it goes up or down , if nothing is happening then there will not be a new tick .
-
@miro1360 , @timmyhanke you are both right, I've made some tests and the "on Tick" check seems to happen not necessarily at the start of the candle but rather whenever a new tick is made.
The reason why I'm looking for a way to do time related checks is because of news trading (being able to leave an oco order let's say 3 seconds before the news is useful as it reduces the chance of it being hit prematurely before the news rather than a whole minute before). I've managed to get to work something involving the delay block to have accuracy in seconds (sort of...)

The problem with the delay block is that the delay doesn't start exactly at the start of the new M1 bar so the delay between the start of the candle and the first tick will transfer and add to the expected delay. That way if you want to set a pending order 10 seconds before the news you could have it placed anything from 10 seconds before to a few seconds after the news, so while it's better than nothing, it's still not accurate enough (my goal was actually to leave an order 3 second before the news as I usually do manually).
I will try to play around with the timer and see if I can do some advance in that field. I'll let you know if I find something. -
cant you use the skip ticks block for that ? or use time filter once per X seconds ?

-
@timmyhanke yes, for what I'm seeing in other topics the timer seems to be the way to go (specially that way, setting the timer to 1 second and skipping X seconds).