Alert (object[] args)
Return: void |
Shows all given params in message screen; |
Comment (object[] args)
Return: void |
Shows data in the chart window; |
Complete ()
Return: void |
This function will be called before removing. |
ConvertUTCTimeToSelectedTimeZone (DateTime timeUTC)
Return: DateTime |
Convert UTC time to selected time zone; |
CreateTimer (TimerCallback callback)
Return: Timer |
Timer that will be stopped at the end of the script |
CreateTimer (TimerCallback callback, object state, int dueTime, int period)
Return: Timer |
Timer that will be stopped at the end of the script |
CreateTimer (TimerCallback callback, object state, long dueTime, long period)
Return: Timer |
Timer that will be stopped at the end of the script |
CreateTimer (TimerCallback callback, object state, TimeSpan dueTime, TimeSpan period)
Return: Timer |
Timer that will be stopped at the end of the script |
CreateTimer (TimerCallback callback, object state, uint dueTime, uint period)
Return: Timer |
Timer that will be stopped at the end of the script |
GetHistoricalData (HistoricalDataRequest request)
Return: HistoricalData |
Represent access to created historical data request. |
GetLastError ()
Return: int |
Returns the last error code; then this value will be zeroized; |
GetLastErrorDescription ()
Return: string |
Returns the last error code; then this value will be zeroized; |
Init ()
Return: void |
This function will be called after creating. |
IsTesting ()
Return: bool |
Gets true if script was runned by tester; |
NextBar ()
Return: void |
This function will be called after new bar will build. |
OnPaintChart (object sender, PaintChartEventArgs args)
Return: void |
Drawing char |
OnQuote ()
Return: void |
Entry point. This function is called when new quote comes. |
PlaySound (string fileName)
Return: void |
Plays one of the standard sounds; |
Print (object[] args)
Return: void |
Stores the string in logs; |
QueueUserWorkItem (WaitCallback callBack)
Return: Thread |
Сontrolled flow will be interrupted when the script |
QueueUserWorkItem (WaitCallback callBack, object state)
Return: Thread |
Сontrolled flow will be interrupted when the script |
QueueUserWorkItem (WaitCallback callBack, object state, ApartmentState apartmentState)
Return: Thread |
Сontrolled flow will be interrupted when the script |
SendEmail (string address, string subject, string body, string filename)
Return: void |
Sends a message via e-mail; |
SendEmail (string address, string subject, string body)
Return: void |
Sends a message via e-mail; |
SendEmail (string subject, string body)
Return: void |
Sends a message via e-mail; |