JustUncleL

Candlestick Trend Indicator v0.5 by JustUncleL

Requested Update to this Indicator alert project. In this update I have added the option to be able select which Price Action candles you want included in the display and the generated alarm Alert. Other changes also included in this update:
  • Also added a Price Action candle for "Last Fractal S/R Break", this also a good continuation indication.
  • Added option to select a different moving average types for directional MA line.
  • Modified some default settings, using HullMA instead of Zero Lag EMA and standard MACD settings(12,26,9).

Description:
This is a trend following indicator and alert for Binary Options based on Candlestick patterns and trend line -
NOTE: original system was a forex trading system.
This code combines a number of indicators to create an overall trading strategy.
The indicator recognises and displays some useful candle named defined patterns that are used to support trend continuation:
Also recognises main Price Action candles from ChrisMoody ( CM ), the four(4) price action patterns are colored coded bars:
  • Yellow = Inside Bar - breakout/continuance
  • Orange = Outside Bar - breakout/continuance
  • Aqua/Fuschia = Up/Down Shaved Bars - Buying/Selling pressure
  • Red/Green = Possible reversal PinBars - Reverse Down / reverse Up

The highlighted candles (maroon and darker green) represent the defined PA patterns that have been confirmed following the current trend direction that is indicated by the Hull MA(20) line (can select a different type of MA, or even disable) and confirmed by MACD direction (can be disabled). The confirmed Alerts are indication by green (buy) and red (sell) dots at the bottom of the chart. An alert is generated from this selection for the alert condition of the alarming system.
The fractal upper/lower break lines are also draw, if the (optional) last fractal break line is broken by a highlighted bar then this indicates a stronger trend conformation.
The MACD indicator MACD DEUTER 2 colour(12,26,9) you can visually see the MACD histogram colours with MACD direction - needs "MACD DEUTER 2 colour" indicator.

This multi-indicator set up is suitable for 1hr, 4hr and daily charts with 1-4 candle expiry.

References and Inspiration from:
Remover dos scripts favoritos Adicionar aos scripts favoritos
JustUncleL
Hey Unc! Why does the hull ma change from red to green back to red. What moving average crosses are they to have them switch colors? I am trying to code a bot that buys when the hullma is green and sells when the hullma is red, and was wondering which moving averages cause them to change colors. Thanks!
Resposta
@p298, No MA cross, the color is change because of the slope, positive slope = green, negative slope = red.
Resposta
p298 JustUncleL
@JustUncleL, Okay, thanks for getting back to me! How can I add alerts to when the color of the hull ma changes? Or if I am making a bot on mudrex what could I do that would sell and buy when the color shifts? Thanks again
Resposta
@p298, I don't think that is possible without some additional code.

The MA color change was never part of the original trading strategy idea, the trade signals are supposed to be the supportive candle patterns.
Resposta
Hello Unc, I really do appreciate your efforts on this trendline indicator. Any chance you have the code for mql4? Ty
Resposta
@dropnby, Sorry I don't code in MQL. I have seen similar indicators in MT4 though, try this resource
https://www.forexstrategiesresources.com/
Resposta
Great work Unc! have fumbled around for an hour trying to create an alert when the MACD line changes between green and red... any thoughts on how i can add this to the script?

Thanks for the help
Resposta
cryptoprovoked cryptoprovoked
@cryptoprovoked, nvmd... was able to find the plot that corresponded to it. (zlema)
gracias
Resposta
JustUncleL cryptoprovoked
@cryptoprovoked, Actually recently I don't believe the MACD part of this indicator is that important, I would place more importance on Fractal breaks and the big trend curve, but I have not traded this indicator for some time so I could be wrong.
Resposta
잘쓰겠습니다
Resposta
Início Rastreador de Fundamentos Rastreador Forex Rastreador de criptomoedas Calendário econômico Como Funciona Recursos gráficos Preços Regras da Casa Moderadores Soluções para sites e corretoras Widgets Soluções em Gráficos Central de Ajuda Solicitação de recurso Blog & Notícias FAQ Wiki Twitter
Perfil Configurações de perfil Conta e cobrança TradingView Coins Meus Tíquetes de Suporte Central de Ajuda Ideias Publicadas Seguidores Seguindo Mensagens Privadas Conversa Deslogar