fxDreema

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

    Heiken Ashi imput parameters

    Questions & Answers
    2
    6
    970
    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.
    • E
      Emilia last edited by

      I like the inclusion of Haiken Ashi in the default indicators. I like the current setting giving us to use the cross.
      Unfortunately, unlike the other indicators, I can not find a direct imput parameters settings.
      I need to imput my parameters just like every other indicator.
      Is it ok to imput the parameters as variable?
      I need to Input the following Parameters:
      int MaMethod
      int MaPeriod
      int MaMethod2
      int MaPeriod2

      Below is what I have tried but no trade has been taken so far.

      ......
      x.jpg

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

        This option is for "MQL4/Indicators/Heiken Ashi.mq4", which comes with MetaTrader 4. This indicator has 4 inputs for colors, but I can't find any inputs for MA periods or anything similar

        1 Reply Last reply Reply Quote 0
        • E
          Emilia last edited by

          You are right. The one that has parameters is actually Heiken Ashi smoothened.
          I will try and replace the one that came with mt4 and see how it goes as it also has 4 buffers of 2 pairs of colors. Red, white, red and white.
          Thank you. The Heiken Ashi cross is really a very good strategy.

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

            If you replace the file, then you must have 4 input parameters of "color" datatype. Not more, not less, but exactly 4. Otherwise the indicator will not be loaded. And also the buffers must work the same way.

            It's interesting that the MQL5 version of HeikenAshi outputs differently for it's buffers. They are O, H, L and C. But in "Condition" I did it in a way to work the same in MQL4 and MQL5

            1 Reply Last reply Reply Quote 0
            • E
              Emilia last edited by

              Thanks once more. It has 4 input parameters of "color" datatype as per attached.

              ......
              Screenshot_5.jpg

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

                Again, if you don't use the exact number and data type of input parameters in iCustom, the indicator is not loaded properly and there are lots of error messages in the logs. Try it and you will see. But I will do nothing for your indicator, because as I said - it has nothing to do with MetaTrader 4 itself, this is just another custom indicator made from someone that is not from MetaQuotes. There is no place for non-MetaQuotes indicators in "Condition -> Indicator"

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

                Online Users

                H
                B
                B
                A
                L
                P
                J
                K
                E
                A
                M
                S

                21
                Online

                146.9k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors