Gösterge
Grid
NAS100
NZDUSD
Breakout
XAUUSD
Commodities
Martingale
Forex
Signal
EURUSD
Bollinger
GBPUSD
BTCUSD
AI
ZigZag
Indices
Prop
Stocks
Supertrend
Crypto
USDJPY
Scalping
Trend Cycle
.png)
05/11/2025
Desktop

Trend Cycle is a trend analytics tool that focuses on trend duration, not just direction.
It:
- Detects bullish and bearish trends based on the slope of a Hull Moving Average (HMA).
- Counts how many bars the current trend has been active (Real Length).
- Stores the lengths of recent up-trends and down-trends separately.
- Computes the average length of bullish and bearish trends (Bull avg / Bear avg).
- Draws:
- A green HMA during bullish trends and red HMA during bearish trends.
- Horizontal projection lines at the start of each trend, with a label like
PL: 18(Probable Length in bars). - A live label near the current price showing trend direction and Real Length.
- A display panel with:
- average bullish and bearish trend duration,
- lists of recent trend lengths (up to the selected sample size).
The goal is to help you answer:
“How old is this trend, and how long do trends like this usually last?”
How it works (logic)
- Hull Moving Average (HMA)
The indicator calculates a Hull Moving Average of the close price using the HMA Smoothing Length parameter.
The HMA is smoother than a simple/EMA but responds quickly to direction changes. - Trend detection by slope
Over the last Trend Detection Sensitivity bars, it checks the HMA:
As long as a trend is defined, a counter (Real Len) is increased each bar, representing the duration of the current trend. - If HMA has been strictly rising → trend is bullish (↑).
- If HMA has been strictly falling → trend is bearish (↓).
- Otherwise, it keeps the previous trend state.
- Recording trend lengths
When the trend flips from bullish to bearish or vice-versa: - The duration of the completed trend is stored:
- bullish trends into the bullish list,
- bearish trends into the bearish list.
- Each list is limited by Trend Sample Size (e.g. last 10 trends).
- These samples are used to compute:
- Bull avg = average bullish trend length.
- Bear avg = average bearish trend length.
- Probable Length projections
At the start of each new trend, if there are enough samples:
These projections are kept on the chart as history so you can visually compare predicted vs actual trend durations. - It calculates the average length for that trend type (bullish or bearish).
- Draws a horizontal line from the trend start bar for approximately that many bars.
- Places a label at the centre of the line:
PL: X→ Probable Length = X bars.
- Live label
On every bar, the indicator draws a single live label near the HMA:
This shows current trend direction and exactly how many bars it has lasted so far. - Example text:
Trend ↑Real Len: 7
- Colour:
- Green (↑) for bullish trends
- Orange/red (↓) for bearish trends
- Display panel (bottom left)
When Show Display Panel is enabled, a static text panel appears in the corner of the chart showing:
This acts as a quick statistical overview of recent trend behaviour on that symbol/timeframe. - Title: Trend Cycle
Bull avg: X barsBear avg: Y barsBull samples:list of recent bullish trend lengthsBear samples:list of recent bearish trend lengths
How to read it in practice
- Green HMA + “Trend ↑”
→ A bullish trend is active.
→Real Lentells you how many bars it has lasted so far.
→ The most recentPL: Xline gives you a visual idea of how long similar bullish trends tend to run. - Red HMA + “Trend ↓”
→ A bearish trend is active.
→Real Len= age of the current downtrend.
→ Compare Real Len vsBear avgin the panel to see if the move is young or mature. - When Real Len approaches or exceeds the average (Bull avg / Bear avg):
→ The current trend is statistically “old” compared to recent history.
→ You may choose to: - tighten stops,
- lock in profits,
- be more cautious with fresh entries in that direction.
- Short trends vs long trends
- Many very short trends → choppy / mean-reverting environment.
- Few long trends → more directional market, with extended moves.
0.0
Değerlendirmeler: 0
Müşteri değerlendirmeleri
Bu ürün için henüz bir değerlendirme yok. Ürünü denediniz mi? O zaman ona dair görüşlerini paylaşan ilk kişi olun!
Bu oluşturanın diğer ürünleri
Şunları da beğenebilirsiniz
.jpg)
.jpg)
.jpg)
.jpg)
.jpg)
.jpg)
.png)
.png)
.png)
 (1).png)
.png)
.jpg)
.png)
.png)
.png)
.png)
.png)
.png)












!["[Hamster-Coder] Moving Average" logosu](https://market-prod-23f4d22-e289.s3.amazonaws.com/fd853887-8360-4212-b037-22b554a23dc6_hamster-coder-2.jpg)



