dbo.fn_Fibonacci

Syntax:
dbo.fn_Fibonacci(n)

Output:
(integer) Returns the size in units of the position n in a Fibonacci progression.
In the Fibonacci progression the position 1 has size 1, the position 2 has size 2, from the third position the size is the sum of the sizes of the two previous positions: 3, 5, 8, 13, 21, etc.

Input parameters:
n (integer)Position in the Fibonacci progression.

Example:

size="dbo.fn_fibonacci(1+dbo.fn_StrategyProperty(@id_strategy,'winning_trades_in_row'))"
In case of a row of winnings the bet size grows up following the Fibonacci progression.