OPEN-SOURCE SCRIPT

KAMA Cloud ST

מעודכן
Indicator:
Description:

The KAMA Cloud indicator is a sophisticated trading tool designed to provide traders with insights into market trends and their intensity. This indicator is built on the Kaufman Adaptive Moving Average (KAMA), which dynamically adjusts its sensitivity to filter out market noise and respond to significant price movements. The KAMA Cloud leverages multiple KAMAs to gauge trend direction and strength, offering a visual representation that is easy to interpret.

How It Works:

The KAMA Cloud uses twenty different KAMA calculations, each set to a distinct lookback period ranging from 5 to 100. These KAMAs are calculated using the average of the open, high, low, and close prices (OHLC4), ensuring a balanced view of price action. The relative positioning of these KAMAs helps determine the direction of the market trend and its momentum.

By measuring the cumulative relative distance between these KAMAs, the indicator effectively assesses the overall trend strength, akin to how the Average True Range (ATR) measures market volatility. This cumulative measure helps in identifying the trend’s robustness and potential sustainability.

The visualization component of the KAMA Cloud is particularly insightful. It plots a 'cloud' formed between the base KAMA (set at a 100-period lookback) and an adjusted KAMA that incorporates the cumulative relative distance scaled up. This cloud changes color based on the trend direction — green for upward trends and red for downward trends, providing a clear, visual representation of market conditions.

How the Strategy Works:

The KAMA Cloud ST strategy employs multiple KAMA calculations with varying lengths to capture the nuances of market trends. It measures the relative distances between these KAMAs to determine the trend's direction and strength, much like the original indicator. The strategy enhances decision-making by plotting a 'cloud' formed between the base KAMA (set to a 100-period lookback) and an adjusted KAMA that scales according to the cumulative relative distance of all KAMAs.

Key Components of the Strategy:

Multiple KAMA Layers: The strategy calculates KAMAs for periods ranging from 5 to 100 to analyze short to long-term market trends.
Dynamic Cloud: The cloud visually represents the trend’s strength and direction, updating in real-time as the market evolves.
Signal Generation: Trade signals are generated based on the orientation of the cloud relative to a smoothed version of the upper KAMA boundary. Long positions are initiated when the market trend is upward, and the current cloud value is above its smoothed average. Conversely, positions are closed when the trend reverses, indicated by the cloud falling below the smoothed average.
Suggested Usage:

Market: Stocks, not cryptocurrency
Timeframe: 1 Hour

Indicator:
KAMA Cloud
הערות שחרור
cleared up short entry exit
הערות שחרור
added macd of cloud-kama as entry verification
Bands and ChannelsKaufman's Adaptive Moving Average (KAMA)Trend Analysis

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

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

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

כתב ויתור