唔洗咁灰喎 ~ 睇漏左你個 post 姐~ 有 D 我成年都無人答啦
的確 MetaStock 不能 for .... Loop 那裡寫法, 因為佢係 easy language, 係預你直接使用它內設的 function 功能, 而不是給你寫一個 function !!
所以編寫上有很多要變通的地方, 簡化步驟及簡化寫法, 如想寫一些複雜性比較高的條件,
便會有一定的難度 !! 考你轉化程式程序的能力了 !! 而且沒有 arrary 設計, 所以不能使用疊進變數值 ~
Help 的說明:
The MetaStock formula language is a special programming language used to define and create custom indicators, system tests, explorations, and experts. It is patterned after popular spreadsheet languages. In its simplest form, the MetaStock formula language is comprised of high-level functions (e.g., mov(), rsi(), abs() ), mathematical operators (e.g., +, -, /, *), and parameters (open, high, low, close, etc.). Each of these basic components can be combined to create your own indicators with the Indicator Builder, backtest your trading ideas with the Enhanced System Tester, rank and filter your securities with The Explorer, and generate chart-specific feedback with the Expert Advisor.
In order to effectively use the Indicator Builder, Enhanced System Tester, Explorer, or Expert Advisor, you need to be familiar with the MetaStock formula language. The MetaStock formula language is the foundation and common link for each of these four tools. The Indicator Builder will be used in this chapter to teach the MetaStock formula language. For specific tutorials on each of the four formula-based tools, refer to their specific chapters. For information on the Equis Solution Provider program and the MetaStock Developers Kit, go to http://www.equis.com. |