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
Stop Loss as a Percentage of Total Liability
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
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
-
- Posts: 211
- Joined: Wed Apr 21, 2010 7:13 am
Thanks DallasDallas wrote: ↑Wed Mar 24, 2021 5:25 pmThere'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
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
-
- Posts: 211
- Joined: Wed Apr 21, 2010 7:13 am
Scrap that I think I have found itOnline Trader wrote: ↑Thu Mar 25, 2021 7:22 amThanks DallasDallas wrote: ↑Wed Mar 24, 2021 5:25 pmThere'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
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

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