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:
  • Fractal Levels by RicardoSantos
  • Almost Zero Lag EMA
  • Candlestick Patterns With EMA by rmwaddelljr
  • CM_Price-Action-Bars by ChrisMoody
  • http://www.forexstrategiesresources.com/candlestick-forex-strategies/1-candlestick-trend/
  • "Scalp Jockey - MTF MA Cross Visual Strategizer by JayRogers"

從喜愛的腳本中移除 添加到喜愛的腳本
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!
回覆
@p298, No MA cross, the color is change because of the slope, positive slope = green, negative slope = red.
回覆
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
回覆
@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.
回覆
Hello Unc, I really do appreciate your efforts on this trendline indicator. Any chance you have the code for mql4? Ty
回覆
@dropnby, Sorry I don't code in MQL. I have seen similar indicators in MT4 though, try this resource
https://www.forexstrategiesresources.com/
回覆
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
回覆
cryptoprovoked cryptoprovoked
@cryptoprovoked, nvmd... was able to find the plot that corresponded to it. (zlema)
gracias
回覆
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.
回覆
잘쓰겠습니다
回覆
首頁 股票篩選器 外匯篩選器 加密貨幣篩選器 全球財經日曆 節目 如何運作 圖表功能 價格 網站規則 版主 網站 & 經紀商解決方案 小工具 圖表解決方案 輕量圖表庫 幫助中心 推薦朋友 功能請求 部落格 & 新聞 常見問題 維基 推特
概述 個人資料設定 賬戶和賬單 推薦朋友 我的客服工單 幫助中心 發表的想法 粉絲 正在關注 私人訊息 在線聊天 登出