Forex Blog

First-hand Forex trading experience and information about foreign exchange market that will be useful to traders

Archives

MetaTrader Notification of Candle Wicks (Shadows)

January 10, 2011 (Last updated on May 10, 2011) by

Few days ago a member of our Forex forum has asked for an EA (he actually meant an indicator) that would notify him by e-mail whenever a candlestick closes with a wick (shadow) exceeding a certain length. I couldn’t find such an indicator on-line and decided to code one myself. Since it doesn’t indicate anything on the chart, I didn’t want to add it to the list of the MetaTrader indicators — it’s a just a notification script after all — so, I’ve decided to share it here. You can download this indicator for MT4 or MT5 for free:

It’s quite customizable. You can change the following input parameters to fit it to your trading needs:

  • UpperWickLimit and LowerWickLimit — the length of the wicks (shadows) in pips that would trigger the alert.
  • WaitForClose — wait for the candlestick to close before analyzing it for alert. Keeping it “true” is recommended.
  • EmailAlert — send an e-mail alert.
  • SoundAlert — use a sound alert.
  • VisualAlert — use a visual MetaTrader-style alert.

Update: There is now an improved version of this indicator with candle wick length display on chart.

If you have any comments or questions about this candlestick notification indicator, please, reply using the form below.

9 Responses to “MetaTrader Notification of Candle Wicks (Shadows)”

  1. sb

    hi, the first option. to show only 1/3 top/bottom of candle.
    thanks.

    Reply

  2. khairul

    just get mt4
    how to get ex4 ?
    help me bro

    Reply

    admin Reply:

    To get ex4 out of mq4, please read this tutorial:
    https://www.earnforex.com/blog/2008/01/metatrader-indicators-user-tutorial/

    Reply

  3. Cuong

    I like your candle bar indicator.
    I’ve create a thread on mql.com for you to see related to it.
    I was wondering if you can code it.

    https://www.mql5.com/en/forum/40612

    Reply

    Andriy Moraru Reply:

    Look at this indicator:
    https://www.earnforex.com/metatrader-indicators/Pinbar-Detector

    It has a lot of settings that can be tuned to make it look for your pattern.

    Reply

  4. Richard Waingold

    Hello,

    Does the candle with wick alert work with renko bars? If not, could you adapt it to do so? I really have no interest in the length of the wick, but rather just to be alerted that a renko bar has closed with a wick.

    Your help would be much appreciated.

    Thank you.

    Richard

    Reply

    Andriy Moraru Reply:

    No, Renko in MT4 is a custom indicator itself. Either a new indicator should be coded to read the Renko output values and issue alerts, or the default Renko indicator should be modified to alert on certain values.

    Reply

  5. Art Baker

    HELP, my candle wicks disappeared, how do I get them back, please?

    Reply

    Andriy Moraru Reply:

    If they are gone from the list of indicators in the Navigator window, you would need to download and install them again. If they are just gone from the chart, then attach the indicator to the chart once more.

    Reply

Leave a Reply

required
required (will not be published)