Simple News Trading EA - need help

Hi guys,

after searching different forums and each thread I can´t find an EA that starts a buy and a sell order at a given time.

//±-----------------------------------------------------------------+
//| Simple News Trading EA.mq4 |
//| Copyright © 2010, MetaQuotes Software Corp. |
//| MetaTrader 4 Trading Platform / MetaQuotes Software Corp. |
//±-----------------------------------------------------------------+
#property copyright “Copyright © 2010, MetaQuotes Software Corp.”
#property link “http://www.metaquotes.net

//---- input parameters
extern int lotsize;
extern int TP;
extern int SL;
extern int tradingtime;
//±-----------------------------------------------------------------+
//| expert initialization function |
//±-----------------------------------------------------------------+
int init()
{
//----

//----
return(0);
}
//±-----------------------------------------------------------------+
//| expert deinitialization function |
//±-----------------------------------------------------------------+
int deinit()
{
//----

//----
return(0);
}
//±-----------------------------------------------------------------+
//| expert start function |
//±-----------------------------------------------------------------+
int start()
{
//----

//----
return(0);
}
//±-----------------------------------------------------------------+

I want to set the time when open a buy order at market and a sell order at market. Both at same time. Further I want to set a TP and a SL and a fix lotsize. Who can help me with this simple EA?

Thanks for help.


Is this EA going to be based around economic news releases? I think you’ll need a lot more trade logic than just time if this stands any chance of working. Auto news trading EAs are very tricky animals as the market is so volatile at release time. You could get whipsawed out of both long and short positions leaving you with 2 losses. This could happen a lot!!

Be good to discuss any news trading ideas you may have. I can code the EA for you but I wouldn’t do one just based on time - not worth the time :slight_smile:

Hi tarrentino,
I don´t want to trade news. I want to trade a trend that is given nearly every day at the same times. I mean the time before London session opens and a few hours later when NY starts. So I want to trade every day at the same time before exchange sessions start an trade in both directions. The grail is to find the right money management.
First backtests with TimeBaseEA gave good results.

Regards.

trading the news is a dead art nowadays. i hardly know anyone who trades it successfully.

I said before.

sorry, missed it.