Alım-satım robotlarını ücretsiz olarak nasıl indirebileceğinizi izleyin
Bizi Facebook üzerinde bulun!
Fan sayfamıza katılın
Kodu ilginç mi buldunuz?
Öyleyse bir link gönderin -
başkalarının da faydalanmasını sağlayın
Kodu beğendiniz mi? MetaTrader 5 terminalinde deneyin
Göstergeler

Geometric signal validation for indicator signals - MetaTrader 5 için gösterge

Conor Mcnamara
Conor Mcnamara
I started learning C programming in 2010. From there I picked up many languages.
I'm working on several indicator projects and EA concepts.
Görüntülemeler:
1474
Derecelendirme:
(4)
Yayınlandı:
MQL5 Freelance Bu koda dayalı bir robota veya göstergeye mi ihtiyacınız var? Freelance üzerinden sipariş edin Freelance'e git

It is known that many signal indicators produce false signals. Geometric signal validation is a means to remove these false signals in real-time and leave the other signals as they are. In geometric signal validation, a false signal is one which would produce a geometrically impossible zigzag leg. An indicator that would paint a buy signal when the market goes down has painted a geometrically invalid entry signal, and therefore you could respect that it is a false signal because of that. Geometrically invalid signals are essentially unsafe or false signals.

Knowing how many indicators are notorious for producing false signals, the signals that they immediately produce should not always be seen as entry signals, they should be seen as candidate signals.

In this engine, signals that an indicator produces (in this case Donchian channel lines) are the candidates for low and high pivots. They all need to be validated. Zigzag-based logic is used to connect each of the candidate signals that the indicator produced, and if one of the candidates produces a geometric impossibility, it is seen as a false signal and the pivot search state remains unchanged.

When a zigzag comes to mind, you are probably imagining an indicator with logic driving the zigzag, but the script is flipped here, as this is not a zigzag, it is a validator.

When a leg concludes its search, it records the price, and changes search state. This change of search state is also the confirmation of the pivot. Confirmed pivots are marked with arrows, and geometric anomalies (the false/dangerous signals) are marked with arrows and an X graphic striking through it.

The signal validation can be done on any signal indicators, the Donchian channel is used here for example purposes. To understand it more clearly, you can study the code which I commented, and also run it visually in the strategy tester.

Geometric signal validator

Multi Forex Scanner MT5 Multi Forex Scanner MT5

Instead of having to analyze each pair individually, you can see at a glance what are the most promising pairs according to your own criteria.

Universal Breakout Study Universal Breakout Study

Universal Breakout Study is a research-focused Expert Advisor for MetaTrader 5 designed to analyze and optimize range breakout strategies. It provides flexible parameter testing, fast optimization, and a structured framework for validating trading ideas using historical data and forward testing.

002 - Inside Bar 002 - Inside Bar

Expert Advisor for testing the Inside Bar continuation hypothesis. The EA places pending orders in the direction of the Main Bar after a valid Inside Bar pattern is detected, with optional ATR and pattern quality filters.

ADX Trend Pullback EA ADX Trend Pullback EA

This Expert Advisor combines an ADX-based trend strength filter with an EMA pullback entry technique, using ATR for dynamic stop loss and take profit sizing. It is designed for trading a single symbol with one position open at a time.