OPEN-SOURCE SCRIPT

Carrey's Velocity and Acceleration

Aggiornato
This is initially based on the MA Speed indicator from TradeStation (tradingview.com/v/4j9HWCVA/) and expanded upon greatly. This implements 3 different variable MAs and calculates and plots both speed and acceleration of each. Also, a single line composite option is included for both speed and acceleration that changes color based on directional confluence of each MA's speed/acceleration. Additionally, optional labels are included to show where the 3 MAs are clustered, and a volatile move is expected, and where they are more distributed, expecting a temporary reversal.

The additional acceleration concept comes from kinematics in physics. Utilizing time-based derivatives, we can calculate the velocity and acceleration of the moving averages, which can help us identify momentum of price action and locate reversals sooner.
Note di rilascio
Updates
Note di rilascio
Changed acceleration plot to be histogram for easier viewing and understanding
Note di rilascio
Added quick MA settings
Note di rilascio
Distribution and Cluster signals now show proper directionality as previous configuration was only temporary (as well as misleading).
Note di rilascio
Added feature to clear up repeated Cluster/Distribution signals.
Note di rilascio
Typo correction
Note di rilascio
Identifies crosses beyond extrema and requires a cluster to be inside of extrema
Note di rilascio
Added in OBV and OBV Speed element
Note di rilascio
Bug fix
Note di rilascio
Please look at the tooltip for the OBV Average should you choose to use it. OBV Average is useful to normalize the OBV chart when using the other elements of this indicator. If not for this bug, OBV Avg would be the default setting. However, due to this bug, the OBV is a completely optional tool for the public to use (discover?) that encourages recognizing the significance of calibrating your particular indicator should you choose to use it how I intend to set the next default.
Note di rilascio
Added Avg OBV Scale for visual control
Note di rilascio
Removed OBV in favor of VFI as it yields more accurate results than what I was attempting. This is courtesy of our good friend Lazy Bear and you can find the original script for VFI at tradingview.com/script/MhlDpfdS-Volume-Flow-Indicator-LazyBear/
accelerationaverageExponential Moving Average (EMA)hullHull Moving Average (HMA)movingOscillatorsspeedvelocity

Script open-source

In pieno spirito TradingView, l'autore di questo script lo ha pubblicato open-source, in modo che i trader possano comprenderlo e verificarlo. Un saluto all'autore! È possibile utilizzarlo gratuitamente, ma il riutilizzo di questo codice in una pubblicazione è regolato dal nostro Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Vuoi usare questo script sui tuoi grafici?

Declinazione di responsabilità