TradingStrategy
class
Utilizes custom trading strategy control and extracts information
Properties
Hotkey string | Gets or sets the hotkey for quick launch the trading strategy |
Name string | Gets the name of this trading strategy |
Script NETStrategy | Gets the script used in this trading strategy |
Started bool | Returns true if the trading strategy was started, otherwise returns false |
Methods
GetFileName () Return: string | Gets the name of the file from which this trading strategy was loaded |
GetIndicators () Return: Indicator[] | Gets the name of the indicator caused by strategy |
GetTradingStrategies () Return: TradingStrategy[] | Returns a collection of all trading strategies added in TSL |
Start () Return: bool | Starts the trading strategy |
Stop () Return: bool | Stops the trading strategy |