TradingView
federalTacos5392b
19 אוג׳ 2023 19:58

Volume-Weighted Kaufman's Adaptive Moving Average 

Meta Platforms, Inc.NASDAQ

תיאור

The Volume-Weighted Kaufman's Adaptive Moving Average (VW-KAMA) is a technical indicator that combines the Volume-Weighted Moving Average (VWMA) and the Kaufman's Adaptive Moving Average (KAMA) to create a more responsive and adaptable moving average.

Advantages:

Volume-Weighted: It takes into account the volume of trades, giving more weight to periods with higher trading volume, which can help filter out periods of low activity.
Adaptive: The indicator adjusts its smoothing constant based on market conditions, becoming more sensitive in trending markets and less sensitive in choppy or sideways markets.
Versatility: VW-KAMA can be used for various purposes, including trend identification, trend following, and determining potential reversal points and act as dynamic support and resistance level.

הערות שחרור

Minor coding correction

הערות שחרור

updated default lengths

הערות שחרור

Based on a suggestion, Include the option to include upper and lower bands based on ATR. The default is not to have any upper and lower bands.
תגובות
federalTacos5392b
Adjust the settings as it fits. I would suggest the following // Input parameters
length = input(10, title="VWMA Length")
fast = input(5, title="Fast Length")
slow = input(15, title="Slow Length")

// Calculate VWMA
vwap = math.sum(hlc3 * volume, 5) / math.sum(volume, 5) ------------ for this change update the length in the code itself (from 3 to 5 , 5 is optimal)
עוד