Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Views:
3670
Rating:
(8)
Published:
2025.03.20 15:08
Updated:
2025.03.20 19:49
MQL5 Freelance Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

This is a static zigzag which connects the intersections of two moving average crossovers. It is another way to analyse moving averages.

When the fast period moving average crosses above the slow period moving average, it is a buy signal, and when the fast period moving average crosses under the slow period moving average, it is a sell signal. The zigzag will be forming a green leg at the bullish crossover, and will start the red leg at the next bearish crossover. 

As the zigzag is static, it is to be read a certain way:

The formation of a downwards facing red leg is a buy signal, because the next leg will be green.

The formation of an upwards facing green leg is a sell signal, because the next leg will be red.

A backstep is used to help the zigzag legs become valid, and to push away noise that moving averages are naturally victim to. It is up to you which moving average periods work best. This is an experimental indicator with a new zigzag structure that's organized with enum cycles.


Introsort (Introspective sort) using Function Pointers Introsort (Introspective sort) using Function Pointers

A hybrid sorting algorithm that provide fast performance for sorting arrays of simple types, structures or object pointers.

Supertrend Supertrend

A SuperTrend indicator that plots trend direction using ATR volatility to create dynamic support/resistance levels for MetaTrader 5.

FVG based Momentum Detection FVG based Momentum Detection

This is an indicator that evaluates FVGs in the inputted "window_size" to detect momentum or trend strength.

Breakout Finder by LonesomeTheBlue Breakout Finder by LonesomeTheBlue

This is the exact conversion from pine script code by LonesomeTheBlue.