Expert Advisors and Automated Trading - page 280

Hi i got an indicator that is based on tick data only. the problem is it uses some big average buffer, so each time i wanna use it i need to wait for the buffer to fill to get the first value (i could not wait, and start displaying curves right away, but the readings would be totally off without the...
  ParameterGetRange()  (13   1 2)
How does one use this function? The below code is not working.   //+------------------------------------------------------------------+ //|                                                         test.mq5 | //|                                                   Copyright 2017 |...
How many individual robots (or instances of the same robot on different currency pairs) is it possible to run simultaneously on an MT4 platform?
Hi, I need an EA program code schema that would pass verification in a place where new robots are added. Please send code EA. Thank You.
Dear ladies and gentlemen, Are there any expert advisors for scalping purposes on a free basis. I figured out that it is hard to find some expert advisors working On a real account. Being attached to a leverage of 30, this might also be a challenge for such a program.Back testing did not bring the...
To get back a stringor a list of strings from a Windows API functions, you pass in apointer to a buffer. I like to use the wide character functions likeGetPrivateProfileSectionNamesW(), seehttps://docs.microsoft.com/en-gb/windows/desktop/api/winbase/nf-winbase-getprivateprofilesectionnamesw.This...
I'm running a very popular signal on an MT4 ECN 1:500 account at Trader's Way with no problems at all. I have three such accounts at Trader's Way and one such account with only 1:200 leverage at FXChoice - I live in the US. :( I have no problems installing, uninstalling and reinstalling the MT4...
[Deleted]
Good Afternoon! I am looking for some advice on how to have CustomCharts on MetaTrader5 like PERIOD_M28, PERIOD_M66, etc since we do not have theoption available. For MT4 I see there is a PeriodConverter Script. ForMT5, I did not see any specific solution for this subject. Can someone please give me...
I wonder this is possible. I run several same EAs on several charts for same currency. Each EA have their own independent position and trade. To avoid conflict between EAs, I use the MagicNumber as identifier through 'INPUT' when launch the EA. That is, Magic Number is assigned when the EA is...
  Managing open orders in MQL5  (11   1 2)
Hi! I have a strategy implemented in MQL-4, which one I will migrate to MQL-5, trying to use the corresponding APIs (if possible), I mean, not using the MQL-5 classes. I'm not a trader and I have read some articles to understand the new concepts, and please correct me if I'm somehow wrong:...
Hi all, I have been running EAs that open / close multiple trades during specific sessions. I use the CTrade class, but it occurred to me that lately only one position is being opened, instead of several. This seems to have worked before.  Could someone please alleviate me of my troubles, and post...
I'm new to forex and MQL5 (but have a software background) so I apologize in advance if this is posted in the wrong forum. I'm writing an EA but am struggling a little with the terminology and workings of the forex market. Take the currency pair EURUSD at a bid of 1.14131 and an ask of 1.14161. I...
Hello i need coder ho can code my mt5 idicator to ea .  need add  tp, sl , trailing  and some other options leter !
My opening and closing loops, despite being exact to the point never work. Please help
This EA closes all the trades when everything either reaches a set positive or negative amount. However, when no trades are open it has a problem. "Zero Dived in EA" (see attachment) then the entire EA stops. I need help in what to do to my EA to make it so when no trades are open it will continue...
Hi, I have a variable called switch_action in my OnTick function, you can see below how it is calculated. void OnTick()  {   int switch_action;   int ticket=-1;   double price;   double TradeSize;   double SL;//---//Open Buy Order, instant signal is tested first   RefreshRates();   if(Cross(0...
Hello guys, does anyone have an ea to make me open pending orders at a certain time?     For example I open a pending order buy or sell, on Monday morning at 00.01.
Hi all, I try to insert my EA called The Pearson EA into the Market. I get an error called no trding operations on automatic validation. However, the EA opens only 6 trades in a year, generally. What should I do? Best.
When stop loss is triggered, the following log is generated by MT5. 2015.04.10 16:22:14 Core 1 2015.01.19 11:35:29 stop loss triggered sell 1.00 EURUSD 1.15417 sl: 1.16217 tp: 1.15317 [#5 buy 1.00 EURUSD at 1.16217] This is exactly the info I need in EA, getting price volume, against which...
Hi  Does MT4 demo tester has a tab to view active trades similar to what mt5 has? If so, could someone show me how to open it? I cant seem to find it.. :)
Hi everybody, I need to draw a graph of specific data Which I have, instead of the chart price of a symbol. Is it possible to do it by ObjectCreate/OBJ_CHART?  remember! I am writing an expert not an indicator.  Really appreciated! 
Hi there, I would like to contract a programmer to provide me with an indicator which notifies me in case of an EMA crossover on a given currency chart. Since I have no clue about appropriate prices for such a service, including some support when applying the indicator on mt4, I would like to ask...
Hello, I am trying to test my EA in MT5 strategy tester, it works on a CFD of my broker, but when I change the symbol (to "EURUSD" for example) it returns an "unknown command 237" and no testing is done. Do you know how to troubleshoot this ? Thank you FZ
It's possible programatically foward to the next day on backtest ? I'm runing a backtest and I would like close a day when my EA identify some event.
Hello, is it possible make an EA that generate a Click on a screen coordinate as soon it see an open order ? To clarify, the working should be this : I setup click coordinates of BUY and click coordinates of SELL. The EA is working on a EURUSD chart ( for instance, can be other currencies as well ),...
  TIMER EA  (2)
Do you know if there is an EA with a sort of timer where  I can turn ON/OFF the EA on MT4 ? I mean, I have an EA working, and this EA should switch OFF/ON the EA on Time Basis, from 10:00 to 12:00 EA ON, from 12:00 to 14:00 EA OFF for instance. Thanks
I've written an EA based on an alligator strategy that uses shifted lines (8,13,21). The OrderSend function opens and closes on the 1st bar after the cross of the actual lines. Is there a way to modify this so that it orders on the bar that the shift is based on? For example, the pink box is where...
Hello, I have the project of coding in MQL5 Harry Browne's Permanent Portfolio in the form of an Expert Advisor. This will allow me to test it with ETFs. https://www.metaquotes.net/en/company/news/5123 My motivations : Backtest myself the Harry Browne Permanent Portfolio. Test the multi-product...
[Deleted]
  Kamikaze MACD EA  (2)
Hi Guys, I using a MACD EA that ships with MT4, i have backtested extensively to establish ideal parameters to use for M1/M5 charts, out of the blue instead of opening 1 or 2 trades (which it used to), it will open 70 - 80 almost instantly, i have coded a message window alert when a trade is opened,...
hello dear traders and programmers i want to make 2 EAs one of them trade on red news only  another one do not trade on red news. now i want to know can these both EAs backtestable?. or news release filter only work on live test.? thank you