Author Topic: Current time vs event_time  (Read 3282 times)

Tags:
  • Desenvolvedores de trigger
  • Posts: 919
  • Gender: Male
*
Current time vs event_time
« on: 05 Sep 2013, 16:24 »
Hello my friends

Im strugling whith this simple problem ??? ??? ???

How can i compare event_start to current time format?

Exemple

And global Current Time is greather than 15:00
and selection trigger expression event_start is greather than 15:00??????????

or

say to the trigger that market is the first market in idle state after this Current Time

Is anyway i do this?

Many thanks folks

pcal72
Desenvolvedor de triggers oficial Market Feeder pro

Também faço:
Cursos sobre Market Feeder pro (gratuitos)
Triggers (gratuitos para sempre)

Para saber informações contacte-me!

NOTA: TESTE SEMPRE OS SEUS TRIGGERS ANTES DE OS USAR COM FUNDOS REAIS!

  • Moderator
  • Posts: 3605
*
Re: Current time vs event_time
« Reply #1 on: 05 Sep 2013, 16:58 »
Hi
Have you tried now_time

Scheduled event start time of 15:00 has just passed, and market is idle:
Global current time is greater than 15:00
and selections trigger expression (now_time-event_start)/mf_second is greater than 0
and market's status is idle

Scheduled event start time of 15:00 is 5 minutes ago, and market is idle:
Global current time is equal or greater than 15:00
and selections trigger expression (now_time-event_start)/mf_minute is greater than 5
and market's status is idle
  
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.

  • Desenvolvedores de trigger
  • Posts: 919
  • Gender: Male
*
Re: Current time vs event_time
« Reply #2 on: 05 Sep 2013, 17:34 »
Hi MarkV

Thank you for your time

Yes i have thinking about now_time but my strugling is de time format between Current Time and now_time or event_star etc etc

Of corse this blind my capacity off thinking.
You solution solves the problem.

Many, many thanls pal

pcal72
Desenvolvedor de triggers oficial Market Feeder pro

Também faço:
Cursos sobre Market Feeder pro (gratuitos)
Triggers (gratuitos para sempre)

Para saber informações contacte-me!

NOTA: TESTE SEMPRE OS SEUS TRIGGERS ANTES DE OS USAR COM FUNDOS REAIS!

 

Please note, BetFair is seems to be currently OFFLINE