Close Trade If In Loss Over 10 Secs Guardian Automation Bot

Post Reply
User avatar
Mastermind
Posts: 110
Joined: Mon Jul 27, 2020 8:39 pm

Thanks Shaun .. I understand .. but to understand the "Take BSP" in general ... we speak about automation .. means .. the Bot scalps .. and stopped out or not .. close to the Event Start Time follows the green out and then its done ... as I understand the BSP ... then its not really (of course it can´t) known in advance to which exact price the orders are filled .. I mean .. how is greening out done then? For me it sounds like the position will of course be closed with "Take BSP" .. but am I correct that there is then something like a little bit a kind of freebet over in one or the other direction? I mean .. if I have to green out manually each trade after I took BSP ... .. or have the freebet more or less every trade to handle with .. then I can stay the whole night up, work on the laptop and exit the trade manually or semimanualy. automation will of course mean full-automation. The best way would be to find a way to finish the trade with "Take BSP" .. and its completelly greened out then. What are your thoughts and possibly advice to this? Many thanks in advance. I really appreciate it, best regards, Martin
User avatar
Mastermind
Posts: 110
Joined: Mon Jul 27, 2020 8:39 pm

Mastermind wrote:
Tue Sep 26, 2023 2:58 pm
Thanks Shaun .. I understand .. but to understand the "Take BSP" in general ... we speak about automation .. means .. the Bot scalps .. and stopped out or not .. close to the Event Start Time follows the green out and then its done ... as I understand the BSP ... then its not really (of course it can´t) known in advance to which exact price the orders are filled .. I mean .. how is greening out done then? For me it sounds like the position will of course be closed with "Take BSP" .. but am I correct that there is then something like a little bit a kind of freebet over in one or the other direction? I mean .. if I have to green out manually each trade after I took BSP ... .. or have the freebet more or less every trade to handle with .. then I can stay the whole night up, work on the laptop and exit the trade manually or semimanualy. automation will of course mean full-automation. The best way would be to find a way to finish the trade with "Take BSP" .. and its completelly greened out then. What are your thoughts and possibly advice to this? Many thanks in advance. I really appreciate it, best regards, Martin
Ok .. I´ve found the "Green up at BSP" Automation Bot to merge rules out of it also into my one ... it´s explained there in the description ..
User avatar
grimm
Posts: 68
Joined: Thu Oct 25, 2018 12:51 pm

hi mate
how can i add rule where it close off-set bet if it not matched after 5 sec. for example i back bet 6.2 with off-set 1tick. back bet matched but lay-bet not match so i want to close lay-bet after 5sec. thanks
User avatar
Dallas
Posts: 23509
Joined: Sun Aug 09, 2015 10:57 pm

grimm wrote:
Sat Sep 30, 2023 12:35 pm
hi mate
how can i add rule where it close off-set bet if it not matched after 5 sec. for example i back bet 6.2 with off-set 1tick. back bet matched but lay-bet not match so i want to close lay-bet after 5sec. thanks
Sort of depend on how/what type of bets you are placing

If you are always backing then you could create a Safety servant with a 'unmatched bets amount' condition to test the amount of lay bets is greater than £0.00
and on the signal tab of that selection Set a signal on the selection (with any name)

Then add a close trade with green up rule
with a 'signal changed' condition, to test the signal on selection named (whatever you called it) changed between 5 and 6 secs ago

On the signal tab of this rule you'll need to 'clear the signal'

that way it's ready to trigger again a soon as it sees an unmatched lay bet
User avatar
grimm
Posts: 68
Joined: Thu Oct 25, 2018 12:51 pm

Dallas wrote:
Sat Sep 30, 2023 3:40 pm
grimm wrote:
Sat Sep 30, 2023 12:35 pm
hi mate
how can i add rule where it close off-set bet if it not matched after 5 sec. for example i back bet 6.2 with off-set 1tick. back bet matched but lay-bet not match so i want to close lay-bet after 5sec. thanks
Sort of depend on how/what type of bets you are placing

If you are always backing then you could create a Safety servant with a 'unmatched bets amount' condition to test the amount of lay bets is greater than £0.00
and on the signal tab of that selection Set a signal on the selection (with any name)

Then add a close trade with green up rule
with a 'signal changed' condition, to test the signal on selection named (whatever you called it) changed between 5 and 6 secs ago

On the signal tab of this rule you'll need to 'clear the signal'

that way it's ready to trigger again a soon as it sees an unmatched lay bet
thanks for reply.
i was using automation. i try what you suggest in back bot but it dont place bet. i have attach the bot. can you have look please. i change time to see if its place bet but it didnt place bet. thanks
place back bet with greenup. if back bet match and lay bet didnt match in 5sec i like to close bet whateverout come. i had other condition like bot was checking how many tick market fall etc i have removed those.
since i add close trade rule it didnt place any bet.
You do not have the required permissions to view the files attached to this post.
david8036
Posts: 14
Joined: Tue Dec 13, 2016 3:55 pm

Hi Dallas, I have set up this servant and it seems to be working fine apart from the times. The servant set with your preset (10 seconds) took 18 seconds to close the trade. I have played about and have noticed on the log file that each count takes between 2 and three seconds rather than 1 second. Any advice why it is doing this. Thankyou.
david8036
Posts: 14
Joined: Tue Dec 13, 2016 3:55 pm

Hi Dallas, I have set up this servant and it seems to be working fine apart from the times. The servant set with your preset (10 seconds) took 18 seconds to close the trade. I have played about and have noticed on the log file that each count takes between 2 and three seconds rather than 1 second. Any advice why it is doing this. Thankyou.
User avatar
Dallas
Posts: 23509
Joined: Sun Aug 09, 2015 10:57 pm

david8036 wrote:
Fri May 24, 2024 12:33 pm
Hi Dallas, I have set up this servant and it seems to be working fine apart from the times. The servant set with your preset (10 seconds) took 18 seconds to close the trade. I have played about and have noticed on the log file that each count takes between 2 and three seconds rather than 1 second. Any advice why it is doing this. Thankyou.
That will be because you don't have your Guardian refresh rate set fast enough for the number of markets you have in Guardian.

This post explains about how guardian cycles and refreshes markets in more detail and shows the option you have to ensure your rules are checked as fast as possible
viewtopic.php?t=11491
bbran19
Posts: 89
Joined: Wed Jul 15, 2020 11:13 pm

Helloe,

This is an absolute cracker of a file. Well done Dallas.

I am trying to add this the other wonderful B2L.baf file as a better way of greening up.

So when I Close Trade if in loss over 10 secs to my B2L file does thee Applies to Any Selection throughout the rule become Apply to the Nominated Selection.

My baf.file is generating odd results and I am making a complete mess of it.

Any help will be most gratefully appreciated.

B2L 10V10% 2b TRIAL current selection.baf
You do not have the required permissions to view the files attached to this post.
User avatar
Dallas
Posts: 23509
Joined: Sun Aug 09, 2015 10:57 pm

bbran19 wrote:
Wed Mar 05, 2025 1:26 am
Helloe,

This is an absolute cracker of a file. Well done Dallas.

I am trying to add this the other wonderful B2L.baf file as a better way of greening up.

So when I Close Trade if in loss over 10 secs to my B2L file does thee Applies to Any Selection throughout the rule become Apply to the Nominated Selection.

My baf.file is generating odd results and I am making a complete mess of it.

Any help will be most gratefully appreciated.


B2L 10V10% 2b TRIAL current selection.baf
Yes, changing the rules to apply to the nominated selection as you have done is correct
On the last 'Green up' rule there is a number of matched bets conditions, that's what will be stopping it from triggering now you are placing more than one bet on a selection.

You could just remove this its only there as an added safety layer, the signal condition on the rule will control when it triggers still
Its up to you if you want to add another safety layer, if so you just need to think of something that will have happened when your back bets have all triggered/been matched (ie, number of possible bets, amount of bets or minimum amount etc etc)
bbran19
Posts: 89
Joined: Wed Jul 15, 2020 11:13 pm

Thank you so much for your time in help Dallas. This rule mitigates loss but can it be duplicated to improve profit with the same signalling structure.

Say the offset is set to 50%, and a signal for profit could be set as well. Because it seems profit will only be made if the price matches the offset.
WillWill
Posts: 9
Joined: Mon Feb 03, 2025 1:43 pm

Hello All,

1) I am having the some difficulty with this strategy.

Bet Angel - Advanced Automation
https://www.youtube.com/watch?v=qx2Ppgn ... 20&pp=iAQB

I don't understand why my trade are simply not all green up as the strategy is supposed to ?

3 scenarios keep occuring :
a) some trade it works
b) some trade it close the trade, but not greenup the profit on all selections
c) the trade keep open till this end, which mostly ended up in loss.

2) I am also having issue with other strategies not been automatically triggered. How possible ?
User avatar
Dallas
Posts: 23509
Joined: Sun Aug 09, 2015 10:57 pm

WillWill wrote:
Sat Apr 05, 2025 12:13 pm
Hello All,

1) I am having the some difficulty with this strategy.

Bet Angel - Advanced Automation
https://www.youtube.com/watch?v=qx2Ppgn ... 20&pp=iAQB

I don't understand why my trade are simply not all green up as the strategy is supposed to ?

3 scenarios keep occuring :
a) some trade it works
b) some trade it close the trade, but not greenup the profit on all selections
c) the trade keep open till this end, which mostly ended up in loss.

2) I am also having issue with other strategies not been automatically triggered. How possible ?
Using to slow of a refresh rate for the number of markets in Guardian and/or the times you rules are armed for will explain 3a, 3c and 2
viewtopic.php?t=11491

There are separate rules (and options in global settings if offsetting) for closing a trade and greening up, but also you may only be getting part matched, therefore if using a green up or close trade rule arm it to trigger a few times
Post Reply

Return to “Bet Angel Automation - General”