OPEN-SOURCE SCRIPT

KAMA: Kaufman Adaptive Moving Average x2/Log

מעודכן
Calculation begins at the beginning of the bar, eliminating incorrect moving average weighting at the very beginning of the ticker you're watching. This is important for new stocks, futures, altcoins, etc.

The inputs for the fast/slow alphas are now normal integers, with the calculation (2 / (y + 1)) for alpha added after input.

Comes with two moving averages and a setting for geometric mean/log. Source is adjustable but using the close works best, especially with how this particular MA is calculated in the first place. Besides that, this is mostly the same as other KAMAs on TradingView, but I'd like to say I put a bit more care into this one.

It is important to know that the acceptable length for KAMA is within the boundaries of the alpha lengths. For example, the default lengths are 2 and 30 for alpha, so the acceptable length for KAMA is within 2-30.

stockcharts.com/school/doku.php?id=chart_school:technical_indicators:kaufman_s_adaptive_moving_average
technicalindicators.net/indicators-technical-analysis/152-kama-kaufman-adaptive-moving-average
הערות שחרור
Added custom resolution, labels for % away from KAMA
הערות שחרור
Added toggle option for background fill on crossovers/unders. Removed "percent away from KAMA" option. Re-added the ability to change the second KAMA's fast/slow alpha.
Kaufman's Adaptive Moving Average (KAMA)logscale

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

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

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


My published indicators: tradingview.com/u/NeoButane/

Sorry if I haven't replied to your message yet, I'm a bit backlogged :)
גם על:

כתב ויתור