Expert Advisors and Automated Trading - page 218

  Cant install EA  (4)
Hi All, Newbie here. Trying to download and install my first EA. I can see it in market, I have $0 in my balance, but trying to download a free EA. Can press download, its showing download, and then says "installation is failed". In journal it says "MQL4 Market: failed download product 'Partial...
Hi I want to upload my EA to the market i get a error at the Automatic validation ( When i run it on back test or real accound i dont get any error ) the code is double optimallotsize( double PercentLossFortrade, double EntryPrice, double StopLossPrice , string SYMBOL) { if (PercentLossFortrade> 5
Hello everybody, Please i want someone who can help me to make automatic trade from FiboPivotCandleBarMT5 indicator. The indicator send me alert and i want to make to algo trading. thanks for your help Please download the file down
Hi.. I´m doing Walf-forward optimization and I´d like to know if there is some criteria to pick a better configuration from backtest to run it on foward. I´m trying to find this procedure to use it in the last backtest optimization, on pre-living. Then, a better configuration can be picked up to run
I can't remember if I ever could change the input parameters just before starting to debug. It seems that I can when using real-time data but not when using historical data (which I always use). But it's not a big deal because I thought I could just change the value in the source and recompile. But
[Deleted]
Dear Members I am a bit confused about what method to use in EA for indicators. Read few articles on this and come to conclusion that 'Implementing Indicator Calculations' inside the EA is best practice. However while going through this article https://www.mql5.com/en/articles/4602 on the forum and
  Help to code  (3)
Hello, after several hours of searching on google, Youtube and on the forum I finally found a way to export the mt5 data to Excel thanks to a small MFC application (DDE server), the problem is that the code allows to have only the name of a company that serves the account , the server time the
Dears, I´ve executed my script in strategy tester mode, and found out that the same script, when executed in different times, is giving different results. The point is that, doing the same test several times, there are times I´ve got 3 trades, and there are time I´ve got 21 trades for the same back
I have a very specific object that i had watched in a youtube video I want to draw a chart like this on my template with all the symbols in my market watch and if a sell condition is executed it should display "SELL" in the respective symbol and timeframe. Any ideas
I am new to MQL. I am looking for a simple multi symbol multi time period EA template which can be used as a template to create new strategies? Suminda
[Deleted]
NOTE: The continue operator passes control to the beginning of the nearest outward loop (while, do-while or for) operator, the next iteration being called. please CORRECT Me, if I am wrong ... for ( int i = ( int ) MathMax (prev_calculated- 1 , 0 ); i < rates_total; i++) { double vol;
i bought an EA from MQL5 platform. when my computer updated then EA not working waste one activation. is there is any solution for this
Could anyone make a EA that is one of my own signal ways (merging RSI with Moving average in MT5)
I have a custom indicator that I want to delete it when some actions happen and add new one with different inputs. Also if its possible just change the input of my indicator. // for example delete the first one and add another one or just modify the first one iCustom ( "GBPUSD" , PERIOD_M1 , "ticks"
Hello, I would like help with the optimization of an EA on MT5 I have a very complex EA that requires very precise optimization. It is a multipare EA, which works on the 28 pairs at the same time. Backtest work perfectly, using "all Tiks", and even the customme pairs I imported from Tick Data Suite
I've been coding EAs for a few months now, and using different indicators to detect trends. Eg multiple moving averages combined with ADX, or RSI combined with Bollinger bands. In the forums, I often see people discussing using "MTFs" (multiple time frames) for their trading systems and EAs. How
Hello, I have created an moving average in an EA. how can i add: input int shift=-15; positive or negative ? input int shif=- 15 ; int handle1; int OnInit () { handle1= iMA ( Symbol (), PERIOD_CURRENT , 10 , 0 , MODE_EMA , PRICE_CLOSE ); return ( 0 ); } void OnTick () { //--- double
Hello, what do you think is the better way to manage your stop losses when you trade real stocks and NOT CFDs. 1. Send stop loss directly within your market order so that it lies at the broker/exchange side 2. Or manage stop loss within your code (virtual stop loss) meaning when the price reaches
Good afternoon, what could be the reason for the "test on EURUSD,H1 strategy tester report not found" error all of a sudden? But nothing before that seems to be the cause of trouble. I'm testing on my terminal - it's clear (no error at all). I've rolled back to the previous valid version, which has
Hello trades and experts Could anyone make a EA that is one of my own signal ways (merging RSI with Moving average in MT5)? best for all
Can anyone help with this request pls. Is there any MQL5 script or EA which can be used to restrict no of manual open positions for an account at a given time. For eg. 4 open positions at a time. Thanks in advance for your help
To be clearer, If I gave a developer the expert advisor file can he/she remaster it for a newer version of MT? Just have some thoughts for the future. Thanks
In the watch panel, testFunction() could not be evaluated. While testVariable returns properly the value from testFunction() (1234) //+------------------------------------------------------------------+ //| test_expression_not_evaluated.mq5 | //|
  how to demo ea  (5)
hi how can i make a demo version of my robot? I don't want the person I send to see the codes on my robot. I just want it to use it for 1 day. how can i set them
Hi friend, I am new to Mt5 coding. I need help to add a functionalityto this EA.  when signal is generated it opens new position at the next tick price. // I do not want this  It should open position only at the opening on next candle. Here is the code is have #include <Trade\Trade.mqh>#include...
Can someone help me please? I have this code that will open a buy trade when this condition is met but the problem is, as long as the ema 10, 23, 32 and cross up it wont stop opening positions until they cross down. How can I stop this and only have the ea open one position when the condition is met
Hi,I have this orderclose function working in MQ4 but as the tester results doesnt show any closed position must be a translation mistake, if someone can check this issue I thank you in advance. void OrdersCloseLong(){   for(int i=0;i<OrdersTotal();i++){      if(PositionSelectByTicket(i)){...
[Deleted]
NOTE: REPOSTED, as earlier one Deleted by mistake (and dont know how to undo that) Dear Forum Members I have tough time to locate why my Class Object created gives different values then Custom Indicator values, even though I have used the same calculation code in both of them. I have attached
Hi all, Could I please get some advise on the following (very new to all this - so just a simple EA based on a 20SMA) //+------------------------------------------------------------------+ //| Inside_bar(new).mq5 | //|
Hello is there anyone here know how set TP when in martingale Forex Fl*x ?? Let say i have 2 loss trade before and they open bigger lot, how to set and make sure the biggest lot close when already covers the last 2 losstrades? Theres too many perimeter on <Deleted> input and so little information