News Trader Ea - page 4

 

Hi;

Day() means Day of the Month.

If the news day is on the 12th of the month, a Friday,

Friday is the 6th day of the week. Nday=6 will give

you the error. Nday=12 will not get the error.

Trying out the EA now. :-)

Sincerely,

Wisea1662

 
x:

This is a advanced news trader, enjoy!!!

Functions:

extern int TP=20; // The Exact Amount Of the Pips u will get as the profit in your account

extern int NDay=0; // News Day

extern int NHour=0; // News Hour

extern int NMin=0; // News Minute

extern int CTCBN=0; // Numbers Candles to check Before News For determining High & Lows , when it is 1 it check 2 candles the current candle and the 1 last one

extern int SecBPO=300; // Seconds Before News Which EA Will Place Pending Orders

extern int SecBMO=0; // Seconds Before News Which EA Will Stop Modifying Orders

extern int STWAN=150; // Seconds To Wait After News to Delete Pending Orders

extern bool OCO=true; // One Cancel The Other , will cancel the other pending order if one of them is hit

extern int BEPips=0; // Pips In profit which EA will Move SL to BE+1 after that

extern int TrailingStop=0; // Trailing Stop

extern bool mm=true;

extern int RiskPercent=3;

extern double Lots=0.1;

extern string TradeLog = " MI_Log";

extern int SLHigh = 20; // stop loss in pips below the buy-stop entry price

extern int SLLow = 20; // stop loss in pips above the sell-stop entry price


Hi are you able to modify this ea so it places the pending orders with an adjustable deviation ?