dbo.fn_CustomProgression

Syntax:
dbo.fn_CustomProgression(id_strategy, stake_values, chase_mode)

Output:
(decimal) Returns the size of the next bet in a custom progression. If returns zero the strategy has run out of money.

Input parameters:
id_strategy (integer)Id of the strategy.
stake_values (string) comma separated list of the bet amounts in the progression. The amounts can have two decimals, and the decimal separator is always a dot (.) whatever are the local settings of your PC. No spaces.
chase_mode (string)Use 'w' for a progression of winning results or 'l' for a progression in loss.


Example:

dbo.fn_CustomProgression(@id_strategy, '1.00,1.50,2.50,3.00', 'w')