wai7755 发表于 2021-1-16 23:39:39

Metastock有沒有劃線formula?

想在指定日期,價格劃橫線到指定日期價格終點的formula.
請問metastock能不能做到?
感謝

admin 发表于 2021-1-18 09:09:19

你可以用這個
Function: Value When 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.

页: [1]
查看完整版本: Metastock有沒有劃線formula?