PROTECTED SOURCE SCRIPT

MA Mix Cloud (Short + Long) + Trend Lines + Bar Color

51
MA Mix Cloud (Short + Long) + Trend Lines + Bar Color

A dual-cloud trend visualization indicator built on a blended moving average model called MA Mix.

Instead of relying on a single moving average type, this script combines multiple MA calculations to reduce bias and create a more balanced and adaptive trend representation.

Core Concept – MA Mix

MA Mix is calculated as the average of six different moving averages:

SMA (Simple Moving Average)

EMA (Exponential Moving Average)

WMA (Weighted Moving Average)

VWMA (Volume Weighted Moving Average)

HMA (Hull Moving Average)

RMA (Running Moving Average)

By blending these, the indicator balances smoothness and responsiveness, helping reduce the weaknesses of any single MA type.

Features
Short Cloud

Default: 20 / 60 lengths
Designed to capture short-term trend direction and entry timing.

Long Cloud

Default: 100 / 200 lengths
Used for higher-timeframe trend bias and market structure.

Trend-Colored Lines

Fast ≥ Slow → Bullish color

Fast < Slow → Bearish color

Instant visual confirmation of current trend state.

Cloud Visualization

The area between Fast and Slow MA Mix lines is filled:

Bullish trend → Bull color fill

Bearish trend → Bear color fill

Both Short and Long clouds can be enabled or disabled independently.

Candle Coloring Logic

Candles are colored based on their position relative to the selected cloud.

Selectable reference:

Short Cloud

Long Cloud

Logic:

Close above cloud → Bull color

Close below cloud → Bear color

Inside cloud → Neutral color

This helps visually separate trending conditions from consolidation.

Example Usage

Use Long Cloud for overall market bias

Use Short Cloud for entry timing

Take longs only above the cloud

Take shorts only below the cloud

Stay cautious when price is inside the cloud

This structure allows multi-timeframe thinking within a single chart.

Aviso legal

As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.