Hi,
I Want help with this EA. Its purpose is for news straddle trading. The input parameters are:
1) number of lots you want to trade
2) number of pips away from the current price
3) TP
4) SL
5) do you need a buy order, sell order or both
6) time and date you need orders to be placed
When you allow it to run, it will put buy and/or sell orders in the time you specified, with stop loss and target profits you entered.
I tested it repeatedly on demo and used it now for the first time on live account for NFP. It did a fantastic job, set orders the way I wanted, 1 minute before the news.
Now, I don't have enough experience in coding to make this EA to work exactly what I need it to do this I hope you guys can help me.
A) I really don't know how to produce the EA to check both the date and the time for placing orders. For the time being, it is checking just the moment.
B) I'd like to have an choice to put in the expiration time and date for those orders, don't know how to do this. I saw there is a parameter for expiraton in that function which is called when the order is set, but I am constantly getting errors when I tried to use it, so I just left it on 0 (zero) for today.
C) For today, it will place just 1 buy and/or one sell order, maybe it will be a fantastic idea to parametrize that overly so we can select 1 or 2 orders to be put in almost any direction.
If you think this EA is worth it, please feel free to add and improve it any way you see fit.
Thank you men,
https://www.cliqforex.com/attachment...2037187733.mq4