ขนาดเทียน (ข้อความ)

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

ยังไม่มีคะแนนโหวต! เป็นคนแรกที่ให้คะแนนโพสต์นี้.

ขออภัยที่โพสต์นี้ไม่มีประโยชน์สำหรับคุณ!

ให้เราปรับปรุงโพสต์นี้!

บอกเราว่าเราจะปรับปรุงโพสต์นี้ได้อย่างไร?



ผู้เขียน: ทีมงาน Forex Wiki
เราคือทีมผู้ซื้อขาย Forex ที่มีประสบการณ์สูง [2000-2023] ที่อุทิศตนเพื่อใช้ชีวิตในแบบของเรา. วัตถุประสงค์หลักของเราคือการได้รับอิสรภาพทางการเงินและอิสรภาพ, และเราได้ติดตามการศึกษาด้วยตนเองและได้รับประสบการณ์ที่กว้างขวางในตลาด Forex เพื่อเป็นหนทางในการบรรลุวิถีชีวิตที่ยั่งยืนด้วยตนเอง.