Loss recoupment in several steps, laying
Lay on a chosen selection and recoup the loss according to the following scheme.
If the bet lost, divide the loss by a specific number (for example, 4) and add that value to the next bet. For example, if you laid £10 at 3.0 and lost £20, then you lay 10 + 20/4 = £15 in the next 4 games. If the loss has been recovered, revert to the initial bet size.
If however another bet was lost before the previous loss was recovered, add the new loss to the existing one and divide it by 4 again, repeating the above steps. Thus another cycle of loss recovery will be started.
Continue this until the whole loss is recouped, or until the maximum stake size is reached, after which reverse to the original bet size.
You can edit the number of steps in the cycle, the size of the initial bet and the maximum bet size in the constants inside the file.