Green up sound Alert: what Condition(s)?

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
User avatar
Brovashift
Posts: 542
Joined: Tue May 18, 2021 12:35 am

Hi all,

I am trying to add custom sound alerts my automation file when a profitable green up is realised... and also when the trade closing bet isnot matched and results in a loss.

I have just made my version of the "No Lose Trade on Fav", where a back bet is placed a few seconds before event start, and using global settings 'offset bet with greening', and then Keep all rule is used to keep in play.

If the offset bet is matched and greened up I want to play a sound. Currently I am using the Green all profit condition, The green all profit value across all selection; is greater than >0.10 (for testing). but this fires when the price trades into the green where greater than 10p, even if the offset bet doesnt get touched.

Id also like to play a sound alert when the offset bet does not get matched and the trade finishes in a loss, but I am struggling to find the right conditions to use to achieve this. Please can someone shed some light. Thanks.

TIA
You do not have the required permissions to view the files attached to this post.
User avatar
Dallas
Posts: 23597
Joined: Sun Aug 09, 2015 10:57 pm

You'll just need one alert rule, then remove the profit condition and just use;

Number of unmatched bets condition is equal to 0
Fill/kill Bet Time Condition is greater than 1 second (that condition just stops it triggering in the fraction of a second between your bet being matched and your offset being placed)
User avatar
Brovashift
Posts: 542
Joined: Tue May 18, 2021 12:35 am

Dallas wrote:
Mon Apr 04, 2022 5:35 pm
You'll just need one alert rule, then remove the profit condition and just use;

Number of unmatched bets condition is equal to 0
Fill/kill Bet Time Condition is greater than 1 second (that condition just stops it triggering in the fraction of a second between your bet being matched and your offset being placed)
Thanks Dallas, I'll have a go now ;)
User avatar
Brovashift
Posts: 542
Joined: Tue May 18, 2021 12:35 am

Dallas wrote:
Mon Apr 04, 2022 5:35 pm
You'll just need one alert rule, then remove the profit condition and just use;

Number of unmatched bets condition is equal to 0
Fill/kill Bet Time Condition is greater than 1 second (that condition just stops it triggering in the fraction of a second between your bet being matched and your offset being placed)
Ye that worked Dallas, thanks.

But is there anyway I can have two sound alerts; for profit or loss?

Could I create another alert rule, using the unmatched bets condition; greater than 0? Although I think I would need to do this when the market is suspended at the end of the race, somehow!
User avatar
Dallas
Posts: 23597
Joined: Sun Aug 09, 2015 10:57 pm

Brovashift wrote:
Mon Apr 04, 2022 6:58 pm
Dallas wrote:
Mon Apr 04, 2022 5:35 pm
You'll just need one alert rule, then remove the profit condition and just use;

Number of unmatched bets condition is equal to 0
Fill/kill Bet Time Condition is greater than 1 second (that condition just stops it triggering in the fraction of a second between your bet being matched and your offset being placed)
Ye that worked Dallas, thanks.

But is there anyway I can have two sound alerts; for profit or loss?

Could I create another alert rule, using the unmatched bets condition; greater than 0? Although I think I would need to do this when the market is suspended at the end of the race, somehow!
Yes if you duplicate that alert rule so you have two of them, then just add in your profit condition again
setting one to >0.10 the other to <-0.10
User avatar
Brovashift
Posts: 542
Joined: Tue May 18, 2021 12:35 am

Dallas wrote:
Mon Apr 04, 2022 7:07 pm
Brovashift wrote:
Mon Apr 04, 2022 6:58 pm
Dallas wrote:
Mon Apr 04, 2022 5:35 pm
You'll just need one alert rule, then remove the profit condition and just use;

Number of unmatched bets condition is equal to 0
Fill/kill Bet Time Condition is greater than 1 second (that condition just stops it triggering in the fraction of a second between your bet being matched and your offset being placed)
Ye that worked Dallas, thanks.

But is there anyway I can have two sound alerts; for profit or loss?

Could I create another alert rule, using the unmatched bets condition; greater than 0? Although I think I would need to do this when the market is suspended at the end of the race, somehow!
Yes if you duplicate that alert rule so you have two of them, then just add in your profit condition again
setting one to >0.10 the other to <-0.10
Hi Dallas,

I was trying what you suggested last night but still couldnt get it to play a sound alert when taking a loss. This sound is probably more important than the profit alert becasue I'd like it to notify me when I need to pay attention in case it has broken.

I accidentaly deleted the whole thing last night lol, so had to remake it an use my images here to remember what condition(s) I used. :oops:

I duplicated the profit alert like you said, but when you say "add in my profit condition again", do you mean the Green All Profit Condition? In this scenario I am not hedging/greening up (unless I am supposed to?), if the closing lay bet is not matched in play its just a losing back bet, which Im guessing only becomes 'true' once the even changes from in-play to suspended.
Or should I be hedging the position at very high odds when it is highly likely that it is a loser and heading to @1000?

I'll attach some screen captures but I think I am using the wrong condition for the loss alert.
You do not have the required permissions to view the files attached to this post.
User avatar
Dallas
Posts: 23597
Joined: Sun Aug 09, 2015 10:57 pm

Have you changed the sound file for the alert on the parameters tab for the loss rule?
Or are both using the same sound?

The rest of it looks fine from what I can see
The Green all profit condition doesn't green you up, it just checks your P/L position at the time the rule triggers, if its greater than 1p your profit alert rule would trigger, if its less than 1p your loss alert rule would trigger
User avatar
Brovashift
Posts: 542
Joined: Tue May 18, 2021 12:35 am

Dallas wrote:
Tue Apr 05, 2022 12:33 pm
Have you changed the sound file for the alert on the parameters tab for the loss rule?
Or are both using the same sound?

The rest of it looks fine from what I can see
The Green all profit condition doesn't green you up, it just checks your P/L position at the time the rule triggers, if its greater than 1p your profit alert rule would trigger, if its less than 1p your loss alert rule would trigger
Humm... I wonder if it's the sound file then. I have got 2 different sounds, I'll try the loss sound on the profit and see if it fires.
I've got ebays cash register ching ching for profit, and Family Guys Bruce "Oh no" for a loss. :lol:

Just realised... profit is WAV, loss is MP3!
User avatar
Brovashift
Posts: 542
Joined: Tue May 18, 2021 12:35 am

That did it... thanks Big D 👍 lol
User avatar
Brovashift
Posts: 542
Joined: Tue May 18, 2021 12:35 am

Dallas wrote:
Tue Apr 05, 2022 12:33 pm
Have you changed the sound file for the alert on the parameters tab for the loss rule?
Or are both using the same sound?

The rest of it looks fine from what I can see
The Green all profit condition doesn't green you up, it just checks your P/L position at the time the rule triggers, if its greater than 1p your profit alert rule would trigger, if its less than 1p your loss alert rule would trigger
Spoke too soon didn't I lol...

It seems that both these alerts only fire when the green up process is invoked, and the P&L on the specific selection at the top of the ladder is changed.

e.g. after the auto back and lay bets have been place, if I delete the closing lay bet and let it run, when the price trades down to or beyond where my closing trade would have been (in my case 5 ticks below) the profit alert sound is triggered, even though no bet has been matched and the trade remains open.

When letting the open back trade run into a loss, no loss alert is triggered. But if I manually invoke the green up for a loss inplay, using the left P&L column, the loss alert is instantly fired. So Im guessing I should have some kind of exit stop with greening somewhere inorder to call my loss alert. :idea: :?:
User avatar
Dallas
Posts: 23597
Joined: Sun Aug 09, 2015 10:57 pm

Brovashift wrote:
Tue Apr 05, 2022 2:25 pm
Dallas wrote:
Tue Apr 05, 2022 12:33 pm
Have you changed the sound file for the alert on the parameters tab for the loss rule?
Or are both using the same sound?

The rest of it looks fine from what I can see
The Green all profit condition doesn't green you up, it just checks your P/L position at the time the rule triggers, if its greater than 1p your profit alert rule would trigger, if its less than 1p your loss alert rule would trigger
Spoke too soon didn't I lol...

It seems that both these alerts only fire when the green up process is invoked, and the P&L on the specific selection at the top of the ladder is changed.

e.g. after the auto back and lay bets have been place, if I delete the closing lay bet and let it run, when the price trades down to or beyond where my closing trade would have been (in my case 5 ticks below) the profit alert sound is triggered, even though no bet has been matched and the trade remains open.

When letting the open back trade run into a loss, no loss alert is triggered. But if I manually invoke the green up for a loss inplay, using the left P&L column, the loss alert is instantly fired. So Im guessing I should have some kind of exit stop with greening somewhere inorder to call my loss alert. :idea: :?:
They will go off depending on the state of your over all P/L at the time they are armed, you don't need of have greened up they will just look at whether you have a profit or loss at that time

If you are trading multiple runners you can make them specfic to a selections P/L but then you'll probably need multiple .wav file so you know which sound alert relates to which runner
User avatar
Brovashift
Posts: 542
Joined: Tue May 18, 2021 12:35 am

Dallas wrote:
Tue Apr 05, 2022 3:10 pm
Brovashift wrote:
Tue Apr 05, 2022 2:25 pm
Dallas wrote:
Tue Apr 05, 2022 12:33 pm
Have you changed the sound file for the alert on the parameters tab for the loss rule?
Or are both using the same sound?

The rest of it looks fine from what I can see
The Green all profit condition doesn't green you up, it just checks your P/L position at the time the rule triggers, if its greater than 1p your profit alert rule would trigger, if its less than 1p your loss alert rule would trigger
Spoke too soon didn't I lol...

It seems that both these alerts only fire when the green up process is invoked, and the P&L on the specific selection at the top of the ladder is changed.

e.g. after the auto back and lay bets have been place, if I delete the closing lay bet and let it run, when the price trades down to or beyond where my closing trade would have been (in my case 5 ticks below) the profit alert sound is triggered, even though no bet has been matched and the trade remains open.

When letting the open back trade run into a loss, no loss alert is triggered. But if I manually invoke the green up for a loss inplay, using the left P&L column, the loss alert is instantly fired. So Im guessing I should have some kind of exit stop with greening somewhere inorder to call my loss alert. :idea: :?:
They will go off depending on the state of your over all P/L at the time they are armed, you don't need of have greened up they will just look at whether you have a profit or loss at that time

If you are trading multiple runners you can make them specfic to a selections P/L but then you'll probably need multiple .wav file so you know which sound alert relates to which runner
Ah... for both my profit and loss alerts I have it applied to "in position 1 (sorted in order of faouritism), because that is how I have it set to place the initial back bets. Is that correct for the alerts, or should I have it set to any or every selection?
That could be why the loss alert is sounding off too early before any green up takes place, as it seems to be just looking at the one selection, rather than the hedge P&L across all runners.
User avatar
Brovashift
Posts: 542
Joined: Tue May 18, 2021 12:35 am

This is lost on me :lol: :roll:

Because my alert has a condition to check "Green all profits" <£0.00, I think this means it is looking for a green up event to take place before it plays the loss alert. If I initiate the green up process for a loss, the trigger is called 1/1 and sound played.

I have the trigger time set to In-play; arm 5 sec after in play, until 10min after.

However, because the unmatched back bet is just a straight bet, a profit or loss cannot be confirmed (unless greening) until the event has finished, and the market is suspended. But as far as I am aware, it is not possible to arm a trigger before & until after an event has completed. Is it?
So the only other way I could think this would work is if I set it to arm in the final seconds of the race to get the profit or loss, but that would require knowing exactly how long a race would be taken to run, which is impossible when start times are so random.
User avatar
Dallas
Posts: 23597
Joined: Sun Aug 09, 2015 10:57 pm

Ladder.JPG


A straight £10 back bet has been placed at 3.5 on the second runner on this ladder

Your loss rule would trigger on this if it was armed because the current green all profit value across all selections is -£0.41p (which is less than your £0.01 condition)
You do not have the required permissions to view the files attached to this post.
User avatar
Brovashift
Posts: 542
Joined: Tue May 18, 2021 12:35 am

Dallas wrote:
Tue Apr 05, 2022 4:20 pm
Ladder.JPG



A straight £10 back bet has been placed at 3.5 on the second runner on this ladder

Your loss rule would trigger on this if it was armed because the current profit is -£0.41p (which is less than your £0.01 condition)
Ye true, mine was playing the alert 6 or so seconds into a race if trading in the red zone like that. But that bet is still in play and so could trade lower into the green and end up winning. So sounding a loss alert at this stage seems too premature to me. It'd be great if it could notify me after I have taken a loss, to get my attention. Otherwise just leave it ticking along while I manually trade other markets.
Post Reply

Return to “Bet Angel - Automation”