Hey, so I call a function on order close, but I want the alert to not be triggered if I change accounts. So for instance, I have an order open in an account, then switch to the demo, I don't want my custom alert function to trigger. This is the end of the main EA code: if (Orders> OrdersTotal ()) {
Hi, when I reopen my terminal, sometimes I am getting unwanted trades based on settings from when I was using the EA in a prior terminal session. How can I prevent EA from trading when I first open the terminal until I actually manually reattach it to the chart? Thanks in advance
Hi, is this possible? Really don't want to constantly change every part of the date/time/year/ every time i need a little adjustment. I want the default when I start the EA to be the current datetime. Can anyone help with this? Thanks
Thee was an old topic from 2006 with this question, but it wasn't resolved. Is this even possible? I have an external datetime that I want to be a user input as a string in the TIME_DATE|TIME_SECONDS (or TIME_MINUTES) format, but I want it to be preset to the current time so the user doesn't have
Hi... sort of a double post, sorry for that, but this is eaiser I think. I am getting the "Failed to register messages receiving service. .." on my android galaxy s4 I have an active google account I used the app some months ago and it worked since then I changed google accounts Have since
Hi, I have the following int Orders; if(OrdersTotal()<Orders) { SendNotification ("\nOrder Closed\n" + "Open Orders: " + OrdersTotal() + "\nEquity: " + DoubleToStr(AccountEquity(),2) + "\nMax " + Symbol() + " Lots: " + DoubleToStr(maxlots,2)); Alert("Order Closed"); } Orders = OrdersTotal(); It
Hi I need help just obtaining a simple string that contains the 3 character base currency of the current symbol. Like for GBPJPY I want the string to be "GBP" for AUDUSD I want "AUD" -- I can think of a long way to do this, but there must be an easy way. Any help is appreciated. Thanks