Pages:
Actions
  • #1 by onebrick on 02 Oct 2014
  • Is it possible to compare the current set of parameters for a selection against the same parameters 5 seconds ago, and have that comparison constantly updating? I am assuming that it's a remember trigger if it is possible but I am not quite sure how to configure it
  • #2 by Oxa (WellDoneSoft) on 03 Oct 2014
  • Yes, that's perfectly possible, and using the "remember" trigger as you have correctly assumed.

    If you're after the prices though, i.e. you want to compare the price that a selection had 5 secs ago with the current one, then simply use the conditions:

    Selection's Back Price Dif over ... mins
    Selection's Lay Price Dif over ... mins
    Selection's Back Ticks Dif over ... mins
    Selection's Lay Ticks Dif over ... mins


    If it is about something else, then set a trigger to "remember" a set of selections under your chosen name, and set it to be executed "no more often than 5 sec". Make sure your market is also refreshed at 5 sec, to synchronise the refresh and the trigger.
  • #3 by onebrick on 03 Oct 2014
  • Thanks Oxa

    It wasn't prices I was comparing, it was a selections back_volume or lay_volume. A 5 sec market refresh rate is too slow for what I am looking for so is it possible to refresh the market at someting like 0.5-1.0 secs but still compare the back/lay volumes to what they were 5 secs prior to that moment?
  • #4 by Oxa (WellDoneSoft) on 03 Oct 2014
  • Oh yes, you may set the market's refresh to a higher rate. I.e. if trigger is set to "no more often than 5 sec" it is important that the refresh rate of the market is at least 5 sec.
Pages:
Actions