If the LTP is 4.0, I only want a BACK bet to be placed on the condition that:
There is LAY money at: 4.1 AND 4.2 AND 4.3.
Any help please?

Hi,eatyourgreens wrote: ↑Sat Aug 21, 2021 1:12 amHi again Callum,
I had a look at using "history lists" to try and condense the use of stored values, but sorry to say I could not come up with a solution..........
I have done a revised rules file that has less sv's than the original, but, as mentioned earlier, it is using the "pre set" money available at best lay price, 2nd best lay price and 3rd best lay price, so there maybe a 1tick difference between last traded price........example using a back price of 4 and lay price of 4.1
if ltp was 4, the svs will be (money available) best lay price (4.1) 2ndbest (4.2) third best (4.3) all what you wanted.
but, if ltp was 4.1, svs will still be (money available) best lay price (4,1) 2nd best (4.2) third best (4.3), so it will not be ltp+3 ticks, but ltp+2 ticks.
Hard for a thicko like me to explain, but I hope it makes sense again!
The attached Mk2 has only been done for your "back" criteria, just reverse everything if you want a lay version. As you know the first version had 12 svs, 6 for back and 6 for lay, this version will have 3 for back and 3 for lay (at the expense of a 50/50 chance of being 1 tick away from what you wanted)
hope it helps,
3above 3below for callum mk2.baf
Goodluck, stay safe
have a nice day!
(practice mode first!)
Will do! I'll also download your latest version at some point today and tomorrow and see what I can come up with. Only ever stuck to Excel up until about a year ago and i'm just now appreciating how much automation can do. Still much to learn!eatyourgreens wrote: ↑Sat Aug 21, 2021 7:46 pmHi callum,
If you try Dabblas idea and get it working, please post back how, because at the moment I dont quite understand it so I would be interested myself for future ref.
I have added a file, its at the bottom of the last page if you want to have a look.eatyourgreens wrote: ↑Sat Aug 21, 2021 7:46 pmIf you try Dabblas idea and get it working, please post back how, because at the moment I dont quite understand it so I would be interested myself for future ref.
I am finally at the stage with my bot where I'd like to revisit this and actually implement it soon. I have managed to condense the rules to two ([ON] and [OFF]) rules which I am happy to share but first, any thoughts on how to make sure there are no gaps?eatyourgreens wrote: ↑Sat Aug 21, 2021 12:17 pm
Hi,
I have been thinking about the mk2, and it is probably not going to be very useful. I have since realised that the 2nd best price and 3rd best price (with money available) could really be anywhere on the ladder, they could easily be many ticks away from the current best lay price, so please only test in practice mode.
sorry if I have misled you with this one!
stay safe!
Here is another 2 threads about this topic:CallumPerry wrote: ↑Tue Oct 05, 2021 9:57 pmI am finally at the stage with my bot where I'd like to revisit this and actually implement it soon. I have managed to condense the rules to two ([ON] and [OFF]) rules which I am happy to share but first, any thoughts on how to make sure there are no gaps?
Like eatyourgreens pointed out, the i.e. 3rd best lay price could be anywhere on the ladder. Any way of checking it is only three ticks away from the best lay price? The bot is on my other laptop so I can share what I have tomorrow but I was hoping somebody had an idea to check for the gap before I add it to the finished thing?