OPEN-SOURCE SCRIPT

Rate of Change Machine

已更新
Rate of Change Machine

Author: RWCS_LTD

Disclaimer: This script is provided for informational purposes only and should not be considered financial advice. Trading involves substantial risk, and past performance is not indicative of future results. Always conduct your own research and consult with a qualified financial advisor before making any investment decisions.

Introduction:
The Rate of Change Machine is a script designed to assist traders in analyzing multiple cryptocurrency trading pairs simultaneously. This comprehensive indicator offers a holistic view of the rate of change and related metrics, aiding traders in making informed decisions.

Asset Selection:
The script enables users to select up to nine different cryptocurrency trading pairs for in-depth analysis.

Volume Calculation:
Volume plays a crucial role in the analysis, with customizable parameters for volume weighting and length.

Relative Strength Calculation:
Relative Strength is determined through two Exponential Moving Averages (EMA) with user-defined lengths.

Timeframe Weightings:
Different timeframes (1D, AVG 3D, AVG 5D, AVG 7D, AVG 14D, AVG 30D) are assigned weightings to calculate a comprehensive trend score.

Weighted Average and Individual Rate of Change (RoC) Calculation:
The getWeightedAvgAndIndividualROC function calculates the RoC for each selected trading pair based on the given timeframes and weights.

Table Setup:
A table is created to display the results for each trading pair, including relative strength, volume trend, RoC for different timeframes, and a weighted trend score.

Table Formatting:
The table is formatted with different colors indicating positive or negative values for easier interpretation.

Table Position and Size:
Users can customize the position and size of the table on the chart.

Data Retrieval:
The script retrieves the calculated values for each trading pair using the request.security function.

Output:
The final output is a table on the chart, showing relevant information for the selected trading pairs, aiding traders in making informed decisions based on the rate of change and other factors. This indicator provides a comprehensive view of the rate of change and related metrics for multiple trading pairs, assisting traders in identifying potential trends and making informed trading decisions.
版本注释
Updated so 3D AVG is from days' 3 -5. 7D AVG is from day's 5-7. 14D AVG is from day's 8-14. 30D AVG is from day's 15-30. Each RoC cell is a different window of time, which is averaged together and plotted as the Trend Score.
Portfolio managementRate of Change (ROC)Relative Strength Comparison

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?


更多:

免责声明