I have just moved from MT4 to MT5. I was looking forward to the additional features that the MT5 Strategy Tester provides, but I am hugely disappointed in some aspects that are far inferior to the MT4 Strategy Tester. I have an EA with a large number
I am trying to code for to identify engulfing bars but I am getting the wrong open, close, high, low values. This is the snippet of code: int currentBar = Bars - 1 ; // Get
I want to send a notification to my phone whenever there is an opportunity for a trade. It seems that all I can send with the SendNotification function is just a text message - which is different from the SendMail function. I trade on 10 different
I cannot get the e-mail service on MT4 working! 1. I started with the usual smtp.gmail.com:465 and checked everything several times to be correct - but keep on getting error that it cannot connect. 2. I then made sure that "less secure apps" were
I tried to convert the trend-magic indicator to a MTF indicator but it does not work correcty. I know a little about coding EA's but nothing about coding Indicators so I need a little help. Here is the code below: #property indicator_chart_window
When using the MACD indicator on the chart it shows 2 values - a Histogram and a Signal line . If you use the iMACD() function to calculaute the MACD values you have 2 options - MODE_MAIN and MODE_SIGNAL. I have always assumed thet MODE_MAIN
I have an EA that places BuyLimit and SellLimit trades. Most of the time there is no problem and the trades are placed successfully. But every now and then there is a trades that refuses to go through and ndlessly giving an " invalid stops " error
I program an EA on a certain broker's MT4 and then I copy it over to another broker for live trading. If the EA already exists on the other broker I overwrite the exisiting .exe with the new version. (Parameters stay the same) The older version of
I am increasing the lot size with each subsequent Limit transaction but my code/formula just keeps on returning my starting lot size. Here is the code to calculate the lot sizes with each subsequent limit trade that is generated: input double
I have been running the EA and did not notice the 4108 error before - but mow the code refuses to close my pending orders and give 4108 - invalid ticket errors. Here is t //Close Pending Orders when no trades open Count = 0 ;
The following code returns "0" for the BuyProfit variable although there are several Buy trades open and running. can you perhaps tell me why? Count = 0 ; for (Count = OrdersTotal ()- 1 ; Count >= 0
Can anyone tell me if the alerts generated by indicators or expert advisors that appear in a pop up box saved somewhere so that I can go and look at what alerts were generated historically
I need help with a small piece of code that calculates the moving average of the Williams Percent Range indicator. Here is the code: ArrayResize(WPRArray, WPR_MAPeriod); for
Left feedback to developer for job Modification of Indicator
The developer completed the project quickly and to my satisfaction and when the change I asked for was a small change he was honest enough to offer a 50% discount on the minimum cost of $30
I have written an EA that uses averaging and close all Buy or Sell trades at a certain profit. I use an emergency SL that is quite wide but no TP, of course. I find that often (not always) it seems to keep a trade in memory and waits for trades to
I am trying to count the total lots for all open Buy trades but the EA keeps on going through the loop and does not stop adding the lots together. So in the first round it calculates the total lots correct but then keeps on adding that amount of lots
I am trying to count all the loss trades in total or after the last profit trade but i keep on getting "0"(zero) no matter how many loss Sell trades there were with no profit trades in between. Here is the code: