dbo.fn_StrategyId

Syntax:
dbo.fn_StrategyId(strategy_name)

Output:
(integer) Returns the id of the strategy with name equals to the input parameter strategy_name (match case is off). When you want to refer across strategies, is better to use names and not IDs because IDs are automatically assigned during creation/import of the strategies and can be different in different installations, instead the name of the strategy can remain always the same.

Input parameters:
strategy_name (string)Name of the strategy.

Example:

dbo.fn_StrategyId('AT BACK FAVOURITE')
can return 1