Stop Loss as a Percentage of Total Liability

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
Online Trader
Posts: 211
Joined: Wed Apr 21, 2010 7:13 am

I am trying to add a rule to my bot that will place a stop loss once a certain percentage of my liability is reached, i.e. once my liability reaches 15% of my total liability close the trade for a loss

Any help with this would be much appreciated
User avatar
Dallas
Posts: 23474
Joined: Sun Aug 09, 2015 10:57 pm

There's a similar example here
viewtopic.php?f=53&t=23331

You would just need to change the first rule and apply it to a selection you won't be trading (ie, one that you'd have the liability on)
Then on the stored value tab change the VWAP to store the value of the P/L of a selection
and further down make an adjustment to set the percentage you want
Online Trader
Posts: 211
Joined: Wed Apr 21, 2010 7:13 am

Dallas wrote:
Wed Mar 24, 2021 5:25 pm
There's a similar example here
viewtopic.php?f=53&t=23331

You would just need to change the first rule and apply it to a selection you won't be trading (ie, one that you'd have the liability on)
Then on the stored value tab change the VWAP to store the value of the P/L of a selection
and further down make an adjustment to set the percentage you want
Thanks Dallas

I am OK with this up to the final bit, 'further down make an adjustment to set the percentage you want', where do you find this?

Thanks in advance
Online Trader
Posts: 211
Joined: Wed Apr 21, 2010 7:13 am

Online Trader wrote:
Thu Mar 25, 2021 7:22 am
Dallas wrote:
Wed Mar 24, 2021 5:25 pm
There's a similar example here
viewtopic.php?f=53&t=23331

You would just need to change the first rule and apply it to a selection you won't be trading (ie, one that you'd have the liability on)
Then on the stored value tab change the VWAP to store the value of the P/L of a selection
and further down make an adjustment to set the percentage you want
Thanks Dallas

I am OK with this up to the final bit, 'further down make an adjustment to set the percentage you want', where do you find this?

Thanks in advance
Scrap that I think I have found it :-)
User avatar
brimson25
Posts: 506
Joined: Sat Apr 08, 2017 11:42 am

Dallas, thanks for this, can I check. I'm using this for a lay to back bot. What should I apply this too? You say in this thread to a selection I am not trading on? so not the horse I am laying? I don't understand this. Thank you in advance.
User avatar
Dallas
Posts: 23474
Joined: Sun Aug 09, 2015 10:57 pm

brimson25 wrote:
Wed Apr 16, 2025 11:17 am
Dallas, thanks for this, can I check. I'm using this for a lay to back bot. What should I apply this too? You say in this thread to a selection I am not trading on? so not the horse I am laying? I don't understand this. Thank you in advance.
If backing you would use any other selection that you've not placed a bet on, if laying then you can check the selection you've layed
User avatar
brimson25
Posts: 506
Joined: Sat Apr 08, 2017 11:42 am

thank you. I get the difference now. Cheers.
Post Reply

Return to “Bet Angel - Automation”