Simple question
-
Hi, @fxdreema.
I have a very simple question to ask you but I have trouble realizing it. How to trigger an action when the price does not move (or there is no tick) for 1 sec (or 2 sec) ? For example buy order if there is no movement after 1 sec. -
An interesting question. I have no iidea how something like that could be done. Obviously it should be done on the 'On tick' tab. Honestly I'm not an expert at catching time variables. I'm interested in other user's ideas...
-
try this
https://fxdreema.com/shared/OCZjKxQF
Change the value in block 27 from 5 to the number of seconds you want
This is the first time I am trying this, so I don't know if it will work or not but I think this is the way.
If this does not work then try adding a condition block right above the block 28 to pass only when the s1 <1 and change the code input in block 26 from 0 to s1+1