TradingStrategy CLASS

Hotkey PROPERTY (string)
Gets or sets the hotkey for quick launch the trading strategy. SYNTAX public string Hotkey { get; set; } EXAMPLE using System; using System....
Sun, May 6, 2018 at 1:28 PM
Name PROPERTY (string)
Gets the name of this trading strategy SYNTAX public string Name { get; } EXAMPLE using System; using System.Collections; using System.Colle...
Sun, May 6, 2018 at 1:29 PM
Script PROPERTY (NETStrategy)
Gets the script used in this trading strategy SYNTAX public NETStrategy Script { get; } EXAMPLE using System; using System.Collections; usin...
Sun, May 6, 2018 at 1:32 PM
Started PROPERTY (bool)
Returns true if the trading strategy was started, otherwise returns false. SYNTAX public bool Started { get; } EXAMPLE using System; using S...
Sun, May 6, 2018 at 1:33 PM
GetFileName () METHOD (Return: string)
Gets the name of the file from which this trading strategy was loaded SYNTAX public string GetFileName () RETURN string Returns the name of ...
Sun, May 6, 2018 at 1:35 PM
GetIndicators () METHOD (Return: Indicator[])
Gets the name of the indicator caused by strategy SYNTAX public Indicator[] GetIndicators () RETURN Indicator[] Returns the name of the indi...
Sun, May 6, 2018 at 1:36 PM
GetTradingStrategies () METHOD (Return: TradingStrategy[])
Returns a collection of all trading strategies added in TSL SYNTAX public static TradingStrategy[] GetTradingStrategies () RETURN TradingStr...
Sun, May 6, 2018 at 1:37 PM
Start () METHOD (Return: bool)
Starts the trading strategy SYNTAX public bool Start () RETURN bool true if strategy was started successfully, otherwise returns false E...
Sun, May 6, 2018 at 1:38 PM
Stop () METHOD (Return: bool)
Stops the trading strategy SYNTAX public bool Stop () RETURN bool true if strategy was started successfully, otherwise returns false EXA...
Sun, May 6, 2018 at 1:39 PM