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.
رد
잘쓰겠습니다
رد
الصفحة الرئيسية منصة الأسهم منصًة العملات منصّة العملات الرقمية جدول الأعمال الاقتصادي برامج تعليمية كيف نعمل مميزات الرسم البياني أسعار العضوية قوانين الموقع المشرفون حلول المواقع الإلكترونية والوسطاء الأدوات حلول الرسوم البيانية مكتبة الرسوم البيانية صغيرة الحجم مركز المساعدة إحالة صديق طلب الخصائص المدوّنة والأخبار الأسئلة الأكثر شيوعًا معرفة تويتر
الملف الشخصي إعدادات الصفحة الشخصية الحساب وإعداد الفواتير إحالة صديق تذاكر الدعم الخاصة بي مركز المساعدة التحاليل المنشورة المتابعين تتابع رسالة خاصة المحادثة تسجيل الخروج