fxDreema

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

    Need help with a custom indicator (HMA hulls moving average)

    Questions & Answers
    5
    6
    1929
    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.
    • S
      scottpapetti last edited by

      I'm trying to add HMA (Hulls Moving Average) into my EA, I'm having troubles with adding in a condition for the bot to pick up when the HMA turns Green or Red. I'm not sure what condition to add to have the bot pick up when it switches to enter and exit trades.
      Any help is very much appreciated!

      here is the indicator:
      0_1569271763481_hma-trend-indicator.mq4

      1 Reply Last reply Reply Quote 0
      • T
        trader.philipps last edited by

        The indicator has 2 buffers. The sequenceit shows values in price is:

        1. long (green) -> price display
        2. short (red) -> price display
        3. long (green) -> price display AND short (red) -> price display // In this case there is a change in direction.

        I would use one of the block "Indicator is visible" or Indicator is invisible" if you just want to check the HMA trend.

        In case you want to catch the colour change, you may try "Indicator appear" or "indicator disappear", but I haven't use those blocks, yet.

        I like to share my knowledge, but expect the others to contribute as well.

        1 Reply Last reply Reply Quote 0
        • T
          trader.philipps last edited by

          @scottpapetti I clicked the stuff together how I would start with it.
          0_1569278250322_HMA_Sample.mq4

          Maybe that helps you for starting.

          I like to share my knowledge, but expect the others to contribute as well.

          1 Reply Last reply Reply Quote 0
          • S
            sli1 0 last edited by

            what I did with my HMA was simply, you load it on a chart and confirm which colour refers to which buffer <colour not important>. upload the indicator to my indicators and on the condition box select, my indicators on LHS, select the buffer > and on the RHS use value and numerical 1. There is a post here somewhere that all buffers return a high value when triggered <cant remember it at the moment> it returns a value 0 if not triggered.
            2. I just ran a draw line at this buffer, to confirm it was reading the buffer as sometimes the colours are just painted.
            3. you will have to do it on bar 1

            It took a bit off research to find a HMA that gave buffers for me to read

            Zackry 1 Reply Last reply Reply Quote 0
            • Zackry
              Zackry @sli1 0 last edited by

              @sli1-0 said in Need help with a custom indicator (HMA hulls moving average):

              HMA that gave buffers for me to read

              sli1-0 can you please share the HMA that allow to read the buffers ?

              J 1 Reply Last reply Reply Quote 0
              • J
                joemarkey6 @Zackry last edited by

                @zackry Hi, Im interested in finding the same thing but I would like it for MT5 instead of MT4, any suggestions would be appreciated cheers

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

                Online Users

                R
                F
                S

                16
                Online

                146.7k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors