Author Topic: Help... remembered selections name contains..  (Read 2848 times)

Tags:
  • All members
  • Posts: 345
Help... remembered selections name contains..
« on: 19 Jul 2016, 08:34 »
Hi all... quick help with this please!

I have a trigger remembering ONE selection.
I want my next trigger, a lay trigger, to lay IF the remembered selections name CONTAINS either a 3 or a 6 (greyhounds)
How do this?

  • Moderator
  • Posts: 3654
*
Re: Help... remembered selections name contains..
« Reply #1 on: 19 Jul 2016, 11:12 »
Hi
You remembered the single selection using the remember action, let's say under the name mysels.

In your lay trigger:
global user variables mysels are set
and selections name is equal to "mysels_1_sel_name"
AND
    selections trigger expression FIND("3.","mysels_1_sel_name") is greater than 0
    or selections trigger expression FIND("6.","mysels_1_sel_name") is greater than 0

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: 345
Re: Help... remembered selections name contains..
« Reply #2 on: 19 Jul 2016, 11:18 »
Would this not work...?



  • Moderator
  • Posts: 3654
*
Re: Help... remembered selections name contains..
« Reply #3 on: 19 Jul 2016, 11:38 »
Hi
Yes, as long as the remember trigger remembers just 1 selection, and you need to use the quotation marks for the strings:

selections name is equal to "mysels_sel_name"
and selections name contains "3"


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