『最佳拍檔』智能決策系統

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 2343|回复: 3

幾個metastock 問題

[复制链接]
发表于 2008-10-17 11:55:08 | 显示全部楼层 |阅读模式
1.請問,我可否好似c 咁 declare個var array呢.e.g. a:= (1,2,3,4). 因為我想用min function.但min又最多得兩個input,我想做min(a,b,c,d,e)要分四次做,超煩. 2.同埋無for loop我覺得好多野都做唔到
 楼主| 发表于 2008-10-21 15:52:46 | 显示全部楼层
原帖由 syip1i 于 2008-10-17 11:55 发表 1.請問,我可否好似c 咁 declare個var array呢.e.g. a:= (1,2,3,4). 因為我想用min function.但min又最多得兩個input,我想做min(a,b,c,d,e)要分四次做,超煩. 2.同埋無for loop我覺得好多野都做唔到 ...
咁耐都無人答我,好灰
发表于 2008-10-21 17:48:52 | 显示全部楼层

 唔洗咁灰喎 ~
睇漏左你個 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.

 楼主| 发表于 2008-10-21 23:20:18 | 显示全部楼层

原帖由 admin 于 2008-10-21 17:48 发表  唔洗咁灰喎 ~睇漏左你個 post  姐~     有 D 我成年都無人答啦 的確 MetaStock 不能 for ....  Loop 那裡寫法,  因為佢係 easy language,   係預你直接使用它 ...


等我仲諗左咁耐,無array真係好多野都唔做得,好麻煩.


anyway,唔該晒

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋|Archiver|『最佳拍檔』智能決策系統

GMT+8, 2024-6-17 06:46 , Processed in 0.134685 second(s), 18 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表