Kers grootte (teks)

0
(0)

Die aanwyser wys die grootte van die kolom. Die grootte word bereken op grond van die volgende stelsel: "afgetrek" minus "aftrekking". "Desimale" en "Desimale" kan enige van die wees 4 waardes(opening waarde, die heel beste waarde, die onderste waarde of sluitingswaarde).

Die verskeidenheid kolomme wat die grootte wys, kan beperk word tot die invoerparameters ( InpNumberOfBars ). This quantity is not going to change till the brand new column is opened:

About synchronization of columns and graphic objects.

Graphic object calculation

The identify of the item is saved within the m_arr_names [] array and its size is the same as the InpNumberOfBars enter parameter. Why will we use an array as a substitute of a easy string variable? That is reserved for future functions.

The identify of the item

The identify of the item corresponds to the 'index' of the column, and is constructed based on the next system:

Identifiseer [indeks] = m_prefix + ( "high_" of "low_" ) + TimeToString (tyd [indeks])

When you must delete all objects

Indicators are uninstalled within the following instances :

  • Take away the metric from the chart;
  • Shut the terminal (if the indicator is operating on the chart);
  • If the template is loaded when the indicator is run on the chart;
  • Shut the chart of the operational indicators;
  • If the symptoms run previously settings file and modify the settings file;
  • Modify the range and / or interval of the transaction during which the indicator runs the chart;
  • Modified index enter parameters.

On this approach, we'll utterly delete the created graphic object:

  • In OnDeinit ()
  • In OnInit () (there is just one case, that's, if there may be an object to be deleted)
  • In OnCalculate (), when prev_calculated == 0.

We have now to clear m_arr_names [] array:

  • In OnCalculate (), when prev_calculated == 0 or when prev_calculated! = Rates_total

Save constants for the variety of formation objects:

When the brand new column seems, the prev_calculated! = Rates_total situation is triggered, during which case all objects are deleted, en die m_arr_names [] array is to be cleared.

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.