fxDreema

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

    Here, take this profitable ea

    Tutorials by Users
    29
    78
    22442
    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.
    • roar
      roar last edited by roar

      Last year (May 2017) I made some very simple ea based on bollinger bands and rsi. Today I backtested it again and surprisingly it would have worked the last year similar to the earlier years. This is not very common in backtesting - usually the bots fail after the period they are initially tested and developed on.

      Feel free to use this ea (as an example, start point, inspiration, what ever). Maybe you can even improve it.
      Note: this only works on a mt5 netting method account
      https://fxdreema.com/shared/pTIbLpWob

      0_1528134336412_Roar v1.0.ex5

      0_1528134269821_3c994f61-51da-49bc-adab-cf02bbd7ac15-image.png


      Update 30.12.2022: Bot seems to be working still, without any changes since 2017

      0_1672405015592_fe814329-5ac4-4031-94d8-a1be8fbac7bb-image.png


      Update 29.8.2023: Refactored the EA to work on modern hedging method mt5 accounts. Also simplified the strategy to what matters the most (theres lots of useless stuff in original version), in essence the strategy is this:

      • Build long/short positions with RSI
        - When above 70, sell
        - When below 30, buy
        - Before selling/buying another time, wait for the RSI to visit level 50
      • There must be a mechanism that favors closing the positions rather than letting long/short position grow bigger and bigger
        - Only allow the position to grow if price is above daily median (buy) or below median (sell)
        - Trades that shrink the total position don't have that rule, so positions naturally stay small
      • Lastly, limit the trading actions to more volatile half of the day by comparing fast and slow ATR values

      The reduced strategy is not quite as profitable as the original one, but still clearly on the black after 6700 trades. Feel free to add your ideas to this.

      https://fxdreema.com/shared/rCGHpDKod
      8e5a48c7-be90-46da-90c0-f4dc58f6fa05-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

      R FXAmoneymaker F 3 Replies Last reply Reply Quote 6
      • drayzen
        drayzen last edited by drayzen

        I thought there'd be a few thank you's here by now, so cheers from me! 😄
        I'd planned to come back after playing with it for a bit, but thinking I won't have time for a while.
        Initially wondering if a 'No Trade' instead of the 'Once per bar' would enable more opening opportunities? (just thinking of my own issues with having it first)
        ... and Buy/Sell % of x.

        Gonna take me some time just to work out what you're doing...
        Can you outline the basic principles?
        I can see BB, ATR and RSI. Is it Buy/Sell when all meet High/Low conditions?
        Is there also a calculated BB signal in there? High/Low against default?
        Most of the Variables are on/off toggles correct?

        Sounds like you haven't been trading with it, any reason?

        p.s. I was right about you being a Variable junkie! ;D

        ..the alien does not concern itself with the opinions of humans..

        roar 1 Reply Last reply Reply Quote 2
        • roar
          roar @drayzen last edited by roar

          @drayzen hahaha 😄
          As I said, this is a year old project, I must recall what I was thinking:

          The core principle is to sell RSI 70 and buy RSI 30 (block 11 downwards).
          I like to use a trigger with rsi, for example: sell at 70, rsi comes back to 50 -> another sell at 70 is now allowed.

          Rest of the blocks are to determine the main market direction, and to restrict selling an uptrend for example.

          Block 2 downwards is checking how many consecutive days rsi is >50 and also price > BB (and vice versa for downtrend) Variables Dd = "days down" and Du = "days up"

          Block 24 downwards is to find high and low point of the last swing (roughly)

          Block 18 downwards is to calculate the midpoint of those highs and lows (variable "med"). This is used to restrict unwanted sells and buys..

          To be honest, I doubt my main trend analysis does any good - the core principle of selling rsi 70 and buying rsi 30 with the trigger mechanism is quite good on its own.
          I havent traded this, didn't trust this enough.

          Initially wondering if a 'No Trade' instead of the 'Once per bar' would enable more opening opportunities? (just thinking of my own issues with having it first)

          I have found it best to always use once per bar. "No trade" would maybe create 0.000001% better trading results, or maybe that much worse - in any case, the difference is not much but it would greatly slow down the backtesting.

          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 0
          • M
            miro1360 last edited by miro1360

            @roar .... start thinking about adx indicator 😄 .... turn off main line and stay only with +DI and -DI 🙂

            it is also one of best indicators to measure currency strength (along with bollinger bands % change)

            Between trading and gambling is a very small gap, be careful.

            roar 1 Reply Last reply Reply Quote 2
            • roar
              roar @miro1360 last edited by roar

              @miro1360 Yes, I have used it too, just like you said 😄
              It is just not very "flexible" for my needs, it heavily depends on the calculation period... My goal is to find a system that can evaluate not only trend from x bars, but also a bit longer and a bit shorter period - the market does not always make x bars cycles

              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 0
              • drayzen
                drayzen last edited by

                Maybe ticks over time period(s)?
                I guess it could then also be used to stay out during quiet times... ?:\

                ..the alien does not concern itself with the opinions of humans..

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

                  @drayzen Nice thought, haven't used tick indicators before.

                  Anyway, I'd say it is not very fruitful to determine quiet periods and not trade in them. That is because of the quietness is very relative, and so you also have to sacrifice some good opportunies if you set a fixed quietness treshold.
                  I think it is better to let the trades open in all conditions, but implement a different risk managing and exit systems for the quiet periods.

                  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
                  • R
                    richard96816 @roar last edited by

                    @roar Thanks for sharing. Lots of ways to use the tools, nice to see someone else's approach.

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

                      @richard96816 Agreed, fxdreema has some very versatile functions. It's very good to see other's ideas too, avoiding "tunnel vision" with the alone development.

                      Some say that sharing good eas doesn't happen because nobody would give away free money like that. I don't believe that approach at all - no matter how profitable your system is, there is always a risk present with trading, and the risk is higher if you don't even know the system you are using. So you have to learn the system, and thus you can also develop it further. Collaborative effort is the way to go

                      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
                      • R
                        richard96816 last edited by

                        I agree. There's an odd paranoia among automated forex traders. When I was trading stocks and futures we were fully aware that if more people used the same system it tended to make that system WORK BETTER. Similar to pumping a stock. More traders pushing the same way.

                        Perhaps the fear is someone will discover the ultra-winning strategy and the authorities will have to outlaw trading or something, because the whole world will be draining currencies. Wow. 🙂

                        1 Reply Last reply Reply Quote 0
                        • K
                          Karoshi last edited by

                          Hi mate, thanks for posting this. is there a MT4 version i can have by any chance please?

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

                            @karoshi
                            There is no MT4 version at the moment. This EA utilizes multiple timeframes and the netting method (no buys and sells at same time). Converting to MT4 is possible but takes some work.

                            Backtested this EA again today, this time with a different broker. Tbh didn't quite expect such a good result, lol 😄
                            0_1552212291214_df821f7b-1870-4887-a33d-d3e83d45c12f-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

                            B 1 Reply Last reply Reply Quote 0
                            • G
                              guss09 last edited by

                              Thanks for the post roar I will check it out

                              1 Reply Last reply Reply Quote 0
                              • B
                                BenTyekiff last edited by

                                HI guys. Thank you so much for sharing your build. It's great to see how others create with dreema and to share ideas. How could we convert this to an MT4 veriosn? I am happy to do it, I just don't know what I would need to do. Once completed I would obviously share my mt4 version on this page.

                                Cheers

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

                                  @bentyekiff
                                  Biggest problem is the netting system. When this bot "buys", it actually closes sell trades if there is a running sell trade. So, converting to mt4, every time there is a buy/sell operation, must check first if there is an opposite trade running, and if true, then close (partially) that opposite trade.

                                  https://fxdreema.com/shared/pTIbLpWob
                                  I can't get the builder open, probably some problem in the fxdreema server, but I think there was also some timeframe modifications - I don't know how mt4 applies multi-timeframe.

                                  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 0
                                  • roar
                                    roar last edited by roar

                                    0_1560627106750_9de0fa9c-5648-4bbe-af3b-c7978efeac34-image.png

                                    Still working, wtf.
                                    I updated the shared project, found one more mistake in it (buys and sells were not symmetrical).
                                    Also added lots relative to balance, so things can get exponential. Proper risk management is for pussies anyway, right?
                                    0_1560627495749_c19663ba-ea06-44e1-99fb-f0fddbb7b945-image.png

                                    I guess I must give this system some live time...
                                    https://fxdreema.com/shared/pTIbLpWob

                                    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 0
                                    • drayzen
                                      drayzen last edited by drayzen

                                      Been away from here for a while..but still sub'd to this. Good to see the 'ol girl still has some life in her! 😉
                                      ..need to get my sub going again as I've got some ideas to build.
                                      Have you had any Myfxbook results for this one?

                                      I've been using a combo of these two for some manual trading lately and had some really clean signals.
                                      Keltner_Chanel: https://www.mql5.com/en/code/8591
                                      Keltner ATR Bands: https://www.mql5.com/en/code/7315
                                      Might give an improvement over the Bollingers..?

                                      ..the alien does not concern itself with the opinions of humans..

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

                                        Nothing on MyFxbook yet

                                        I try to avoid custom indicators, they are a pain, especially with mt5 😄
                                        Might give Keltner a try some time.
                                        However, I like the standard deviation as it has some fundamental statistical reasoning behind it...

                                        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 0
                                        • roar
                                          roar last edited by

                                          Finally got around making the .ex4 version. I hope this will inspire someone to better develop their own systems.

                                          Please be careful if you use this, it is not very sophisticated even though it looks a mess!
                                          https://fxdreema.com/shared/aBHjbJjN
                                          0_1560891000683_Roar v1.1.ex4

                                          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 5
                                          • T
                                            trbedell last edited by trbedell

                                            @roar - Gave your MT5 version a spin. I have a broker that uses hedge method , so I added a close positions block at the "if buy/sell" blocks and it works in test mode. I ran it on a demo account for the past 12 hours across 8 pairs and it failed to open a single trade.

                                            What timeframe do you recommend. I ran it at M15. Any suggestions?

                                            Thanks for the EA. I am going to marry it to...

                                            https://fxdreema.com/forum/topic/7370/new-spin-video-tutorial-signals-dashboard-ea-advanced-looping-objects-arrays/6

                                            I will modify the dashboard to use ADX and Bollinger and drop MA's to give a visual spin to the EA. I will share it when complete.

                                            Thanks,
                                            Thomas

                                            roar 1 Reply Last reply Reply Quote -1
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 1 / 4
                                            • First post
                                              Last post

                                            Online Users

                                            H
                                            E
                                            A
                                            G

                                            21
                                            Online

                                            146.7k
                                            Users

                                            22.4k
                                            Topics

                                            122.6k
                                            Posts

                                            Powered by NodeBB Forums | Contributors