Author Topic: Countdown  (Read 3091 times)

Tags:
  • All members
  • Posts: 490
  • Gender: Male
Countdown
« on: 21 Dec 2017, 08:45 »
I desire a trigger that will countdown from 20 to 0 however the intervals will vary based on (event_start - now_time)

So if there is 5 minutes to go until event_off the intervals will be 15s (300s/20) whereas if there was 1 minute to go the intervals would be 3s (60s/20).

I am not mathematically savvy to work this one out.
Improvise Adapt Overcome

  • All members
  • Posts: 3597
Re: Countdown
« Reply #1 on: 21 Dec 2017, 10:44 »
Hi londolozi
This does the intervals, you could, for example, set the market refresh rate to this?
((event_start-now_time)/mf_second)/20
pop it into variable viewer and see what you think

hope the weather there is better than here, today's shortest day, tomorrow's summer 8) 
season's greetings 
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.

  • All members
  • Posts: 490
  • Gender: Male
Re: Countdown
« Reply #2 on: 21 Dec 2017, 10:48 »
What a confidence MarkV, my phone just told me 'its the longest day of the year' ....weather is perfect.
Thanks for your help.
Merry Xmas. 
Improvise Adapt Overcome

  • Administrator
  • Posts: 8821
  • Gender: Female
*
Re: Countdown
« Reply #3 on: 26 Dec 2017, 20:44 »
londolozi, if I recall it right, you are on the other side of the globe, so cheers to the great weather over there and best wishes in the New Year! :)
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

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

 

Please note, BetFair is seems to be currently OFFLINE