Alert (object[] args)
Return: void |
Shows all given params in message screen; |
ClearMarkers (int line)
Return: void |
Fully clears markers from line |
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; |
GetValue (int line, int offset)
Return: double |
Gets the value of indicator from internal buffer; |
GetValue (int line)
Return: double |
Gets the value calculated by indicator |
IndicatorDigits (int digits)
Return: void |
Sets precision format (the count of digits after decimal point) to visualize indicator values; |
IndicatorShortName (string name)
Return: void |
Sets the short name of a custom indicator to be shown in the DataWindow and in the chart subwindow; |
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 |
RemoveMarker (int line, int offset, Color color)
Return: void |
Removes redrawn parts of indicator's line within the interval set by offset |
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; |
SetCloud (int cloudNumber, int index, int lineNumber, double value, int color, GradientMode gradientMethod)
Return: void |
Sets a value into clouds buffer; |
SetCloud (int cloudNumber, int index, int lineNumber, double value, int color, GradientMode gradientMethod, int offset)
Return: void |
Sets a value into clouds buffer; |
SetCloud (int cloudNumber, int index, double value1, double value2, int color1, int color2, GradientMode gradientMethod)
Return: void |
Sets the two values into clouds buffer; |
SetCloud (int cloudNumber, int index, double value1, double value2, int color1, int color2, GradientMode gradientMethod, int offset)
Return: void |
Sets the two values into clouds buffer; |
SetIndexDrawBegin (int index, int drawBegin)
Return: void |
Sets the bar number (from the data beginning) from which the drawing of the given indicator line must start; |
SetIndexEmptyValue (int index, double value)
Return: void |
Sets drawing line empty value; |
SetIndicatorLine (string name, Color color, int width, LineStyle style)
Return: void |
Sets the properties for a new indicator's line |
SetLevelLine (string name, double level, Color color, int width, LineStyle style)
Return: void |
Sets the horizontal line at the level of the Y-axis. |
SetLevelLine (string name, double level)
Return: void |
Sets the horizontal line at the level of the Y-axis. |
SetLevelLine (int lineNumber, double level)
Return: void |
Sets the horizontal line at the level of the Y-axis |
SetLevelStyle (int draw_style, int line_width, int clr)
Return: void |
The function sets a new style, width and color of horizontal levels of indicator to be output in a separate window; |
SetLevelStyle (int levelIndex, int draw_style, int line_width, int clr)
Return: void |
The function sets a new style, width and color for the specified horizontal level of indicator to be output in a separate window; |
SetLevelValue (int index, double value)
Return: void |
The function sets a value for a given horizontal level of the indicator to be output in a separate window; |
SetMarker (int line, int offset, Color color)
Return: void |
Redraws parts of indicator's line within the interval set by offset |
SetValue (int line, int offset, double value)
Return: void |
Sets the value of indicator into internal buffer; |
SetValue (int line, double value)
Return: void |
Sets the value calculated by indicator |