bjr117

Moving Average Multitool

bjr117 מעודכן   
I made this script as a personal tool while backtesting multiple moving averages. It allows you to easily access and switch between different types of moving averages, without having to continuously add and remove different moving averages from your chart.

It also has the option to show the a 14 period average distance between the closing price of an asset and the selected moving average, as a multiple of ATR. This number can be shown by enabling the "Show ATR Between MA and Close" setting. The intention of this value is to quantify and compare the speed of different moving averages across any instrument and any timeframe. The higher the value, the slower the moving average. The lower the value, the faster the moving average.
הערות שחרור:
Credited the original authors of the moving average scripts I didn't make myself.
הערות שחרור:
Created a moving average crossover version of this script:
הערות שחרור:
Cleaned up code, corrected ALMA settings, and added ma-close crossover signals
הערות שחרור:
Fixed ATR lookback period input and corrected input titles.
הערות שחרור:
Corrected more input titles.
הערות שחרור:
Merged WWMA and RMA, since they result in a perfectly identical calculation. Cleaned up code.
הערות שחרור:
Added the HiLo Trend (HLT)
הערות שחרור:
Added the Tillson T3 (T3)
הערות שחרור:
Added the option to display standard deviation bands around the MA (same calculation as Bollinger Bands)
Added the option to show moving average slope change signals
Added the option to color the moving average based on either the price cross signal or slope change signal

Ben R.
סקריפט קוד פתוח

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

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.

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