PROTECTED SOURCE SCRIPT

5 MAs + Composite Gradient + Multi Sensitivity + Hybrid

39
Indicator Description
🔹 Core Structure
• The indicator plots five moving averages (MAs), each fully customizable: you can choose the type (SMA, EMA, WMA, HMA, RMA, VWMA), the length, the color, and the transparency.
• On top of them, it calculates a Composite line, which is simply the average of all five MAs.
🔹 Colors and Lines
• Each MA is drawn in the color you select, with adjustable transparency.
• The Composite line is dynamically colored: it shifts from red when the slope is strongly negative (downtrend) to green when the slope is strongly positive (uptrend), with smooth gradients in between.
• The line thickness of the Composite changes automatically: thin when the slope is weak, thick when the slope is strong.
🔹 Shading
• Light shading is drawn between MA1 ↔ MA5 and MA2 ↔ MA4.
• The shading color follows the Composite’s gradient, so the background tint reflects the current trend strength and direction.
🔹 Buy/Sell Signals
• A green BUY arrow appears below a candle when the price crosses above the Composite with enough strength.
• A red SELL arrow appears above a candle when the price crosses below the Composite with enough strength.
• The “enough strength” part is controlled by a sensitivity threshold.
🔹 Sensitivity Modes
You can choose how the threshold is calculated:
1. Dynamic TF – Sensitivity adapts to the timeframe:
• 1 minute → 0.2%
• 1 hour → 0.5%
• 1 day → 1%
2. ATR – Threshold is based on a multiple of the Average True Range.
3. StdDev – Threshold is based on a multiple of the standard deviation of price.
4. Hybrid – Requires both Dynamic TF and ATR conditions to be satisfied.

The Result
• You get a visually clear chart: faint customizable MAs, a Composite line that changes color and thickness with the trend, and shaded zones that reinforce the direction.
• You also get smart trading signals: filtered BUY/SELL arrows that adapt to volatility, timeframe, or both.
• The whole system is modular and flexible: you can tune every MA, every sensitivity mode, and every visual element.

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.