OPEN-SOURCE SCRIPT
Aktualisiert

SMA Trend Flow

280
A clean and intuitive trend-following indicator designed to simplify market analysis using multiple Simple Moving Averages (SMAs).

Instead of displaying only moving averages, this indicator visualizes trend direction, trend strength, and potential entry timing in a simple and easy-to-read format.

Features
Displays 5, 20, 60, 100, and 200 SMAs.
Background highlights when a Perfect Order is established:
Bullish: 5 > 20 > 60 > 100
Bearish: 5 < 20 < 60 < 100
Dynamic fill between the 5 SMA and 20 SMA.
The fill becomes stronger as more SMAs align in the same direction, making trend strength easy to recognize at a glance.
Buy and sell arrows when the 5 SMA crosses the 20 SMA.
Alert support for both bullish and bearish crossovers.
Why this indicator?

The goal is to reduce chart clutter while providing the essential information needed for trend-following and swing trading.

With a single glance, traders can quickly identify:

Overall market trend
Trend strength
Short-term momentum
Potential entry opportunities

This indicator is designed for traders who prefer clean charts and objective trend analysis.
Versionshinweise
# SMA Perfect Order Entry

A simple trend-following indicator designed to identify trend direction and potential entry timing using multiple Simple Moving Averages (SMAs).

This indicator combines Perfect Order analysis, short-term momentum visualization, and filtered moving average crossover signals.

## Features

- Displays 5, 20, 60, 100, and 200 Simple Moving Averages (SMAs).

- Highlights the background when a strong trend structure is formed:
Bullish Trend:
5 SMA > 20 SMA > 60 SMA > 100 SMA

Bearish Trend:
5 SMA < 20 SMA < 60 SMA < 100 SMA

- Fills the area between the 5 SMA and 20 SMA to visualize short-term momentum:
Green: 5 SMA above 20 SMA
Red: 5 SMA below 20 SMA

- Filtered entry signals:

Bullish Signal ▲
Appears when:
- 5 SMA crosses above 20 SMA
- Short-term trend structure is bullish (5 > 20 > 60)

Bearish Signal ▼
Appears when:
- 5 SMA crosses below 60 SMA
- Short-term trend structure is bearish (5 < 20 < 60)

- Alert support for both bullish and bearish signals.

## Purpose

The goal of this indicator is to reduce unnecessary crossover signals by combining moving average alignment with trend confirmation.

It is designed for swing traders and trend-following strategies, helping traders identify:

- Trend direction
- Momentum changes
- Potential entry opportunities

This indicator is intended as a trend analysis tool and should be used together with your own trading strategy.
Versionshinweise
# SMA Perfect Order Entry

A simple trend-following indicator designed to identify trend direction and potential entry timing using multiple Simple Moving Averages (SMAs).

This indicator combines Perfect Order analysis, short-term momentum visualization, and filtered moving average crossover signals.

## Features

- Displays 5, 20, 60, 100, and 200 Simple Moving Averages (SMAs).

- Highlights the background when a strong trend structure is formed:
Bullish Trend:
5 SMA > 20 SMA > 60 SMA > 100 SMA

Bearish Trend:
5 SMA < 20 SMA < 60 SMA < 100 SMA

- Fills the area between the 5 SMA and 20 SMA to visualize short-term momentum:
Green: 5 SMA above 20 SMA
Red: 5 SMA below 20 SMA

- Filtered entry signals:

Bullish Signal ▲
Appears when:
- 5 SMA crosses above 20 SMA
- Short-term trend structure is bullish (5 > 20 > 60)

Bearish Signal ▼
Appears when:
- 5 SMA crosses below 60 SMA

- Alert support for both bullish and bearish signals.

## Purpose

The goal of this indicator is to reduce unnecessary crossover signals by combining moving average alignment with trend confirmation.

It is designed for swing traders and trend-following strategies, helping traders identify:

- Trend direction
- Momentum changes
- Potential entry opportunities

This indicator is intended as a trend analysis tool and should be used together with your own trading strategy.
Versionshinweise
**Update Notes**

* Updated the bullish signal condition:

* An up arrow appears when the 5 SMA crosses above the 20 SMA while the short-term structure is bullish: **5 SMA > 20 SMA > 60 SMA**.

* Updated the bearish signal condition:

* A down arrow now appears when the 5 SMA crosses below the 60 SMA.
* The bearish signal no longer requires a Perfect Order condition, allowing earlier detection of a potential trend breakdown.

* Updated the alert condition to trigger when either the bullish entry signal or bearish breakdown signal appears.

* Revised the alert title and message to reflect the new asymmetric signal logic.
Versionshinweise
**Update Notes**

* Bullish signal: 5 SMA crosses above 20 SMA while **5 > 20 > 60**.
* Bearish signal: 5 SMA crosses below 20 SMA while both the 5 SMA and 20 SMA are pointing downward.
* Removed the previous candlestick and swing-high filters.
* Updated alerts to reflect the revised signal conditions.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.