PROTECTED SOURCE SCRIPT

ASI Momentum Cloud

21
ASI Momentum Cloud (AMC) — a scaled Accumulative Swing Index (ASI) momentum indicator with an EMA cloud for visual trend context, signal smoothing, and configurable scaling for any instrument.

---

## Overview

The ASI Momentum Cloud visualizes ASI-based momentum while providing a three-EMA cloud that highlights trend bias and momentum strength. The indicator scales ASI values for better visibility across different instruments and adds an SMA signal line for entry/exit clarity. Designed for traders who want a momentum oscillator with trend context and simple alertable signals.

## Key features

* Scaled ASI value (`ASI Multiplier`) for improved chart readability.
* Configurable `Daily Limit` to adapt the ASI calculation to different asset volatilities.
* SMA signal line to smooth ASI and provide clear cross signals.
* Three-EMA cloud (Fast / Mid / Slow) to show bullish/bearish bias and momentum shifts.
* Lightweight, low-latency computation — suitable for multiple timeframes.
* Built-in cloud coloring: green tint when Fast EMA > Slow EMA, red tint otherwise.

## How it works (brief)

1. ASI is calculated each bar using price movement components (high/low/close relationships) and normalized by the `Daily Limit`.
2. `ASI Multiplier` scales the values for visual clarity.
3. A short SMA (`Period Length`) acts as the indicator’s signal/smoother.
4. Three EMAs (Fast / Mid / Slow) form a cloud — their relative positions determine the cloud color and trend bias.

## Inputs (as shown in settings)

* **Daily Limit** — numeric; adjusts ASI normalization (default: `10000`). Tune to instrument volatility.
* **ASI Multiplier** — numeric; scales the ASI for visibility (default: `100`).
* **Period Length** — SMA length for the signal line (default: `14`).
* **EMA Cloud Fast Length** — fast EMA (default: `7`).
* **EMA Cloud Mid Length** — middle EMA (default: `14`).
* **EMA Cloud Slow Length** — slow EMA (default: `28`).

## How to interpret signals

* **Bullish bias:** EMA Fast > EMA Slow → cloud green (favour long bias).
* **Bearish bias:** EMA Fast < EMA Slow → cloud red (favour short bias).
* **Momentum entry:** ASI line crossing **above** the Signal SMA — momentum turning positive.
* **Momentum exit / short entry:** ASI line crossing **below** the Signal SMA — momentum turning negative.
* **Confirmation:** Prefer entries that align with cloud bias (e.g., take long crossovers when cloud is green).
* **Divergence:** Watch for price making new highs/lows while ASI fails to confirm — possible momentum exhaustion.

## Suggested alert messages (copy/paste)

* `ASI Momentum Cloud — ASI crossed above Signal (potential buy)`
* `ASI Momentum Cloud — ASI crossed below Signal (potential sell)`
* `ASI Momentum Cloud — Cloud turned bullish (EMA Fast > EMA Slow)`
* `ASI Momentum Cloud — Cloud turned bearish (EMA Fast < EMA Slow)`

Use these messages in TradingView alert conditions tied to the corresponding cross or condition.

## Recommended usage & timeframes

* Works on any timeframe; commonly useful on 1H, 4H, Daily for trend-following, and lower timeframes for intra-day momentum signals.
* Adjust **Daily Limit** and **ASI Multiplier** for low-volatility instruments (smaller limit, higher multiplier) or high-volatility instruments (larger limit, lower multiplier).
* Combine with price action, support/resistance, or higher-timeframe trend for better signal quality.

## Notes & credits

* Version: 1.0 — initial release.
* If you adapt or redistribute, please credit the original script.
* Built for clarity and practical trading signals — tweak the input values to match your instrument and trading style.

## Risk disclaimer

This indicator is a technical tool and not investment advice. Backtest and paper-trade any strategy before using real capital. Use proper risk management.

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。