Expert Advisors and Automated Trading - page 217

Hello, just what the title says, I want to sell an EA that uses custom indicator, can somebody teach me how? Best Regards.
Hi, I cannot start the Strategy Tester because there is no Start button. Pls see the attached JPG. Where am I wrong? Thanks in advance, Janos
Hi, I don't know whether this one is possible : Let's say our EA is doing trading operations on the M15 chart. Can we check for example the 200MA price & direction on the D1 within the EA, knowing it is working on the M15
Hi, I would like to know if I can use two Ea on the same graph and I think the answer is no. Right? So I wonder why I use one Ea that opens and closes orders according to certain rules, can I use another Ea on another chart to manage the trailing stop
Hello, I'm trying to build an EA that do some stuff, i need to put an editable textbox on the chart and use the value of this textbox as a LOT in my orders. thank you for you help
Hi everyone, Before I go off down a blind alley can anyone give me any guidance on how best to control MT5 strategy tester from python then get the optimisation results back into python. I see you can run MT5 using the command line which will work but interested to hear if anyone has done this
Hello How can I assign custom indicator's final value to a variable and use it in my EA. e.g. I want to get an ATR value and assign it to my stoploss variable? How can I assign
I use this trading setup in paper trading, can you help me to back test it. Open a buy position when the third candle is up the moving average . complete candel short when the third complete candel is down.... close the position when the first open candel is down or up the moving average. help me
I have the following results table. I'm not sure which one to prefer. My testing was done on a 500 euros account. The first row has the most profit in forward testing, but the backtest is at a small loss. The third raw has profit in both forward and backtest but it has a low sharpe ratio. The eight
Hi, is it possible to have OnTradeTransaction() in Service? I have a service that buys and sells (with TP and SP, and I don't need to attached it to a chart ), but I am not able to check how the position was closed. It should have the same behaviour OnTradeTransaction() has in EAs (even if it is
In the documentation, it's said that MT5 caches optimization results for each testing parameters such as period in order to not repeat them. https://www.metatrader5.com/en/terminal/help/algotrading/strategy_optimization What if my "to date" is today's date? Is it still cached and not retested
Hi, I need help to open order buy/sell every 10 seconds based on the difference between current price and price from 10 seconds back. Thanks
  Migration failed  (10)
Hey, I have a bunch of EA´s running on my 8 MQL VPS´s and one of them stopped working. I´ve tried migrating it again and I keep getting an error message that sais " migration failure, check the platform log". That has been going on since Saturday night and there is no way around it. I´ve tried
Hi All, I've been going round in circles all day trying to figure this one out, so it is time to consult the blessed Forum masters. I have a break even function that is called when a position is open, but it's not functioning correctly. Here is the function code, all variables used are globals (bad
void OnTick (){ //+------------------------------------------------------------------+ //| Lógica para realização parcial e breakeven compra 1| //+------------------------------------------------------------------+ if ( PositionsTotal () == 1 && PositionGetInteger (
Hi Guys, I'm fairly new to MQL5 as a language having mainly been coding with python and associated languages in my day to day work but I'm trying to learn MQL5. I've been following a lot of the tutorials etc to get a general grasp on the language but I'm strugging with modifying the stop's on a
hi everyone i trying to find if a order closed with the hitting the TP in mql5 i see the DEAL_REASON_TP but i can not how i can use it ? I'm more looking an example for using it thanks
Hello Community, I have written an Expert Advisor on my home PC. I would like to have the inputs set by the strategy tester. For my VPS I created the project again in the MetaEditor, inserted the code there and compiled it. I use the same ".set" file for the Strategy Tester on my home PC and my VPS
I am not sure, if push notification requires the intermediate server (for example, with static IP address) to receive the message from our computer and to resend the message to our phone. My question is if this push notification can be slow down just like a website can slow down due to high incoming
Hello , After the windows update, I can no longer start the Geasy Rider on MT 4 and MT 5 on my computer. I no longer have a free license for a new installation. What can I do? Sincerely yours
I upgraded the window from PC. suddenly, it says again again that it can't upload the ea that I used after purchasing it. there was nothing download left. but, other ea can load. What's wrong? Check , please
[Deleted]
Hello Ladies and Gents, Was wondering if anyone can assist with something very simple, but I am unable to actually make it work, found multiple lines of code to do what I need but none worked as my MQL skills = 0. Would appreciate if someone could help me insert a code allowing to change Lot...
  Money management  (1)
//+------------------------------------------------------------------+ //| MoneyManagement.mqh | //| Andrew Young | //| http://www.expertadvisorbook.com |
Hello all I want to create an array from 9 values and then measure mean of the array. I used the Operator 'for' but I do not know how to extract values from it. want to do is to extract these trmax values from the loop and use it out of the loop. Any idea how to do so? Here is my code: for ( int i=
Hi guys, just a quick question: do I really have to call SymbolInfoTick every time before I use last_tick in the code to get updated quotes? Or is it sufficient to call it only once in the code and then just use last_tick without calling it again? Do I have to call SymbolInfoTick again in every
  Alert message  (2)
Hello I was wondering how I could get a string value for the symbol the indicator is loaded on and how to incorporate that into a message. if(!SendNotification("Buy Crossover Happened." ? "Potential Opportunity to trade coming up. Slope = "+maslope))
I got a sample from official website, the sample is pretty good. but every parameter of C# method is simple type, it is not a struct or class. so some methods have many parameters, it looks not good. i am trying to pass a class object as a parameter to a C# method, but still do not know how to do it
I am attempting to setup a always-on MetaTrader Client that can interact with my VPN. For this I need the ability to do the following with a script: Turn on the Client, Login to the Client, Configure the Expert advisors PUSH/PULL and REQ/RES sockets Any help? All I found was manual setup
Hi, Does anyone have any experience running EAs on the same MT5 platform but using multiple accounts? I saw in the options menu that you can disable expert advisors when switching the accounts... so if that option is there it means that you can set it up to allow EAs to trade
Hello everyone. I know this may sound a bit silly, but I have a very important (to me) question. If I buy an EA from MQL5 market , it is mine forever?I mean, even if the seller stops updates/stop selling the EA? Buying the EA I have it for "all lifetime"? Thanks a lot guys!