Specification

0
(0)
Naam:
Specification [ ru | cn ]
Skrywer: MetaQuotes (2008.05.06 11:01)
Afgelaai: 1288
Aflaai:
Specification 1
Specification.mq4 (9.5 Kb) Beskou
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 Comment2
Egter, funksie Lewer kommentaar () displays information only in the main chart window. But we sometimes may need to show it in an indicator subwindow. In hierdie geval, the following example may be useful.

The indicator displays contract specification for a specific symbol. Funksie

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. Funksie

void  RefreshAccountInfo()

is necessary to update information when switching between symbols, timeframes or accounts.

All specification details are calculated and displayed only once, d.w.s., no updates are performed at every tick.

Below is a use example:

Specification 2

Hoe nuttig was hierdie pos nie?

Klik op 'n ster om dit te gradeer!

Gemiddelde gradering 0 / 5. Stemmetelling: 0

Geen stemme tot dusver nie! Wees die eerste om hierdie plasing te beoordeel.

Ons is jammer dat hierdie plasing nie vir jou nuttig was nie!

Kom ons verbeter hierdie pos!

Vertel ons hoe ons hierdie pos kan verbeter?



Skrywer: Forex Wiki-span
Ons is 'n span hoogs ervare Forex Handelaars [2000-2023] wat daaraan toegewy is om die lewe op ons eie terme te leef. Ons primêre doelwit is om finansiële onafhanklikheid en vryheid te verkry, en ons het selfonderrig nagestreef en uitgebreide ondervinding in die Forex-mark opgedoen as ons manier om 'n selfvolhoubare leefstyl te bereik.