OPEN-SOURCE SCRIPT

Rate of Change Machine

Mis à jour
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.
Notes de version
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

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?


Aussi sur:

Clause de non-responsabilité