Expert Advisors and Automated Trading - page 320

Hi, i'm having trouble to convert an mql4 indicator to mql5, as usual, mql5 is not being very friendly, on mql4 i can copy an array like Close[i] easily on a loop, but how can i do that on mql5? I made some research, i know there is copyclose, but i don't know how to use it, and there is no free...
Hello good day to all, Does anyone knows the magic number to use to close the manual opened trades when it reaches the specified profit set. I am using drag and drop EA builder because I don't have knowledge for coding an EA. Thanks for those who can answer me
Hello, I have programmed, back test and now evaluating different trading strategies profitability performance. The strategies I like are Intra-Day (5, 15, 30, 60 min) max holding time of one day. I need help with the following please: 1. Can you please recommend a book for evaluating intraday
It would be nice to have an EA that place a buy stop or buy limit grid when price touches the regression line or the -1SD -2SD regression line, with a Stop loss function let's say below the -3SD line and a TP feature to other SD lines. Is there anyone with a little experience on programming who can...
Hi,all. Now,I have a big problem,what is a big big prolem. the function of OrderSend() does't useful? I don't know how to use, If someone know ,can write a example, Thank you. 
  Crazy cache of testing agents  (92   1 2 3 4 5 ... 9 10)
Good day to you all! Ran into the following problem: Having 32 logical processors in the system - using 32 agents for optimization respectively (+ another 40 remote ones) Each agent rather quickly builds up cache of totally inadequate size 2-2.6GB, which in total is more than 70GB per day! The cache
Hello, I use the Liquidex EA. He is quite well so far. The biggest drawback to this EA is that once a trade is triggered, the Trailing Stop attracts immediately. The stop loss is immediately lapsed and there's not enough of a buffer for possible setbacks. Thereby go many trades in the loss, which...
Hi everyone, I have written my first EA, and when I used it on a different indicator I had the MQ4 file for, it worked perfectly.  However, I did not like that indicator very much, so I implemented one I found that is more accurate and sends fewer signals. The problem I am having is that I cannot...
Hello, I've migrated an EA to VPS. I'd like to migrate another EA to VPS, but I am not sure, if I should migrate just new EA, or both. So the question is: If I migrate the environment, is the previous migration overwritten? I could not find how this part works. Thank you in advance. Martin
Is it possible to share data between MT4 terminals on the same VPS? Is there a location that both terminals could access? For example, I have Terminal 1 using Broker A, and Terminal 2 using Broker B. Broker B has a market that is not available with Broker A. So I want to send the price data for this...
Hi all, I've recently modified my EA to increase it's trade size.  In back testing it does so correctly, but in real money it is still trading at it's previous volume. I've compiled and saved the new file as a different name but it still isn't functioning correctly on real money... (But it does on...
  how to lock profits in mt5  (15   1 2)
hi, guys. new to forex, new to mt5. got a noob question, if someone can help it will be very helpful. we place an (buy) order.. it moves, say 50 pips in our direction, and we want to lock the profit at 30 pips. i.e. we want to sell when it falls to 30 pips, and if it goes higher we want to hold it.....
Hi, guys.. i am going to code a simple indicator for mt5, that only calculate the value of current open price to close price of the previous candle, and only put Up or Down as a Result in the chart.. Which code do i have to write ? or could you point at the library / documentation of how can i do it...
Hi, Static, global, which should I use? ---- I want that variable keeps its value if I change timeframe or if auto re-connection. This is for an INDICATOR. Could anybody please help?
Sorry i'm not good english for example i have 20 or 30 open charts and one expert Active in them Sometimes expert become disabled. i want code for find  inactive expert on charts. in other words find a chart that is without an expert .with help Alert and show symbol Of course with mql4 Thank you...
Hey guys, so basically I have taken the source code provided from an Article titled create bots for telegram and basically edited the code for the telegram_signal_EA to basically send trade based off my strategy. So I compiled to check for errors and everything works fine even when I apply the EA to
Hi, I converted the Battleplan indicator (found in the network) from MT4 to MT5 successfully, but I still have a problem. The diffulty I enconter is to do the indicator in MT5 to paint the battleplan for future time date. In MT4 the indicator paint the battleplan even for future data, in MT5 if I...
Ever since I started seeing "30% History Quality" in my strategy Results tab (MT5), I've been searching for the reason/remedy. Now 11 days has past and I've still been unable to find a solution. I've set "Max bars in chart" to "Unlimited", I've "refreshed" the chart for like a million times, I've...
I tried to test my strategy for the past month, but I realized the "History Quality" was very poor (30%). I counted the candlesticks for the time frame in question and for the past month ONE BY ONE to see if anything was missing. No candlestick was missing! So, the question is what does "History...
Hi, Three Moving Averages EA not working in my MT5. Please advise, how to enable it to work. Thanks
I need to prepare a production environment to run EAs.  I would like these characteristics: Virtual machine on an cloud environment (google cloud or aws),  MT5 start and run some pre-configurated EA on windows startup,  Run several MT5 (with different accounts) on the same virtual machine. There...
Hello, - I have this script which opens pending orders along with money management/position sizing. - My question is... Looking at this snippet of code extern double DollarVol=1; am I correct in thinking this is the dollar value per pip for the symbol loaded on my chart ? If so is there a way for...
Hi All, I'm trying to run the same EA on two different instruments, I've initialised them both on different graphs, they both have the smiley face icon at the top right corner...but only one of the instruments is actually executing trades. Any idea's? Thanks
This EA is generating the error of the image below when placing a buy or sell order, probably because the EA is trying to place a take profit order and stop loss order in the digits that are not accepted, because of the image I see that it does not position TP and SL in the last digits with end 0 or...
Hi, I was chatting with a developer and he has told me that MT4 has problems using multiple time frames in an EA. I use the following to identify forward trend and then look for lower time frame entry points: int index = 0; StDev=iStdDev(NULL,PERIOD_D1,10,0,MODE_EMA,PRICE_MEDIAN,index+1);
Hi, I want to test various different parameters on my systems on different two time periods and output results. Is there possibility to feed mt5 tester with custom parameter list and output results? I think I need about ~20 000 tests, so changing manually parameter values by one is not a choise
hello. is there a way to calculate RSI and Bollinger Bands from price (BID + ASK)/2 instead of BID price? thanks
Hi, I need to develop a license generator in vb.net that allows me to create license keys that I will subsequently decode using the CryptEncode MQL function. Anyone can help me ? I used this VB.NET function to generate the license Public Function EncryptString(ByVal inputString As String) As...
  Stochastic EA  (2)
Have you been able to successfully code an EA based on Stochastic info? I have implemented a few with different data such as Stochastic signal slope, overbought oversold, signal crosses. Care to share some of your ideas
Hello, Can someone only disable / remove the stop-loss feature on this script. I need the stop-loss disabled on this script as its interfering with another EA that manages my stop-loss