NewsReleaseEA Pro Manual

5 August 2018, 19:54
Nikolaos Pantzos
0
1 451

NewsReleaseEA


NewsReleaseEA Pro


Author: Nikolaos Pantzos 2018

email: nikolaospantzos@gmail.com



NewsReleaseEA is an expert to trade about economic news uses pending orders.

Expert receives data for events from 'http://forexfactory.com'."

The expert can trade up 28 (31 with yuan) pairs from one chart.

Expert has the option for manual strategy (user strategy) or uses one of five included strategies.



Set Strategy

  1. Custom_Stategy = There are too many options to make/build own strategy.

  2. Recovery_Orders_Strategy = If an order close in the loss, then expert open a new opposite market order to recover losses.

  3. Basket_Orders_Strategy = Expert if triggered all pending orders, close all as one in profits or losses.

  4. Separate_Orders_Strategy = Expert manage each order separated.

  5. Replace_Orders_Strategy = Expert open a new pending order if the triggered order has close in the loss.



Parameters Information

ModeReadNews = Read news every tick or every minutes.

StrategyToUse = Use custom strategy or one of the predefined include strategies.

MoneyManagement = Automatically money management.

RiskFactor = Risk factor for money management.

ManualLotSize = Manual lot size.

MinutesBeforeNewsStart = Minutes to start trade before news released.

MinutesAfterNewsStop = Minutes to stop trade after news released.

TradeOneTimePerNews = Trade one time per news open again orders if closed first order.

ImpactToTrade = Impact of news to trade.

IncludeSpeaks = Trade on speaks.

XXX_TradeInNewsRelease = Trade on XXX currency news released.

XXX_TimeStartSession = Time start trade on XXX currency news released.

XXX_TimeEndSession = Time stop trade on XXX currency news released.

XXX_Trade_AAABBB = Trade AAABBB pair on XXX currency news released.

DistancePendingOrders = Distance for pending orders.

UseModifyPending = Modify pending orders.

StepModifyPending = Step to modify pending orders.

DelayModifyPending = Delay to modify pending orders.

ModifyAfterEvent = Modify pending orders after event.

DeleteOrphanPending = Delete pending order if triggered one of both on the same pair.

DeleteOrdersAfterEvent = Delet pending orders after event.

MinutesExpireOrders = Time expiry pending orders.

UseTralingStopLoss = Use traling stop loss.

UseStopLoss = Use stop loss.

OrdersStopLoss = Ordes' stop loss.

UseTakeProfit = Use take profit.

OrdersTakeProfit = Orders' take profit.

CloseOrdersAfterEvent = Close market orders after event.

CloseAllOrdersAsOne = Close all orders as one (basket).

WaitToTriggeredAllOrders = Wait for to triggered all pending orders before close all as Level to close in loss all orders as Level to close in profit all orders as Open a new pending order if a order close in loss.

RunReplaceAfterNewsEnd = Run recovery mode after news released.

ReplaceOrdersStopLoss = Stop loss for replace orders.

ReplaceOrdersTakeProfit = Take profit for replace orders.

DeleteOrphanIfGetProfit = Delete remained pending order if triggered has close in profit.

UseRecoveryMode = Open a new market order if loss a order.

RunRecoveryAfterNewsEnd = Run recovery mode after news released.

RecoveryMultiplierLot = Multiplier recovery order's lot size.

RecoveryOrdersStopLoss = Stop loss for recovery orders.

RecoveryOrdersTakeProfit = Take profit for recovery orders.

RunAnalyzerTrades = Expert check history orders and get results for each order separated.

ShowInfoTime = Show information about time news in minutes or DD/HH/MM format.

TextColorX = Color for text on chart.

DeletePendingInExit = Delete pending orders if unload expert.

DeleteObjectsAfterEvent = Delete object of chart after event.

PairPrefix = Pair prefix.

Slippage = Orders' slippage.

MagicNumber = Orders' magic number.

OrdersComments = Orders' comment.



How to use it

Add URL “http://cdn-nfs.faireconomy.media/ff_calendar_thisweek.xml” to the list of allowed URLs in the Expert Advisors tab of the Options window (Tools>Options>Expert Advisors).

Set news and pairs to want expert use/trade.

Set pending orders' and market orders' parameters.

Attach expert on one chart (I recommended to attach the expert in a frequently updates symbol).

It's important to set terminal to allow URLs. Go 'Tools>Options>Expert Advisors and ticking 'Allow WebRequest for listend URL'. Please see the image below.


Information

Please make some test on a demo account to see how works expert before using it on a real account.

For 0.01 lot size on account with leverage 1:500 needed initial balance at least for each pair 100 to working safely.



News to use and pairs to trade per news

  • In EUR news can trade: EURGBP, EURAUD, EURNZD, EURUSD, EURCAD, EURCHF, EURJPY.
  • In GBP news can trade: EURGBP, GBPAUD, GBPNZD, GBPUSD, GBPCAD, GBPCHF, GBPJPY.
  • In AUD news can trade: EURAUD, GBPAUD, AUDNZD, AUDUSD, AUDCAD, AUDCHF, AUDJPY.
  • In NZD news can trade: EURNZD, GBPNZD, AUDNZD, NZDUSD, NZDCAD, NZDCHF, NZDJPY.
  • In USD news can trade: EURUSD, GBPUSD, AUDUSD, NZDUSD, USDCAD, USDCHF, USDJPY.
  • In CAD news can trade: EURCAD, GBPCAD, AUDCAD, NZDCAD, USDCAD, CADCHF, CADJPY.
  • In CHF news can trade: EURCHF, GBPCHF, AUDCHF, NZDCHF, USDCHF, CADCHF, CHFJPY.
  • In JPY news can trade: EURJPY, GBPJPY, AUDJPY, NZDJPY, EURJPY, CADJPY, CHFJPY.
  • In CNY news can trade: EURCNY/EURCNH, USDCNY/USDCNH, JPYCNY/JPYCNH. (Some broker use CNY symbol, and some use CNH for yuán)



Important

Do not change pairs settings if there are already open orders. Wait for the existing close before changing the settings. There is a possibility of losing control of old orders.



Preset strategies

 " Recovery_Orders_Strategy"

  UseModifyPending=false;

  ModifyAfterEvent=false;

  DeleteOrphanPending=true;

  DeleteOrdersAfterEvent=true;

  MinutesExpireOrders=0;

  UseTralingStopLoss=false;

  UseStopLoss=true;

  UseTakeProfit=true;

  CloseAllOrdersAsOne=false;

  WaitToTriggeredAllOrders=false;

  CloseOrdersAfterEvent=false;

  UseReplaceMode=false;

  RunReplaceAfterNewsEnd=false;

  UseRecoveryMode=true;

  RunRecoveryAfterNewsEnd=false;


" Basket_Orders_Strategy"

  UseModifyPending=false;

  ModifyAfterEvent=false;

  DeleteOrphanPending=true;

  DeleteOrdersAfterEvent=true;

  MinutesExpireOrders=0;

  UseTralingStopLoss=false;

  UseStopLoss=false;

  UseTakeProfit=false;

  CloseAllOrdersAsOne=true;

  WaitToTriggeredAllOrders=true;

  CloseOrdersAfterEvent=false;

  UseReplaceMode=false;

  RunReplaceAfterNewsEnd=false;

  UseRecoveryMode=false;

  RunRecoveryAfterNewsEnd=false;


" Separate_Orders_Strategy"

  UseModifyPending=false;

  ModifyAfterEvent=false;

  DeleteOrphanPending=false;

  DeleteOrdersAfterEvent=true;

  MinutesExpireOrders=0;

  UseTralingStopLoss=false;

  UseStopLoss=true;

  UseTakeProfit=true;

  CloseAllOrdersAsOne=false;

  WaitToTriggeredAllOrders=false;

  CloseOrdersAfterEvent=false;

  UseReplaceMode=false;

  RunReplaceAfterNewsEnd=false;

  UseRecoveryMode=false;

  RunRecoveryAfterNewsEnd=false;


" Replace_Orders_Strategy"

  UseModifyPending=true;

  ModifyAfterEvent=false;

  DeleteOrphanPending=false;

  DeleteOrdersAfterEvent=true;

  MinutesExpireOrders=0;

  UseTralingStopLoss=false;

  UseStopLoss=true;

  UseTakeProfit=true;

  CloseAllOrdersAsOne=false;

  WaitToTriggeredAllOrders=false;

  CloseOrdersAfterEvent=false;

  UseReplaceMode=true;

  DeleteOrphanIfGetProfit=true;

  RunReplaceAfterNewsEnd=false;

  UseRecoveryMode=false;

  RunRecoveryAfterNewsEnd=false;

Files: