Author Topic: Accessing remembered selections time based data...  (Read 1612 times)

Tags:
  • All members
  • Posts: 347
Hi there... not sure if this is just a limitation I have come across but some clarity would help....

If I remember a selection, mysels, then access it later it works fine... eg:

mysels_back_price gives me the back prices...

However... if I wanted to know... for example... the tdif_0.1 at the time the remembered selection was saved, with:

mysels_tdif_0.1 it does not work as expected...(I get data but it seems to count down to zero as time goes by)

  • Administrator
  • Posts: 8821
  • Gender: Female
*
Re: Accessing remembered selections time based data...
« Reply #1 on: 16 Oct 2018, 13:15 »
Hello!

voldif, pdif, tdif etc. are all numbers derived from the current selection data and the data that the program keeps in memory for that selection within the set market history depth.

These numbers are not part of the data slip taken by the "remember" trigger action (if they were, the amount of memory occupied by that slip would be huge). You will have to find another solution. Why don't you post here and I'll see if it is possible to find a workaround?
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

Присоединяйтесь к официальному Telegram-каналу!

  • All members
  • Posts: 347
Re: Accessing remembered selections time based data...
« Reply #2 on: 16 Oct 2018, 13:17 »
ok oxa thats fine... at least i know... will come up with a solution myself ta

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: Accessing remembered selections time based data...
« Reply #3 on: 16 Oct 2018, 14:30 »
hi
the best way is to have 2 triggers
trigger 1   name  mysels 1
remember
mysels1
add a new action
set user variable   t    now_time   individually for each event

trigger 2     name  mysels 2
remember
mysels2

conditions
and trigger mysels 1 number of runs is greater then 0
and selections trigger expression now_time is equal or greater than t+(mf_second*10)

then you use the formula   g_ticks(m1_back_price,m2_back_price)   to get the tick difference for 10 seconds.
alter the 10 in (mf_second*10) to whatever seconds you want to check the tick difference.

mcbee
Please read the following  disclaimer with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.

 

Please note, BetFair is seems to be currently OFFLINE