Auto-Scalping (Repetitive Backing and Greening Up)


This example automates scalping, whereby you back on a selection then green it up or distribute the loss equally, then repeat this cycle. Its implementation is generic, i.e. it covers the general case, but you may add more triggers or conditions to it if it needs customisation.

In the trigger file below the trigger that backs on selections will operate on the following conditions:


After the backing and as soon as the prices allow, another trigger greens up all backed selections. If the market goes in the wrong direction by the specified number of ticks, a Stop-Loss trigger distributes all loss equally. It acts as a trailing Stop-Loss, i.e. it kicks in as soon as the price starts to deteriorate compared to its best position. There is an additional Stop_loss trigger that closes your position at a certain time before the start of the event.

The whole cycle is repeated when all bets are matched and all selections are traded out.


Click here to download the trigger file.

If you have not heard of BetFair yet or do not have an account, register today and get £20 free. Use the link below:
New customers only, bet up to €/£20 on the Exchange and if your first bet loses, we’ll refund you €/£20 in Cash. Bet must be placed in first 7 days of account opening. T&Cs apply.
Gamble responsibly! Always be aware that betting is NOT risk-free. You must be 18+ years old before you try gambling, but even as an adult, withhold from spending money in an ill-judged manner. Our company does not encourage you to prefer gambling over other meaningful activities. If gambling is affecting your life or the lives of people close to you, please contact GamCare
© 2005-2023 WellDone Creative Software. All rights reserved. Terms and conditions.
BetFair® and the BetFair Logo are registered trade marks of Flutter Entertainment plc. Gamble responsibly.