Expert Advisors and Automated Trading - page 8

Hi everyone, here is an include file for walk forward analysis in mt5, it also has the mq5 file which has an example how to call it into you're EA. It's the bare framework of a walk forward analysis type program so it's not like any fancy software you've seen out there before, I'm hoping we can all
  Expert Advisor  (4)
Hi, good day. Am new here, i need help in building an EA to trade crash 1000, i don't have the resources to pay someone to do it for me. can anyone help me
I have been trying for a long time but could not fix this error. Compatible with MT5. Can you check the code I wrote for errors? //+------------------------------------------------------------------+ //| EmaRibbonEA.mq5 | //|
When I use Meta Editor IDE, as soon as compilation finishes, the scripts gets removed / reloaded immediately in Trading Terminal. How can I achieve the same behaviour (reload / reinit scripts), when using command line compilation ? I can nicely compile the scripts using command line compilation, but
Hi guy for create GUI in fast mode exist some software like visual studio for draw a GUI very fast
I have 2 issues with the code - 1. There are no profitable trades in bullish side in past 1 year according to this code , which is not particularly possible . 2. There is issue with fib object creation as well ..... #include <Trade\Trade.mqh> CTrade trade; #define FIBO_OBJ "FIB_RETRACEMENT" input
I have a program that contains 3 EA's, is it possible that P 1 has three trades, P 2 has five trades and finally P 3 has ten trades all in all 18 Trades
I hope someone have a solution: 'Ticket' - undeclared identifier its used here: if(!m_trade.PositionModify(m_position.Ticket(), newSL, m_position.TakeProfit())) also the trade.mqh and Ctrade m_trade; are ok, since im using in other parts of the code. but i got this error to compile, any idea? the
Hi! I'm really with some doubts in selling agents to Meta Cloud Tester. I'm using META5 and I had enabled AGENTS via terminal, indicating my account number and checking the "Sell Computing Resources" box. So, my questions are: 1) Is my computer really enabled to sell time/processing to cloud? I can
i print the Ask(),Bid() in the ticks,but sell stop is invalid. for examp: Ask:2920.69 -- Bid:2920.63 ,i send the sell stop in 2920.54, is invalid price , Would you mind tell me the reason
I'm trying to automate placing orders starting from an external file. The parsing of file is working well. The issue is on create order. I'll show you the code used to creare a Request for and Order: MqlTradeRequest request; double point= SymbolInfoDouble (orders[i].symbol, SYMBOL_POINT
Hi everybody, I would like to ask for help here, please. I have an EA that generates good results in Strategy Tester yet does not take any live trades. Any recommendations what to check / what could be the reason behind no real trades taken ? Thanks in advance for any feedback. Alex
Hi guys i create a gui but when i load in chart if chart is not open full screen , the gui mix all input box button and other , why ? not understund this si my code i attach it, anyone can explain me ? thanks
Hello,  How can I set fixed spreads in MT5 backtesting ? It's always floating? Thank you.
Hi all, newby question, so sorry if this is dumb! Is it possible to create an EA that scans the whole market and ranks by Top 10 for some criteria (e.g. RVOL, % change from open, etc)? So far all the documentation I've seen seems to point towards EAs only being used on 1 specific stock at a time
Hi! is there any software or app that can test a function or a block of code? I want to write and test along, block by block or function by function so that I know when am getting it right. it seems MQL built-in strategy tester tests the whole program. I will appreciate a help. I am still new to EA
Hi all I have a problem when counting pending orders using C trade. It opens too many pending orders instead of one. If you know what the problem is, please help. int OrdersPending() { int Pending= 0 ; for ( int b= OrdersTotal ()- 1 ;b>= 0 ;b--) { if (m_order.Select(b)) if
  Deal handeling is wrong!  (12   1 2)
Hi guys, I am trying to find initial Balance of account working with Deals history and simply made a code to take and Print Deals data like this: void FindInitialBalance() { if (! HistorySelect (EAStartTime, TimeCurrent ())) {initialBalance= 0 ; return ;} datetime Day0 = iTime ( Symbol ()
Hello I am trying to restart OnInit() when I click on the OK button of the standard configuration panel of mql5 even when I have not modified any parameter in my configuration Do you have any idea in which base class of mql5 I can go to modify this behavior Thanks in advance and have a nice day
Hello! Please I'm trying to migrate my account to the VPS server but I keep getting the message below Migration to virtual hosting failed: debug versions are not allowed. Please recompile " Ziz zag arrow.ex5" and migrate again. Please I need help on how to get this fixed. Thanks
Hello all, I just created this script to compare overnight and premarket activity over a certain number of days, and tell me the percentages when: 1. Premarket high breaks overnight high - does the US session break the premarket high and/or the overnight highs? if so, by how much %? - does the US
anybody now about this one
Hello friends when I am trying to upload a product on mql5 market . I receive a message. It says your file is compiled for profiling and gives me a version and date and flag. anyone has any idea how can I solve it. Thanks
Hi, during optimization I need to calculate the Sortino indicator, but for Equity. For Balance it is simple: based on the history of deals. Please suggest strategies on how to collect equity data during optimization, so that the data can be processed in OnTester(). Thx in advance, Koval
#property script_show_inputs input bool allsymbols= true ; input bool alltrades= true ; // All Trades(pendings also) void OnStart () { int total = PositionsTotal (); double profit= 0 ; for ( int i= 0 ;i<total;i++) { ulong tick= PositionGetTicket (i); if (
i need help please. im trying to prevent the ea from making multiple trades at the same time. i have tried it with a for loop but had no luck.can someone please help me to solve the problem. my code look like this. its the buy section //-------------------------------- Buy
hi i try to understund panel (example in indicator ), why edit not show ? PanelDialog.mqh //+------------------------------------------------------------------+ //| PanelDialog.mqh | //| Copyright 2000-2024, MetaQuotes Ltd
in the mt5 strategy tester agent , in the above snapshot, do the agents have permission to work for the cloud on Sunday or Monday
with this tread we can know what happens with our platform ( specific for strategy tester ) so we don't need to open new tread and you have a journal. 1. bold your problem subject. 2. attach your terminal screen shot show us which your problem ( with version ). 3. if your problem fixed show us...
Hi, within the EA it is simple to get the name of my EA using following code: MQL5InfoString(MQL5_PROGRAM_NAME) But I couldn't figure out to get the version number of the version #property field. Is there a similar way to get the version number? My workaround at the moment is a #define after the...