fxDreema

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

    How to make utility for mobile notification ?

    Questions & Answers
    0
    13
    729
    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.
    • M
      Mani13 last edited by

      Hello, Can any expert developer help me to find a solution for special case that few broker disable trading during certain high/medium impact news time.
      So how to make mobile notification alert for such situations.

      jstap 1 Reply Last reply Reply Quote 0
      • jstap
        jstap @Mani13 last edited by

        @forexbob-0 Don't know, don't even know if you can, maybe choose a broker that doesn't.

        Learn fxDreema Without the Wait!

        My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

        The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

        Don’t miss out

        Click here➡️ https://mybook.to/fxDreema to get your copy today!

        Enjoy! 😊

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

          https://www.mql5.com/en/docs/constants/environment_state/marketinfoconstants#enum_symbol_info_integer

          SymbolInfoInteger("EURUSD", SYMBOL_TRADE_MODE)

          ^ This function returns one of the following enumerations:
          0_1672498257076_479ca54c-196e-44fd-9515-720528455151-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

          M 2 Replies Last reply Reply Quote 0
          • TipsyWisdom
            TipsyWisdom last edited by TipsyWisdom

            Regarding calendar and news...sometimes its easier to program outside of the program...meaning, be the human aspect, and bare responsibility to your EA's and not try to automate every single aspect just because you may or not be able to.
            Its easy to get onto Forex Factory and create a calendar on your personal google calendar and every day prior to high impact news...or whatever time you want to make it before the event...you can manually pause or turn things off.
            Something I have to keep reminding myself on, focus more on profitability and trading accurate instead of wasting hours and days dealing with new ideas and concepts that are 'nice to have'

            M 1 Reply Last reply Reply Quote -1
            • M
              Mani13 @TipsyWisdom last edited by

              @tipsywisdom Thank you for your valuable suggestion.

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

                @roar Thank you

                1 Reply Last reply Reply Quote 0
                • M
                  Mani13 @jstap last edited by

                  @jstap Yes it need to be

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

                    @roar can you please share an example for this, I will highly appreciate

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

                      @forexbob-0 here https://fxdreema.com/shared/3dXrtxaad

                      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

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

                        @roar Thank you a ton, if I want to send alert when trading mode disabled then should I need another block or can be done in same block using
                        else
                        SymbolInfoInteger(Symbol(), SYMBOL_TRADE_MODE) != SYMBOL_TRADE_MODE_DISABLED

                        and phone notification for trading disable block under yellow point.

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

                          @forexbob-0 if you want to check specifically if trading is disabled (not close-only, not short-only, not long-only), do this:

                          SymbolInfoInteger(Symbol(), SYMBOL_TRADE_MODE) == SYMBOL_TRADE_MODE_DISABLED

                          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

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

                            @roar And how to limit it, as if trading get enabled, it gives alert once only, after that a new alert popup only when trading get disabled.

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

                              Save the last value in a variable, and notify only when new value is different than last value. Then save again.

                              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
                              • 1 / 1
                              • First post
                                Last post

                              Online Users

                              L
                              K
                              H
                              N

                              11
                              Online

                              146.7k
                              Users

                              22.4k
                              Topics

                              122.6k
                              Posts

                              Powered by NodeBB Forums | Contributors