Which field do I add this code into, to restrict lay price loss recovery amount from going over £10 please?
IF((mytotal_pl + last_pl)*(lay_price - 1) > 10, 10/(lay_price - 1), mytotal_pl + last_pl)
Current Set-up image attached.
Hi
Again, not familiar with X-Feeder, but the formula looks like it's calculating a staking amount for a lay bet. It also looks like your initial bet is a lay bet. Is there a trigger in the trigger file called "laying" or something similar? Your screenshot does not show it.
Copy and paste the formula into the Amount field of the Laying trigger, save and run it in test mode and see how it goes.
You can also paste the formula into the View Variables Window to see a live updating value and decide if it's correct.
edit:
OR alternative to the above:
the second action in your screenshot, value field, replace mytotal_pl + last_pl with the formula.
I can't test this for you, sorry.