Author Topic: Lay different values  (Read 2915 times)

Tags:
  • All members
  • Posts: 29
Lay different values
« on: 04 Feb 2018, 20:18 »
Hi Guys,

I want to lay several horses but with different values, for example:

If the lay is less than 2 a fixed value, if is more than 2 to lose 10:

I did this

Variable valor = 10

IF(lay_price<=2, valor, valor/(lay_price-1))

But didnt work.

Can you help me??

Thanks;

  • All members
  • Posts: 3597
Re: Lay different values
« Reply #1 on: 05 Feb 2018, 15:03 »
Hi
It should work, is valor initialised with value 10.00? Did you check the trigger log to see where the problem is? Attached screenshot shows a simple lay trigger with your formula.
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: 8821
  • Gender: Female
*
Re: Lay different values
« Reply #2 on: 06 Feb 2018, 08:19 »
Like MarkV above suggested, the first place to look is the trigger log, and then the program log in case this is a case of insufficient funds or other errors.
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