OPEN-SOURCE SCRIPT

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:
  • Bearish + Bullish PinBars
  • Dark Cloud Cover
  • Piecing Line
  • Bullish + Bearish Harami
  • Bullish + Bearish Engulfing Candle
  • Bullish + Bearish Last Fractal S/R break


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:

binaryoptionCandlestick AnalysiscolouredFractalMoving Average Convergence / Divergence (MACD)priceactionTrend Analysis

오픈 소스 스크립트

진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

차트에 이 스크립트를 사용하시겠습니까?


JustUncleL

면책사항