fxDreema

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

    Need help MACD EA wont work

    Questions & Answers
    3
    12
    1851
    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
      sonixhd3 last edited by sonixhd3

      Hello! I made a EA which unfortunately doesnt work like it should work.
      The histogram crosses above the signal line buy below zero line and close if the signal line crosses the main line below above zero line.For sell the opposite way. But it wont close the trades
      Here the way it should "normarly" work:
      0_1594684449266_terminal64_2tXnf1dR4o.png
      EA:
      0_1594736904326_firefox_jmLTnWdlZR.png
      Here a link to the EA:
      https://fxdreema.com/shared/lrghDXGC

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

        Can someone help me please? @l-andorrĂ  @fxDreema @roar @Mirotrader @Miro-Bagrov @miro1360 @CPBonzo

        roar 1 Reply Last reply Reply Quote 0
        • roar
          roar @sonixhd3 last edited by

          @sonixhd3 don't see the error, but let me build you a more optimized version, maybe it works

          Need small help? Tag me in your post
          Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

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

            Here: https://fxdreema.com/shared/Zfrd2IUBd

            Tips:

            • you dont need group numbers if you have only one entry logic for a direction (sell or buy)
            • you can "set current timeframe" in one block above the others
            • define constants for macd input parameters, so you can change them for all blocks at once:
              0_1594739930437_7b20ffd2-1074-46a7-bb78-f54192b7ab9f-image.png
            • (apply the constant by right-clicking, or just type its name in the field)
              0_1594739979638_93d13d61-8fa4-4005-a1a8-4b67a6a568ff-image.png

            Need small help? Tag me in your post
            Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

            1 Reply Last reply Reply Quote 1
            • G
              gunji80 last edited by

              i don't think any of those will work as you have to many close trade blocks and to many connections too the orange dot. here is a project I made with mac-d I added a candle condition for optimisation. https://fxdreema.com/shared/uC35IQODd

              1 Reply Last reply Reply Quote 1
              • G
                gunji80 last edited by

                it could be better with a directional indicator added or some variables added to try avoid pull back in the market I would like to use zigzag as a confirm direction in this project but I have no idea how to incorporate it but still triing 8-)

                1 Reply Last reply Reply Quote 1
                • S
                  sonixhd3 last edited by

                  Thanks! Now it works, but dont know how to optimize it further without letting pc run 10 hours a day for the full optimizing option on mt5.

                  Hope you can help me @roar and give me some tips! Would appreciate it!

                  Here my current version:
                  https://fxdreema.com/shared/VHV7kDU8

                  These are my results with backtesting from this year:
                  0_1594834477193_terminal64_IemNLY3yXc.png

                  roar 1 Reply Last reply Reply Quote 0
                  • roar
                    roar @sonixhd3 last edited by

                    @sonixhd3 to speed up optimization, you can use open prices modelling, because your system is based on "once per bar" logic. Also remember to use genetic algorithm.

                    My thoughts on the system itself:

                    • Trading 1-minute chart will be tough. Your win-loss ratio will be very close to 50:50, maybe 51:49, but commissions will take a big piece from both trades, wins and loses. I'd consider M5 or even M30. I target around 200-500 trades per year (on netting account).

                    • Also, MACD system could use some volatility filtering, for example ADX. Myself I prefer to compare the ratio between 144-ATR and 13-ATR, but thats bit more technical to set up and read..
                      0_1594837381299_c136df91-1e5e-4da6-b089-045eecfc2f12-image.png

                    Need small help? Tag me in your post
                    Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

                    1 Reply Last reply Reply Quote 1
                    • S
                      sonixhd3 last edited by

                      Wow, thanks again! People would properly pay for such help, so thanks again! Maybe the 30min chart would really be the better chart for the EAs win-loss ratio. I dont know much about ADX but I am going to learn how to use it.

                      1 Reply Last reply Reply Quote 1
                      • S
                        sonixhd3 last edited by

                        Hey @roar wanted to ask how did you managed to get both ATR(13) and ATR(144) in one indicator? Hope you arent angry because of my beginner questions.

                        roar 1 Reply Last reply Reply Quote 0
                        • roar
                          roar @sonixhd3 last edited by

                          @sonixhd3 open the navigator pane in mt5 and just drag and drop indicators in the same window. Then go to indicator properties and set scale to "Inherit scale".
                          This is just a visual thing for planning the EA, there is no technical difference whether the indicators are in same window or separate. Fxdreema-made EA will always draw the indicators in separate windows.

                          Hope you arent angry because of my beginner questions.

                          Its no problem lol

                          Need small help? Tag me in your post
                          Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

                          1 Reply Last reply Reply Quote 1
                          • S
                            sonixhd3 last edited by

                            @roar thx again lol. Thought it is annoying that some stranger ask you every day something else.

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

                            Online Users

                            J
                            T
                            J
                            B

                            18
                            Online

                            146.7k
                            Users

                            22.4k
                            Topics

                            122.6k
                            Posts

                            Powered by NodeBB Forums | Contributors