1. Welcome back! Thank you for being a part of this Traders Community. Let's discuss and share :)
    Selamat datang kembali! Trimakasih telah menjadi bagian dari Komunitas Trader ini. Mari berdiskusi dan berbagi :)
    Dismiss Notice

Suggestion News event EA that closes/disables trading

Discussion in 'Expert Advisor atau Robot Forex' started by angel2330, 15 Dec 2021.

  1. angel2330

    angel2330 New Member Credit Hunter

    Equity
    Credit
    Ref Point
    • UseNews: Overall On/Off switch for News Filter

    • CurrenciesToClose: Comma-separated list of currencies to watch/close. Leave blank for all.
      If this parameter is left blank, (High/Medium/Low-impact) news for any currency, will trigger the closure of all trades, at the specified number of seconds before the news release. If the parameter is set to eg. EUR,USD, it will only check for news items for these two currencies and if found, it will only close currency pairs that have either 'EUR' or 'USD' in their name.

    • CloseOnHighImpactNews: If true, act on HIGH impact news
    • CloseOnMediumImpactNews: If true, act on MEDIUM impact news
    • CloseOnLowImpactNews: If true, act on LOW impact news

    • NewsFilter: Additional filter to target specific news items. Note that string comparison is case-sensitive, so use the correct case.

    • CloseOpenTrades: If true, and there is upcoming news (as specified by previous parameters), close open trades. Again, the trades it will close will depend on the CurrenciesToClose parameter.
    • ClosePendingTrades: If true, and there is upcoming news, delete pending trades.

    • SecondsBeforeHighImpact: Specifies the time-window before the HIGH Impact news event, in which the EA must close trades. Only relevant if CloseOnHighImpactNews is true.
    • SecondsBeforeMediumImpact: Specifies the time-window before the MEDIUM Impact news event, in which the EA must close trades. Only relevant if CloseOnMediumImpactNews is true.
    • SecondsBeforeLowImpact: : Specifies the time-window before the LOW Impact news event, in which the EA must close trades. Only relevant if CloseOnLowImpactNews is true.

    • SecondsAfterHighImpact: Specifies the time-window after the HIGH Impact news event, in which the EA must close trades.
    • SecondsAfterMediumImpact: Specifies the time-window after the MEDIUM Impact news event, in which the EA must close trades.
    • SecondsAfterLowImpact: Specifies the time-window after the LOW Impact news event, in which the EA must close trades.

    • MagicNumberToClose: Specifies the MagicNumber of the trades to close. -1 means all magic numbers

    • DisableTradingOnNews: If true and it has been determined that there is upcoming news, disable "AutoTrading".
    • ReenableTradingAfterNews: If true and there is no upcoming news, make sure that "AutoTrading" is enabled.

    • BrokerGMTOffSet: GMT Offset in hours of the trade server. This is needed to convert the FFCal scheduled news times (which are listed in GMT) to trade server times.
     

    Attached Files:

  2. blackking

    blackking Well-Known Member Credit Hunter

    Equity
    Credit
    Ref Point
    I am so disappointed today because news, the impact sometimes only temporary
    but success to make a panic in trading and make wrong decision
     
  3. takashi ohtaku

    takashi ohtaku Member Credit Hunter

    Equity
    Credit
    Ref Point

    THANKS.
    I wanted this.
     
  4. memnon2

    memnon2 Member Credit Hunter

    Equity
    Credit
    Ref Point
    I wish there was a news filter that can disable just one chart at at time, not the entire terminal...
     
  5. arman.taposh

    arman.taposh New Member

    Equity
    Credit
    Ref Point
    which website it is checking for the news?
     
  6. BFG SPC

    BFG SPC New Member

    Equity
    Credit
    Ref Point
    thanks for sharing, works better than ice frog news thingy..
     
  7. BFG SPC

    BFG SPC New Member

    Equity
    Credit
    Ref Point
    please see the Broker GMT Offset, it stated Forex Factory calendar..
     
  8. Ahsan Gulraiz

    Ahsan Gulraiz New Member

    Equity
    Credit
    Ref Point
    Hi,
    Thanks for this wonderful share. I'm a newbie and want to use it with a Gold EA. Should I use a different chart to properly use it because in a single chart we can't use multiple EAs. Please guide me about this Bro.
     
  9. Dayut

    Dayut New Member Credit Hunter

    Equity
    Credit
    Ref Point
    Is there any ea to stop ea for any market sessions
     

Share This Page