OPEN-SOURCE SCRIPT

Carrey's Velocity and Acceleration

מעודכן
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.
הערות שחרור
Updates
הערות שחרור
Changed acceleration plot to be histogram for easier viewing and understanding
הערות שחרור
Added quick MA settings
הערות שחרור
Distribution and Cluster signals now show proper directionality as previous configuration was only temporary (as well as misleading).
הערות שחרור
Added feature to clear up repeated Cluster/Distribution signals.
הערות שחרור
Typo correction
הערות שחרור
Identifies crosses beyond extrema and requires a cluster to be inside of extrema
הערות שחרור
Added in OBV and OBV Speed element
הערות שחרור
Bug fix
הערות שחרור
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.
הערות שחרור
Added Avg OBV Scale for visual control
הערות שחרור
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

סקריפט קוד פתוח

ברוח TradingView אמיתית, מחבר הסקריפט הזה פרסם אותו בקוד פתוח, כך שסוחרים יוכלו להבין ולאמת אותו. כל הכבוד למחבר! אתה יכול להשתמש בו בחינם, אבל השימוש החוזר בקוד זה בפרסום כפוף לכללי הבית. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.

רוצה להשתמש בסקריפ זה בגרף?

כתב ויתור