fxDreema

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

    Excluding Non-farm Payroll

    Questions & Answers
    4
    9
    1618
    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.
    • B
      Byens last edited by

      can you please repost shared project, because its not there anymore

      https://entrepreneurstart.pw | https://www.mql5.com/en/users/byens8199

      1 Reply Last reply Reply Quote 0
      • C
        camhawk last edited by

        How would I go about creating a filter to exclude Non-farm payroll, i.e. the first Friday in every month?

        Been running an FxDreema Course since 2017. So, now in 2022 I'm thinking I should really let you fine folks in this forum know about it ;-)

        I teach my build and debug strategies that reduce blocks, increase development speed and enable complete flexibility. I teach you how you can build almost anything you dream up with just a few of the blocks.

        To find out more visit https://tradingnut.com/rbcfullfxdreemacourse/

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

          I never thought about that and there is no such block, but it will be probably easy. There are two simple native functions:

          http://docs.mql4.com/dateandtime/day
          http://docs.mql4.com/dateandtime/dayofweek (Weekday filter block is using this function actually)

          These can be used directly in Condition -> Value (numeric). So my idea is, if the current day is <= 7 and the day of week is == 5 () or you can use Weekday filter), then this is the first friday of the month.

          1 Reply Last reply Reply Quote 0
          • C
            camhawk last edited by

            Thanks, I'll give it a go, pending you creating a specific block for this in the future.

            Been running an FxDreema Course since 2017. So, now in 2022 I'm thinking I should really let you fine folks in this forum know about it ;-)

            I teach my build and debug strategies that reduce blocks, increase development speed and enable complete flexibility. I teach you how you can build almost anything you dream up with just a few of the blocks.

            To find out more visit https://tradingnut.com/rbcfullfxdreemacourse/

            1 Reply Last reply Reply Quote 0
            • C
              camhawk last edited by

              Can't seem to work it out. Are you able to provide an example?

              Been running an FxDreema Course since 2017. So, now in 2022 I'm thinking I should really let you fine folks in this forum know about it ;-)

              I teach my build and debug strategies that reduce blocks, increase development speed and enable complete flexibility. I teach you how you can build almost anything you dream up with just a few of the blocks.

              To find out more visit https://tradingnut.com/rbcfullfxdreemacourse/

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

                https://fxdreema.com/shared/YTSkcv14b
                http://prntscr.com/5rjlwt

                1 Reply Last reply Reply Quote 0
                • C
                  camhawk last edited by

                  Thanks, got it!

                  There was a small work required around to get the inverse of your example, i.e. to exclude them.

                  I created an quick example here for others to see should they stumble on this post in the future:

                  https://fxdreema.com/shared/8GrB8ZC9b

                  Been running an FxDreema Course since 2017. So, now in 2022 I'm thinking I should really let you fine folks in this forum know about it ;-)

                  I teach my build and debug strategies that reduce blocks, increase development speed and enable complete flexibility. I teach you how you can build almost anything you dream up with just a few of the blocks.

                  To find out more visit https://tradingnut.com/rbcfullfxdreemacourse/

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

                    Is there any update, can't find projects ?

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

                      do it like this

                      image.png

                      https://entrepreneurstart.pw | https://www.mql5.com/en/users/byens8199

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

                      Online Users

                      V
                      O
                      J
                      B

                      10
                      Online

                      146.7k
                      Users

                      22.4k
                      Topics

                      122.6k
                      Posts

                      Powered by NodeBB Forums | Contributors