मोमबत्ती का आकार (मूलपाठ)

0
(0)

सूचक स्तंभ का आकार प्रदर्शित करता है. आकार की गणना अगली प्रणाली के आधार पर की जाती है: "घटाया" ऋण "घटाव". "दशमलव" और "दशमलव" इनमें से कोई भी हो सकता है 4 मान(प्रारंभिक मूल्य, सबसे अच्छा मूल्य, निचला मूल्य या समापन मूल्य).

आकार दिखाने वाले स्तंभों की विविधता एंटर पैरामीटर तक सीमित हो सकती है ( 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:

पहचान करना [अनुक्रमणिका] = m_prefix + ( "high_" या "low_" ) + TimeToString (समय [अनुक्रमणिका])

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, और यह m_arr_names [] array is to be cleared.

ये पोस्ट कितनी उपयोगी थी?

इसे रेट करने के लिए किसी स्टार पर क्लिक करें!

औसत श्रेणी 0 / 5. वोटों की गिनती: 0

अभी तक कोई वोट नहीं! इस पोस्ट को रेट करने वाले पहले व्यक्ति बनें.

हमें खेद है कि यह पोस्ट आपके लिए उपयोगी नहीं रही!

आइए इस पोस्ट को बेहतर बनाएं!

हमें बताएं कि हम इस पोस्ट को कैसे बेहतर बना सकते हैं?



लेखक: विदेशी मुद्रा विकी टीम
हम अत्यधिक अनुभवी विदेशी मुद्रा व्यापारियों की एक टीम हैं [2000-2023] जो अपनी शर्तों पर जीवन जीने के लिए समर्पित हैं. हमारा प्राथमिक उद्देश्य वित्तीय स्वतंत्रता और स्वतंत्रता प्राप्त करना है, और हमने स्व-शिक्षा का अनुसरण किया है और एक स्व-टिकाऊ जीवन शैली प्राप्त करने के हमारे साधन के रूप में विदेशी मुद्रा बाजार में व्यापक अनुभव प्राप्त किया है।.