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....
Name PROPERTY (string)
Gets the name of this trading strategy SYNTAX public string Name { get; } EXAMPLE using System; using System.Collections; using System.Colle...
Script PROPERTY (NETStrategy)
Gets the script used in this trading strategy SYNTAX public NETStrategy Script { get; } EXAMPLE using System; using System.Collections; usin...
Started PROPERTY (bool)
Returns true if the trading strategy was started, otherwise returns false. SYNTAX public bool Started { get; } EXAMPLE using System; using S...
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 ...
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...
GetTradingStrategies () METHOD (Return: TradingStrategy[])
Returns a collection of all trading strategies added in TSL SYNTAX public static TradingStrategy[] GetTradingStrategies () RETURN TradingStr...
Start () METHOD (Return: bool)
Starts the trading strategy SYNTAX public bool Start () RETURN bool true if strategy was started successfully, otherwise returns false E...
Stop () METHOD (Return: bool)
Stops the trading strategy SYNTAX public bool Stop () RETURN bool true if strategy was started successfully, otherwise returns false EXA...