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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 1403|回复: 1

Metastock有沒有劃線formula?

[复制链接]
发表于 2021-1-16 23:39:39 来自手机 | 显示全部楼层 |阅读模式
想在指定日期,價格劃橫線到指定日期價格終點的formula.
請問metastock能不能做到?
感謝
发表于 2021-1-18 09:09:19 | 显示全部楼层
你可以用這個

Function: Value When [valuewhen()]

SYNTAX      
valuewhen ( Nth, EXPRESSION, DATA ARRAY )
FUNCTION     
Returns the value of the DATA ARRAY when the EXPRESSION was true on the Nth most recent occurrence. This includes all data loaded in the chart.
EXAMPLE     
The formula "valuewhen( 2, cross(c,mov(c,10,s), rsi(20) )" returns the value of the RSI on the 2nd most recent occurrence of the closing price crossing above its 10-day moving average.


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

本版积分规则

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

GMT+8, 2024-3-19 15:32 , Processed in 0.050723 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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