OPEN-SOURCE SCRIPT
已更新 FX Trend

FX Trend Indicator by request of S.C. in The Trading Journal Discord.
Original Meta Trader Indicator at mql5.com/en/code/21433
FXT = K * ((Close-L1) / (D1*Small range)+(Close-L2) / (D2*Middle range)+(Close-L3) / (D3*Big range))
Where:
D1 = H1 - L1
D2 = H2 - L2
D3 = H3 - L3
L1, H1 - the lowest and the highest prices in the Small range
L2, H2 - the lowest and the highest prices in the Middle range
L3, H3 - the lowest and the highest prices in the Big range
K = 100.0 / (1/Small range+1 / Middle range+1 / Big range)
Original Meta Trader Indicator at mql5.com/en/code/21433
FXT = K * ((Close-L1) / (D1*Small range)+(Close-L2) / (D2*Middle range)+(Close-L3) / (D3*Big range))
Where:
D1 = H1 - L1
D2 = H2 - L2
D3 = H3 - L3
L1, H1 - the lowest and the highest prices in the Small range
L2, H2 - the lowest and the highest prices in the Middle range
L3, H3 - the lowest and the highest prices in the Big range
K = 100.0 / (1/Small range+1 / Middle range+1 / Big range)
發行說明
Removed unused variables.開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。