|It is sometimes necessary to display your information as a table or as a set of tabulated lines. There is no problem to simply display several lines in the main window, you should just use Comment(line_1,”\n”,line_2,”\n”…). See example
The indicator displays contract specification for a specific symbol. Function
void PrepareInfo(string & array)
fills the two-dimensional string array using function
void Show(string valueArray)
This function is universal, so it can be used to display any two-dimensional arrays. Function
is necessary to update information when switching between symbols, timeframes or accounts.
All specification details are calculated and displayed only once, i.e., no updates are performed at every tick.
Below is a use example: