Author Topic: Help with a trigger error...  (Read 3165 times)

Tags:
  • All members
  • Posts: 19
  • Gender: Male
Help with a trigger error...
« on: 30 Jun 2017, 13:29 »
Hi all - I'm finding myself pretty frustrated by this one - I can't seem to understand why this formula in the Amount field of my trigger is producing an error...al the right parts seem to be there for it to resolve. Any help gratefully received!
13:13:19Condition is: TRUE. valid for 2 selections: Abidjan, Pass The Time.
13:13:19Selection: Abidjan, initial expr.: IF(last_pl<0, fibonacci(std_bet, 1, losses/2+1), std_bet), intermediate: IF(0.00<0,fibonacci(4,1,0/2+1),4), final: IF(0.00<0,fibonacci(4,1,1),4).
13:13:19Error in the trigger expression of price or amount for selection "Abidjan".
13:13:19All bets will be discarded.
13:13:19Going to LAY on 2 selections:

  • Moderator
  • Posts: 3642
*
Re: Help with a trigger error...
« Reply #1 on: 30 Jun 2017, 15:31 »
Hi
try this: IF(last_pl<0, fibonacci(std_bet, 1, (losses/2+1)), std_bet)

I tested it for the first market and it resolves correctly, not tested where there are losses
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.

  • Administrator
  • Posts: 8819
  • Gender: Female
*
Re: Help with a trigger error...
« Reply #2 on: 01 Jul 2017, 19:03 »
Hello!

As far as I understand, this expression is in the Amount field of the trigger. But the error could as well be in the Price field. What is in there?
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