fxDreema

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

    Finally, News Filter for MT5 in 1 easy to use Block !!

    Tutorials by Users
    31
    74
    15785
    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.
    • Q
      QuantEngineer last edited by QuantEngineer

      Hello Fellow FXDreema users!! Because I Love FX Dreema, I have decided to build a News Filter that can be entirely coded into 1 block that can be compiled directly in the FX Dreema Cloud System !
      Enjoy !

      The goal of this tutorial is to build 1 custom block that I call "isEventNear" and it will look like this, at the end:
      0_1642472112231_49e21c25-e8f7-4ccb-809b-a9cbc7ded606-image.png

      Notice that this block has the 2 dots underneath, for true or false... meaning that if there is an important event near, then the next block to be processed will come from the orange dot, and if there isn't any event near, then the next block to be processed, will be coming from the yellow dot... it is the same concept as any other conditional block.
      By near, it means near in time... less than x minutes in the future, or less than y minutes in the past.
      Minimum importance stands for the importance of the events to trigger this block... refer to the original MQL5 manual, where it explains the importance of the events, on this link, where the possible importance vary from 0 to 3, being None, Low, Moderate, High. https://www.mql5.com/en/docs/constants/structures/mqlcalendar#enum_calendar_event_importance

      Here is how I have built this block
      0_1642472671374_d0ee5dd7-2439-4185-b580-02ea27cb5507-image.png
      Notice that I am using code in 3 key areas:

      1. The "main code area", where I have typed the main codes for the custom block.
      2. The "Global variables, includes" area
      3. The "parameters" area, where this block will receive parameters from the developers.

      That's it. pretty simple. the developer of @fxdreema has done a really GREAT JOB, by making the studio available for us !
      In case you still don't know how to use the studio, check out my previous tutorial on the basics of how to use FX Dreema Studio.
      I wish you all a very successful and happy 2022!

      Quant Engineer
      www.abfs.tech

      l'andorrà U gu95ckt8 M H 5 Replies Last reply Reply Quote 10
      • l'andorrà
        l'andorrà @QuantEngineer last edited by

        @quantengineer Impressive work. Thank you very much for sharing.

        (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

        (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

        (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

        1 Reply Last reply Reply Quote 0
        • U
          Uriel 0 @QuantEngineer last edited by

          @quantengineer G R E A T

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

            @fxdreema care to add this to the standard list of "Various Signals" block Sir. Please?

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

              Hello sir

              TipsyWisdom 1 Reply Last reply Reply Quote 0
              • TipsyWisdom
                TipsyWisdom @forexalgo last edited by TipsyWisdom

                @forexalgo said in Finally, News Filter for MT5 in 1 easy to use Block !!:

                Hello sir @QuantEngineer I would like to request you to Customize this useful Block as the following Parameters, It's very helpful for every fxDreema users.

                0_1643010271838_Calendar.png

                Economic Calendar always have Volatility, most EA likely to skip trading during the release time of the Economic Data.

                Low Importance Event == True (Skip Trading During Low Data Release)
                Low Indentation Before == 15 (Skip Trading 15 Minutes Before Low Data Release)
                Low Indentation After == 15 (Skip Trading 15 Minutes After Low Data Release)

                Medium Importance Event == True (Skip Trading During Medium Data Release)
                Medium Indentation Before == 30 (Skip Trading 30 Minutes Before Medium Data Release)
                Medium Indentation After == 30 (Skip Trading 30 Minutes After Medium Data Release)

                High Importance Event == True (Skip Trading During High Data Release)
                High Indentation Before == 60 (Skip Trading 60 Minutes Before High Data Release)
                High Indentation After == 60 (Skip Trading 60 Minutes After High Data Release)

                Best Regards,
                fxDreema Users

                you would never trade....well, not never....but news events are when you should be looking...not looking away. and Im not saying to try to trade what the news is saying. Just saying theres an event. Eyes up...whats happening.

                gu95ckt8 1 Reply Last reply Reply Quote 0
                • Q
                  QuantEngineer last edited by QuantEngineer

                  @forexalgo , currently, I am not accepting work requests via the forum. I appreciate you considering me to do this work for you.

                  Quant Engineer
                  www.abfs.tech

                  1 Reply Last reply Reply Quote 0
                  • gu95ckt8
                    gu95ckt8 @QuantEngineer last edited by

                    @quantengineer
                    Do you provide the code?

                    1 Reply Last reply Reply Quote 0
                    • gu95ckt8
                      gu95ckt8 @TipsyWisdom last edited by

                      @tipsywisdom você fornece o código?

                      1 Reply Last reply Reply Quote 0
                      • Q
                        QuantEngineer last edited by QuantEngineer

                        Sure can.

                        Quant Engineer
                        www.abfs.tech

                        1 Reply Last reply Reply Quote 0
                        • T
                          trdjb3 last edited by

                          Hi.

                          Could you share this block?

                          Thank you!

                          1 Reply Last reply Reply Quote 0
                          • Q
                            QuantEngineer last edited by

                            That will be awesome!
                            Does someone know how can a complete block be shared with other users?

                            Quant Engineer
                            www.abfs.tech

                            l'andorrà 1 Reply Last reply Reply Quote 0
                            • l'andorrà
                              l'andorrà @QuantEngineer last edited by

                              @quantengineer Interesting question. Never built a custom block. Is there any option in fxDreema to download it?

                              (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

                              (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

                              (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

                              1 Reply Last reply Reply Quote 0
                              • Q
                                QuantEngineer last edited by QuantEngineer

                                I haven't seen this option, and when I download the entire source code of the EA that uses custom blocks by pushing the "MQ5" button, it doesn't import correctly on other FX Dreema accounts... it only imports on the FX Dreema account that has the custom blocks.
                                Inputs on this are appreciated.

                                Quant Engineer
                                www.abfs.tech

                                T 1 Reply Last reply Reply Quote 0
                                • T
                                  trdjb3 @QuantEngineer last edited by

                                  @quantengineer

                                  If you provide here a txt file with the code everyone interested can build the same block em fxdreema studio easily, right?

                                  1 Reply Last reply Reply Quote 1
                                  • Q
                                    QuantEngineer last edited by

                                    TXT Files won't hold all the necessary features of the custom blocks, for example parameters, types, etc...

                                    Quant Engineer
                                    www.abfs.tech

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

                                      Hi @QuantEngineer

                                      I used the block this way for my EA
                                      alt text

                                      and in both Tester and Live the EA kept showing this:
                                      alt text

                                      Could you tell me where I did wrong?

                                      Much appreciate it!

                                      Q 1 Reply Last reply Reply Quote 0
                                      • Q
                                        QuantEngineer @stevenpham1996 last edited by

                                        @stevenpham1996 That sounds right... Line 13 Prints received 0 events, etc etc when there are no events near, for the items in the events filter, on that date time when the block is running. if there would be any events in the array, it would say how many events were received.

                                        Quant Engineer
                                        www.abfs.tech

                                        1 Reply Last reply Reply Quote 1
                                        • T
                                          TXZZ last edited by

                                          @QuantEngineer
                                          Hi, can you create a new project with just one isEventNear block like in the picture and then save it as MQ5 and upload it here? I think that way we can use this block by importing it into MQ5, thanks for your great work.!0_1674627739742_NEWS.png

                                          1 Reply Last reply Reply Quote 0
                                          • Q
                                            QuantEngineer last edited by

                                            FX Dreema still doesn't allow Custom blocks to be shared ... when the program is imported, it doesn't have the custom block... I already tried this...

                                            Quant Engineer
                                            www.abfs.tech

                                            jstap 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 1 / 4
                                            • First post
                                              Last post

                                            Online Users

                                            T
                                            E
                                            B
                                            A
                                            N
                                            L
                                            A
                                            M
                                            E

                                            21
                                            Online

                                            146.6k
                                            Users

                                            22.4k
                                            Topics

                                            122.6k
                                            Posts

                                            Powered by NodeBB Forums | Contributors