0
(0)
ชื่อ:
Specification [ รู | ซีเอ็น ]
ผู้เขียน: MetaQuotes (2008.05.06 11:01)
ดาวน์โหลดแล้ว: 1288
ดาวน์โหลด:
Specification 1
Specification.mq4 (9.5 Kb) ดู
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,"\น",line_2,"\น"...). See example Comment2
อย่างไรก็ตาม, การทำงาน ความคิดเห็น () displays information only in the main chart window. But we sometimes may need to show it in an indicator subwindow. ในกรณีนี้, the following example may be useful.

The indicator displays contract specification for a specific symbol. การทำงาน

void PrepareInfo(สตริง & 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. การทำงาน

void  RefreshAccountInfo()

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

All specification details are calculated and displayed only once, เช่น., no updates are performed at every tick.

Below is a use example:

Specification 2

โพสต์นี้มีประโยชน์เพียงใด?

คลิกที่ดาวเพื่อให้คะแนน!

คะแนนเฉลี่ย 0 / 5. นับคะแนนเสียง: 0

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

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

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

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



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