fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search

    Smoothed Heikin Ashi

    Questions & Answers
    3
    3
    2375
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      b.seow last edited by

      Hi,
      I am trying to create an EA that buys when the smoothed heikin ashi indicator turns green and sell when the heikin ashi turns red.
      Attached is the indicator. Can someone show me how it can be done?[0_1528996351234_Heiken_Ashi_Smoothed.mq4](Uploading 100%)

      1 Reply Last reply Reply Quote 1
      • fxDreema
        fxDreema last edited by

        @b-seow said in Smoothed Heikin Ashi:

        Heiken_Ashi_Smoothed.mq4

        Better find out what is inside the output buffers with that Trace block. Here is an example of how to use it: https://fxdreema.com/demo/mt4-trace-multiple

        What I can tell you for Heiken Ashi is that even the built-in Heiken Ashi indicator (that comes with MetaTrader) is a little bit weird. The information in the output buffers is not that easy to use. There is also difference between MT4's version and MT5's version of this indicator, they don't output the same kind of information. So, in fxDreema I added extra layer of input and output parameters, so the indicator can be used in the same way in MT4 and MT5, easily.

        0_1529090934923_29108e93-fd89-40b3-bba9-49325ee0014f-image.png

        Look at those input parameters above... they don't exist in the original indicator that is used.

        Look at how buffers switch from top to bottom and from bottom to top (and the pink and yellow lines cross):
        0_1529091498565_7ddaac1d-86c2-412f-89ad-e34c6ad1cfe7-image.png

        How to detect the first red candle... it appears when the Buffer 0 (the yellow line) crosses Biffer 1 (the pink line). Try something like this:
        0_1529091612364_e9fcc8c7-d803-42ee-a8d9-9fed7cdaa75b-image.png

        F 1 Reply Last reply Reply Quote 0
        • F
          fxgump @fxDreema last edited by

          @fxdreema Can you share the Heiken_Ashi-Smoothed indicator?

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post

          Online Users

          X
          A

          8
          Online

          146.8k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors