- septiembre 14, 2013
- publicado por: Equipo Wiki de Forex
- Categoría: Ind. FX
Nombre: |
|
||
Autor: | metacitas (2008.05.06 11:01) | ||
descargado: | 1288 | ||
Descargar: |
|
||
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,"\norte",line_2,"\norte"...). See example Comment2 Sin embargo, función Comentario () displays information only in the main chart window. But we sometimes may need to show it in an indicator subwindow. En este caso, the following example may be useful. The indicator displays contract specification for a specific symbol. Función void PrepareInfo(string & array[][]) fills the two-dimensional string array using function MarketInfo(). Then this array is displayed with the function void Show(string valueArray[][]) This function is universal, so it can be used to display any two-dimensional arrays. Función void RefreshAccountInfo()
is necessary to update information when switching between symbols, timeframes or accounts. All specification details are calculated and displayed only once, es decir., no updates are performed at every tick.
Below is a use example: |