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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 2032|回复: 2

Formula Variable Call

[复制链接]
发表于 2009-9-11 00:02:42 | 显示全部楼层 |阅读模式

Matthew 大師/大大師兄,

在EST,當一個SYSTEM已經寫滿了,但又要加更多formula(with OPT),例如要加"OR RSI(14)>70 AND C>OPT8"

Q1) 除了用EXTFML,有無簡單方法可RECALL額外的formula?

Q2) fmvarl()是點用的?睇咗都唔明...可唔可以解決以上問題呢?

 

 

 

 

Function: Formula Variable Call [fmvarl()]


SYNTAX      fmlvar( "FORMULA_NAME", "VARIABLE_NAME")

FUNCTION      Calls the custom indicator named FORMULA_NAME and returns the value contained in the custom indicator's variable named VARIABLE_NAME.

Notes:

FILE://C:/FH_Suite/bullets/DIAMOND.PNG    Both the formula's name and the variable's name must be contained in quotation marks
(e.g., fmlvar( "Secret A", "MyVar")).

FILE://C:/FH_Suite/bullets/DIAMOND.PNG    If you change a formula or variable name, you must also change any fmvarl() calls that reference that formula and variable.

EXAMPLE      fmlvar("MyIndicator", "MyVariableA" )

[ 本帖最后由 alice 于 2009-9-11 00:57 编辑 ]
发表于 2009-9-15 12:33:53 | 显示全部楼层

可以 !  


fmlvar( "FORMULA_NAME", "VARIABLE_NAME")


 


人地寫得好清楚喎, 你睇真:
Calls the custom indicator named FORMULA_NAME and returns the value contained in the custom indicator's variable named VARIABLE_NAME.


 


e.g.  你有一個 自制的 indicator  "my moving average"

內容如下:
mymov := mov(C,10,S);


mymov

那 "mymov" 這個便是 "VARIABLE_NAME"


 


你調用時便要這樣:
var1 :=  fmlvar( "my moving average", "mymov")

這樣便可以將該 自制技術指標的 "mymov" 值, 調用到你其它的公式中 !!

 楼主| 发表于 2009-9-15 19:05:27 | 显示全部楼层

回复 2# 的帖子

明白晒!Matthew 大師說的容易明白好多!
謝謝Matthew 大師!
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2024-9-27 22:39 , Processed in 0.133582 second(s), 18 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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