fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. Traderz
    3. Posts
    T
    • Profile
    • Following 1
    • Followers 3
    • Topics 12
    • Posts 41
    • Best 2
    • Controversial 0
    • Groups 0

    Posts made by Traderz

    • Finally , Integration of News Filter :) [ MT4 Only ]

      Hello folks,
      i saw many people here asking for adding News filter to their EA made by fxdreema , So out of my admiration of fxdreema I have edited the one I use in my manual made EAs to be compatible with FxDreema , until now it's only for MT4 , and If you tried to make it works with MT5 with Conversion tool , it wouldn't . Even after fixing all errors it will give you Stack Overflow due to the conversion method , May be @fxDreema can do this ( MT5 Version ) and even convert all this tutorial in one block so it would be easy for everyone as it will give a huge boost for fxdreema

      First of all , The Origin is from an open source code from mql5 from this link Here
      I have to mention that to save that guys's copyright , delete it if it's against the rules . That's what i use and edited the code to work with blocks system in fxdreema

      Here's the link for the Project
      https://fxdreema.com/shared/sSJwC65Ob

      You will have to copy that 2 block from Oninit() and other 2 also from Deinint() , and you will have to make a variable called " trade " it's a boolean one with "true" value

      in OnTick() tab you will find a separated block called " On Global Scope " it's of no value in the compiling you can delete it normally but YOU HAVE to Copy it's contents and put in the first of the EA on the local Compiler in the Global scope
      It contains the Variabes and all custom function included in the Project
      I hope @fxDreema in the future give us a tab called global scope and we could add anything in it .

      The Condition block checks if the trade allowed or not by checking news function , if it passed you should connect it to your trading function , if not remember that you should connect the yellow part to any managing function you have in the code otherwise if there's news , you trading will stop ( as it should be ) but also your managing order functions as Trailing or Breakeven will be suspended also and that would be a problem

      Also remember to connect the route of Trading with the route of managing to also allow managing whether there's news or not
      it's done in the example by connection of "If trade" block to "no trade" block

      Don't forget to put both links of http://www.dailyfx.com/ and http://ec.forexprostools.com/ To your trusted URLs in the Terminal so your EA can check for the News

      I hope that help you guys , and hope @fxDreema to convert this work to single block and also make it compatible with MT5

      Thanks

      posted in Tutorials by Users
      T
      Traderz
    • 1
    • 2
    • 3
    • 3 / 3