NETStrategy CLASS

CreateTimer (TimerCallback callback, object state, TimeSpan dueTime, TimeSpan period) METHOD (Return: Timer)
Timer that will be stopped at the end of the script. SYNTAX public Timer CreateTimer (TimerCallback callback,object state,TimeSpan dueTime,TimeSpan ...
Wed, May 2, 2018 at 6:51 PM
CreateTimer (TimerCallback callback, object state, uint dueTime, uint period) METHOD (Return: Timer)
Timer that will be stopped at the end of the script SYNTAX public Timer CreateTimer (TimerCallback callback,object state,uint dueTime,uint period) ...
Wed, May 2, 2018 at 6:52 PM
GetHistoricalData (HistoricalDataRequest request) METHOD (Return: HistoricalData)
Represent access to created historical data request. SYNTAX public HistoricalData GetHistoricalData (HistoricalDataRequest request) PARAMETERS ...
Wed, May 2, 2018 at 6:53 PM
GetLastError () METHOD (Return: int)
Returns the last error code; then this value will be zeroized; SYNTAX public int GetLastError () RETURN int
Wed, May 2, 2018 at 7:15 PM
GetLastErrorDescription () METHOD (Return: string)
Returns the last error code; then this value will be zeroized; SYNTAX public string GetLastErrorDescription () RETURN string
Wed, May 2, 2018 at 7:16 PM
Init () METHOD (Return: void)
This function will be called after creating. SYNTAX public void Init () RETURN void
Wed, May 2, 2018 at 7:16 PM
IsTesting () METHOD (Return: bool)
Gets true if script was runned by tester; SYNTAX public bool IsTesting ()  RETURN bool
Wed, May 2, 2018 at 7:18 PM
NextBar () METHOD (Return: void)
This function will be called after new bar will build. SYNTAX public void NextBar () RETURN void
Wed, May 2, 2018 at 7:19 PM
OnPaintChart (object sender, PaintChartEventArgs args) METHOD (Return: void)
Drawing chart SYNTAX public void OnPaintChart (object sender,PaintChartEventArgs args) PARAMETERS sender — object args — PaintChartEvent...
Wed, May 2, 2018 at 7:20 PM
OnQuote () METHOD (Return: void)
Entry point. This function is called when new quote comes. SYNTAX public void OnQuote () RETURN void
Wed, May 2, 2018 at 7:21 PM