• 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 :)

Suggestion News event EA that closes/disables trading

angel2330

New Member
Credit Hunter
Credits
0
  • 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.
 

Attachments

I am so disappointed today because news, the impact sometimes only temporary
but success to make a panic in trading and make wrong decision
 
  • 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.


THANKS.
I wanted this.
 
I wish there was a news filter that can disable just one chart at at time, not the entire terminal...
 
  • 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.
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.
 
Back
Top