Author Topic: Help me with tis expresion  (Read 3212 times)

Tags:
  • All members
  • Posts: 169
Help me with tis expresion
« on: 08 Jun 2014, 12:06 »
I think the variable lay tride price its not the correct one i must know if someone know wich variable its more correct for changed.

In my trigger I want that if my lay selection es between odd x and odd y do that if not dont do anything.

I put the folowing but i dont now if thats correct or that means the amount money that i have layed. so i need to put the correct one.
Thanks
 
pd1  Selection LAY TRADE PRICE is between range 1 and range 2

Lay trade price works if the money that y lays its betwenn this range, but i dont want  that. I want for the odds. With lay price also dont work

Checking condition and Selection's Lay Matched is greater than 0.
14:13:50   Condition is: TRUE. valid for 1 selections: Red Connect.
14:13:50   Checking condition and Selection's Lay Price is between range0 and range1.
14:13:50   Condition is: FALSE.

Even if the odds are betwen this ranges

  • Nerd
  • Élite
  • Posts: 462
  • Gender: Male
  • I think I could be on to something here!
*
Re: Help me with tis expresion
« Reply #1 on: 08 Jun 2014, 14:10 »
you have range1 & range2 ... but range0 & range1 in the conditions .. is that a typo??
Fortune favors the brave!

  • All members
  • Posts: 169
Re: Help me with tis expresion
« Reply #2 on: 08 Jun 2014, 14:39 »
Sorry i did a mistake, but its the same. I need the expresion to know if the odds are betwen tho ranges.




  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: Help me with tis expresion
« Reply #3 on: 08 Jun 2014, 14:53 »
hi
and selections lay price is between range1 and range2


mcbee
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: 169
Re: Help me with tis expresion
« Reply #4 on: 08 Jun 2014, 15:58 »
I thought that but dont work ???

  • Moderator
  • Posts: 3597
*
Re: Help me with tis expresion
« Reply #5 on: 08 Jun 2014, 16:02 »
Hi
Are you meaning the last matched lay bet price?
and selections trigger expression bm_layp is between range1 and range2

range1 must be less than range2

edit: looking at your trigger, I don't think you can use decimal in a constant name. From the manual:
"The allowed symbols for the name of a variable are:
- Latin letters A-Z, a-z. Example: Myvar
- Figures 0-9. Example: point1
- Space, underscore. Example: one_plus_2
"
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.

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: Help me with tis expresion
« Reply #6 on: 08 Jun 2014, 17:27 »
hi
mark is correct.
you need to change all your constant names with .0  to  whatever solid number.
so range1.0  you could use range11
range2.0 use range22
range3.0 use range33
and change any condition that includes these names.

mcbee
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: 169
Re: Help me with tis expresion
« Reply #7 on: 08 Jun 2014, 17:53 »
Thanks , Thanks and thanks. i have change the things.

I think the trigger now its working fine.

 i think  i can go to real mode very soon.


Thanks again for all the help

 

Please note, BetFair is seems to be currently OFFLINE