Value-based ladder cell colour?

Get Bet Angel to scan for your favoured trading set up and alert you to any Betfair trading opportunities you are looking for.
Post Reply
ctrlz
Posts: 5
Joined: Thu Oct 03, 2024 4:35 am

I'm wondering it's possible to set the background colour of a ladder cell based on a stored value. E.g. if the value is greater than x, set background colour to #000, if greater than y, set to #FFF, etc.

I know we can do this in the "Additional Information" area of the ladder, but I want to be able to apply a different background colour to individual ladder cells based on some stored value.

It doesn't look like it can be done out of the box, but maybe with some kind of automation?
User avatar
Dallas
Posts: 23290
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

This example might help steer you in the right direction
viewtopic.php?t=21252
ctrlz
Posts: 5
Joined: Thu Oct 03, 2024 4:35 am

Thanks Dallas, yes I'm actually already using that to highlight VWAP history in my price column.

That automation defines which price should have a particular colour applied to it. This query is basically that but with an extra dimension - I'm trying to define a price, attach a certain value to it and then colour it based on that value.

I think I've found a way of doing it using the API and a lot of stored values!
ctrlz
Posts: 5
Joined: Thu Oct 03, 2024 4:35 am

Dallas wrote:
Sat Jan 18, 2025 2:01 pm
This example might help steer you in the right direction
viewtopic.php?t=21252
Dallas, quick question: Are the "Bets 1" and "Bets 2" columns essentially the same values, duplicated? I'm trying to shade bets 1 in one colour and bets 2 in another colour for a specific price. I can only ever get one of them to be shaded at one time, either because my code is bugged or because it's impossible to do this.

Just checking which it is :)
ctrlz
Posts: 5
Joined: Thu Oct 03, 2024 4:35 am

Actually, I definitely have an issue in my code, although the question still stands ready for when I've fixed it!
ctrlz
Posts: 5
Joined: Thu Oct 03, 2024 4:35 am

OK, ignore my stream of consciousness. I fixed my code and it worked in the bets columns :D
Post Reply

Return to “Bet Angel Automation - Betfair trading alerts”