請問有人知道RTI指標的寫法嗎?
Relative Trend Index (RTI) by Zeiierman — Indicator by Zeiierman — TradingView
下面有看到公式,但不知要怎轉換成xs用…
Relative Trend Index (RTI) - Indicators - ProRealTime (prorealcode.com)
請問有人知道RTI指標的寫法嗎?
Relative Trend Index (RTI) by Zeiierman — Indicator by Zeiierman — TradingView
下面有看到公式,但不知要怎轉換成xs用…
Relative Trend Index (RTI) - Indicators - ProRealTime (prorealcode.com)
Hello Ho Ho,
小幫手沒有提供代寫服務。
不過您可以參考網站上的教學區,裡面有XS語法的基礎和應用。
XSHelp 上可以查詢內建的函數。
就以TradingView那篇文章下面的腳本來說,裡面有用到 StandardDev 計算標準差。
Array_Sort 可以排序陣列。
xaverage 可以計算指數移動平均。
搭配裡面的計算邏輯應該就可以算出RTI指標。
1 評論