alexgrover

Vanilla ABCD Pattern

Patterns makes parts of the many predictive tools available to technical analysts, the most simples ones can be easily detected by using scripts. The proposed tool detect the simple (vanilla) form of the ABCD pattern , a pattern aiming to detect potential price swings. The script can use an additional confirmation condition that aim to filter potential false signals.

ABCD PATTERN

The ABCD pattern is not meant to be detected by analyzing individuals closing price observations but by analyzing longer term movements, this is done by using tools such as zig-zag . Like any pattern the ABCD one comes in different flavors, the simplest being based on the following structures:


Once price reach D we can expect a reversal. The classical pattern has the following conditions : BC = 0.618*AB and CD = 1.618*AB, as you can see this condition is based on 0.618 which is a ratio in the Fibonacci sequence. Other conditions are for AB to equal to CD or for CD to be 161.8% longer than AB. Why these conditions ? Cause Fibonacci of course.

The ABCD pattern that the proposed tool aim to detect is not based on the zig-zag but only on individual price observations and don't make use of any of the previously described conditions, thus becoming more like a candle pattern.


When the label is blue it means that the tool has detected a bullish ABCD pattern, while a red label means that the tool has detected a bearish ABCD pattern.

We can't expect patterns based on the analysis of 1,2,3 or 4 closing price observations to predict the reversal of mid/long term movements, this can be seen on the above chart, but we can see some signals predicting short term movements.

Since the pattern is based on a noisy variation, using smoother input can result in less signals.


Above the tool on BTCUSD using closing price as input. Below the tool using ohlc4 as input:


TOOL OPTIONS

Being to early can be as devastating as being to late, therefore a confirmation point can be beneficial, the tool allow you to wait for confirmation thus having a potentially better timing. Below is a chart of AMD with no confirmation:


As we can see there are many signals with some of them occurring to early, we can fix this by checking the confirmation option:


The confirmation is simply based on the candle color, for example if a bearish ABCD pattern has been detected in the past and the closing price is greater than the opening price then the tool return a buy signal. The same apply with a bearish ABCD pattern.

The "last bar repaint" option is true by default, this in order to show the bar where the D point of the pattern has been detected, since the closing price of the last bar is constantly changing the signals on the last bar can be constantly appearing/disappearing, unchecking the option will fix this but will no longer the bar where the D point of the pattern has been detected.

SUMMARY

The pattern is simple and can sometimes be accurate when predicting the direction of future short terms movements. The tool was a request, as it seems i don't post many pattern detectors, well thats true, and the reason is that for me patterns are not super significant, and their detection can be extremely subjective, this is why simple patterns are certainly the only ones worth a look.

Don't expect me to post many pattern related indicators in the future ^^'
Eliminar de Scripts favoritos. Añadir a Scripts favoritos.
« Je suis las des cruautés de mes semblables, qui ne sont pas mes pareils.

« Je prendrai l’essor et je m’envolerai vers la mer.

« Je connaîtrai le goût des brises du large. J’entendrai les grands cris de la tempête.

Comentarios

Excellent work
Responder
Nice bit of work Alex, thanks.
+1 Responder
alexgrover aipowertrader
@aipowertrader, Thx for the support ^^
Responder
BRAVO GREAT JOB
YOU RE PUSHISHING AGAIN AND AGAIN ....

THANKS A LOT

PS may be you'll love this wellknown poem

Baudelaire : L'Albatros


Le Poète est semblable au prince des nuées
Qui hante la tempête et se rit de l'archer ;
Exilé sur le sol au milieu des huées,
Ses ailes de géant l'empêchent de marcher.

poème extrait des "Fleurs du Mal"
+2 Responder
alexgrover Cryp0Crypt0
@Cryp0Crypt0, Thx for your comment. Altho i haven't published in an entire week before the PVNO. And thank you for sharing the magnificence of Baudelaire :) Its great to sometimes see some poesy in a comment section.
+1 Responder
Cryp0Crypt0 alexgrover
@alexgrover, ;)
stronger together
Responder
i think ,maybe dont use close,use highest,lowest,highest,lowest,
Responder
alexgrover dsaidasi
@dsaidasi, you can use external outputs from the indicator settings ^^
Responder
Looks good and promising. well done.
+1 Responder
alexgrover LonesomeTheBlue
@LonesomeTheBlue, Glad to hear it, thx for your comment ^^
Responder
Inicio Analizador de acciones Analizador de Forex Crypto Screener Calendario económico Cómo funciona Funcionalidades del gráfico Precios Recomendar a un amigo Normas Centro de ayuda Soluciones broker y sitio web Widgets Soluciones gráficas Biblioteca de gráficos ligeros Blog y Noticias Twitter
Perfil Opciones de configuración del perfil Cuenta y facturación Recomendar a un amigo Mis Tickets de Soporte Centro de ayuda Ideas publicadas Seguidores Siguiendo Mensajes privados Chat Cerrar sesión