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.

Files:
market_order.jpg  150 kb
Reason: