Many thanks Dabbla,
That was indeed a duh moment
Close Trade If In Loss Over 10 Secs Guardian Automation Bot
Yes, you can store your loss (liability) against a selection as a Stored Value then adjust it by the percentage you want, then test the trade loss against that.
You'd need a Stored value rule to Store the P/L of the selection
and near the bottom of the Stored Value window use the adjustment by percentage
Then on the existing rules change it from the profit amount to look at the Stored value you've just created
Many thanks. I've attached some screenshots showing which bits of the automation I have amended. Does this look right?
You do not have the required permissions to view the files attached to this post.
Think I have already spotted some errors in my rules file.
On the 'Signal if in Loss' rule I have now updated the Green All profit condition to 'less than' the stored value.
I'm also unsure if the Store P/L stored values rule should be saying -20%, 20% or 120% (I want it to trigger at a 20% of my liability loss) .
On the 'Signal if in Loss' rule I have now updated the Green All profit condition to 'less than' the stored value.
I'm also unsure if the Store P/L stored values rule should be saying -20%, 20% or 120% (I want it to trigger at a 20% of my liability loss) .
The adjustment on the SV should be minus 80%LilBobz wrote: ↑Mon Nov 16, 2020 1:32 pmThink I have already spotted some errors in my rules file.
On the 'Signal if in Loss' rule I have now updated the Green All profit condition to 'less than' the stored value.
I'm also unsure if the Store P/L stored values rule should be saying -20%, 20% or 120% (I want it to trigger at a 20% of my liability loss) .
That will leave a value of 20% which the condition would then look at
Thanks, I will give that a try later on today.Dallas wrote: ↑Mon Nov 16, 2020 2:04 pmThe adjustment on the SV should be minus 80%LilBobz wrote: ↑Mon Nov 16, 2020 1:32 pmThink I have already spotted some errors in my rules file.
On the 'Signal if in Loss' rule I have now updated the Green All profit condition to 'less than' the stored value.
I'm also unsure if the Store P/L stored values rule should be saying -20%, 20% or 120% (I want it to trigger at a 20% of my liability loss) .
That will leave a value of 20% which the condition would then look at
Seem to have it working now, thanks for your help DallasLilBobz wrote: ↑Mon Nov 16, 2020 2:08 pmThanks, I will give that a try later on today.Dallas wrote: ↑Mon Nov 16, 2020 2:04 pmThe adjustment on the SV should be minus 80%LilBobz wrote: ↑Mon Nov 16, 2020 1:32 pmThink I have already spotted some errors in my rules file.
On the 'Signal if in Loss' rule I have now updated the Green All profit condition to 'less than' the stored value.
I'm also unsure if the Store P/L stored values rule should be saying -20%, 20% or 120% (I want it to trigger at a 20% of my liability loss) .
That will leave a value of 20% which the condition would then look at
I've encountered a slight issue, which is no doubt of my own making.
Lets say I have laid a selection during a race, but then I manually green up before any automation has kicked in.
I then lay a different selection in the same race (or maybe the same selection as before again). Once I've laid the second selection this automation does not seem to trigger even if the loss reaches 20% of liability.
I should add that the log seems to show that the servant continues to run even after laying the second selection, but for whatever reason no exit bet is triggering.
It always seems to work when I have only made one lay in a race.
Any ideas what could be wrong?
Lets say I have laid a selection during a race, but then I manually green up before any automation has kicked in.
I then lay a different selection in the same race (or maybe the same selection as before again). Once I've laid the second selection this automation does not seem to trigger even if the loss reaches 20% of liability.
I should add that the log seems to show that the servant continues to run even after laying the second selection, but for whatever reason no exit bet is triggering.
It always seems to work when I have only made one lay in a race.
Any ideas what could be wrong?
Check when the 'Store Value' rule thats storing the liability is triggering, if that only doing so once or a period of time then once you place a second round of bets that value after the adjustment may not be reachable.LilBobz wrote: ↑Wed Nov 18, 2020 1:07 pmI've encountered a slight issue, which is no doubt of my own making.
Lets say I have laid a selection during a race, but then I manually green up before any automation has kicked in.
I then lay a different selection in the same race (or maybe the same selection as before again). Once I've laid the second selection this automation does not seem to trigger even if the loss reaches 20% of liability.
I should add that the log seems to show that the servant continues to run even after laying the second selection, but for whatever reason no exit bet is triggering.
It always seems to work when I have only made one lay in a race.
Any ideas what could be wrong?
I'd guess what you want is it to store the updated P/L after any new positions have been opened
Will try that. Once again thanks for all your help. It's very much appreciated.Dallas wrote: ↑Wed Nov 18, 2020 5:19 pmCheck when the 'Store Value' rule thats storing the liability is triggering, if that only doing so once or a period of time then once you place a second round of bets that value after the adjustment may not be reachable.LilBobz wrote: ↑Wed Nov 18, 2020 1:07 pmI've encountered a slight issue, which is no doubt of my own making.
Lets say I have laid a selection during a race, but then I manually green up before any automation has kicked in.
I then lay a different selection in the same race (or maybe the same selection as before again). Once I've laid the second selection this automation does not seem to trigger even if the loss reaches 20% of liability.
I should add that the log seems to show that the servant continues to run even after laying the second selection, but for whatever reason no exit bet is triggering.
It always seems to work when I have only made one lay in a race.
Any ideas what could be wrong?
I'd guess what you want is it to store the updated P/L after any new positions have been opened