fxDreema

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

    News EA

    Questions & Answers
    6
    39
    10314
    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.
    • VHV-Profit-Masters
      VHV-Profit-Masters last edited by

      Hello friends, has anyone managed to make this news filter for mq5 fxdreema work correctly????

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

        Hello! Today I will create an EA news, and would like to tell with the help of the forum fxDreema to do it.

        If someone has already created some and could help me, you are welcome.

        Come on!

        Even more!

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

          I don't understand fundamentals very well, but I know this indicator http://www.best-metatrader-indicators.c ... indicator/
          Well, I tried it once to see how it works, but not in EA, so I don't know how it can be used in EA (if it can). Also I know that there are other programs and you can search in forexfactory.com.

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

            Yes .. That same fxDreema. I will use a bookmark to open orders.

            Well .. what I need is the following:

            Open 2 pending orders, one above the current price, and one below, about 10 secundos before the news. (In this case, relying on this indicator vertical line);

            Pending Buy order above, with 6 pips away from the price;

            Order pending Sell below, with 6 pips away from the price;

            These orders are one of Buy Pending, one of Sell Pending;

            The pending orders should be following and watching the price, to sell below the price, to buy up the price, up to the time of the news, which will trigger one of the pending orders, and the other should be canceled, or OCO orders buy and sell.

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

              Hello fxDreema. I tried this way, but I could not make it work.
              http://fxdreema.com/shared/2QWwsRG3b

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

                "Start trades loop" or "Start pending orders loop" is missing. (in loop) blocks **needs **"Start trades loop", otherwise we don't know with what trade or order are they working with.
                Most of the (in loop) blocks are designed to be able to work in with trades, orders, buys, sells... all of the variety. You have pending orders blocks in this project. So can you guess, block 9 serves what - buy trade, buy order, sell trade or sell order? If you ask me - I don't know.
                Put some "Start pending orders loop" somewhere.

                Also, I don't think you need 10, 15, 16, 21 to slide up and down to the same place the just-created pending orders, or I don't understand why is that...

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

                  Hello Makes a long time since I've been in this post, very oculpado with my other EA. The EA news I said I'm planning on creating it this way fxDreema. He called Straddle Trader Pro

                  See a video of him funcinamento: http://www.youtube.com/watch?v=ph2P-wTYZ8Y

                  See also another similar: http://www.thgstraddle.com/

                  My version I created could not make it work, so I got in touch again.

                  Even more!

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

                    Hello fxDreema. How do I take the data from calendar to include in my News EA for MT5?

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

                      What calendar?

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

                        The economic calendar, which has been included on some platforms MT5.

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

                          This is new for me 🙂 I don't know how it can be used 🙂

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

                            So ... I found it interesting because it contains all the economic news calendar, and if it is possible to use this data to open pending orders will be excellent.

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

                              Ok Some information on the calendar: http://www.metatrader5.com/en/terminal/ ... x_calendar

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

                                Still the same situation: http://www.mql5.com/en/forum/1967

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

                                  Hello fxDreema. I created a new version of my EA News, but do not know what happened that he did not open any orders and generated a log file of 1GB in size, containing the following message:

                                  05.26.2013 19:00:36 1.0 TCF News EA EURUSD, M1: Fixed Ratio MM: Units => 1140140, Delta = 0; Lower Target Equity => 98.39; Upper Target Equity => 98.39
                                  05.26.2013 19:00:36 1.0 TCF News EA EURUSD, M1: Fixed Ratio MM going up to 11401.4 lots: Equity is above Upper Target Equity (98.39> = 98.39)
                                  05.26.2013 19:00:36 1.0 TCF News EA EURUSD, M1: Fixed Ratio MM: Units => 1140139, Delta = 0; Lower Target Equity => 98.39; Upper Target Equity => 98.39
                                  05.26.2013 19:00:36 1.0 TCF News EA EURUSD, M1: Fixed Ratio MM going up to 11401.39 lots: Equity is above Upper Target Equity (98.39> = 98.39)
                                  05.26.2013 19:00:36 1.0 TCF News EA EURUSD, M1: Fixed Ratio MM: Units => 1140138, Delta = 0; Lower Target Equity => 98.39; Upper Target Equity => 98.39
                                  05.26.2013 19:00:36 1.0 TCF News EA EURUSD, M1: Fixed Ratio MM going up to 11401.38 lots: Equity is above Upper Target Equity (98.39> = 98.39)
                                  05.26.2013 19:00:36 1.0 TCF News EA EURUSD, M1: Fixed Ratio MM: Units => 1140137, Delta = 0; Lower Target Equity => 98.39; Upper Target Equity => 98.39
                                  05.26.2013 19:00:36 1.0 TCF News EA EURUSD, M1: Fixed Ratio MM going up to 11401.37 lots: Equity is above Upper Target Equity (98.39> = 98.39)

                                  etc.. etc..

                                  Here is the link of my project: http://fxdreema.com/shared/NdjJTAlJb

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

                                    FixedRatioUnitSize and FixedRatioDelta are also local variables and it looks that "double FixedRatioDelta=FixedRatioDelta;" sets it to 0. You can change the name of those constants or set prefix (see MQL prefix on the lower right corner where you set constants).

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

                                      Hello fxDreema. Fix the problem, but another error message appeared:

                                      2013.05.27 19:13:23 TCF News EA 1.0 EURUSD,M1: Pending Buy Error: 3
                                      2013.05.27 19:13:23 TCF News EA 1.0 EURUSD,M1: (3) Invalid trade parameters
                                      2013.05.27 19:13:23 TCF News EA 1.0 EURUSD,M1: Pending Buy Error: 3
                                      2013.05.27 19:13:23 TCF News EA 1.0 EURUSD,M1: (3) Invalid trade parameters

                                      And not opened any pending order.

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

                                        Check expiration time. I think the minimum is 10 minutes in most brokers.

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

                                          I still have the same problem the same error message. The brokerage client where I do not have minimum order expiration because another EA that I have I cancel pending orders in 2 minutes.

                                          See my correction and where you can be wrong: http://fxdreema.com/shared/88mu5SCoe

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

                                            The error says "Invalid trade parameters", which means that some parameter is not ok. Parameter such as SL, TP, Lots... or Expiration. In case of this EA, that parameter is Expiration. Everyone knows that manually we can cancel pending order as soon as we created it, but when EA is working there are different rules sometimes.

                                            Check this one: http://w.molanis.com/forum/viewtopic.php?f=6&t=5559
                                            and this one...: http://www.forexfactory.com/showthread.php?t=59997
                                            and this one...: http://forum.mql4.com/10531

                                            But there is other way to close pending orders. Try this one: %(#FF00BF)[Start pending orders loop -> (in loop) Check trade/order age -> (in loop) Delete pending order]

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • 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