Hi there, Hope you are doing well. Is it possible to backtest a Demo version EA of MQL Market? There is a 1 year result provided by the seller but 1 year is not enough for me. I need to backtest at least 4 years on real tick data before using. Your advice is appreciated
Hi all, Let's say I have an array which my EA put values for each element after closing each position. But when I restart my VPS, my EA put default values for each element of this array rather than recent values. Should I store the values in a file in OnDeinit function and recover them in OnInit
Hi all, Is it possible? Since GVs are mainly used to restore values from last run of our EA, How could it be possible to test this by backtest rather than running EA for several weeks? In other words, Is there any option to simulate the condition of let's say power outage, MT4 crash, etc. to test
Hi,i am a beginner in MQL4, i need help. I have a custom indicator, and inside i have a variable of type bool or double. I'm trying to get the value of a variable from custom indicator to EA, but I'm not able to. I've tried it through the iCusom feature, but I can't. I have no idea where to go. Both
Hello, can someone please tell me the code for a new high / Low of an indicator. For understanding see attached picture. Thank you so much
Please help. I have an indicator, and I want to program statistics for it, according to the history of its signals (Open signal - Close Signal). Statistics are only enough for me when it counts the total Pips. Can you advise me how to do it? Thanks... :)
Hi All! I have a live cent account at a broker. I have a smartphone with Android 6.0 and I installed MT4 on it. I would like to log in (with correct login number, correct password and server) but I get always that Authorization failed... Why? I uninstalled, reinstalled....nothing.... :S Thank you...
Hi all. I am trying to calculate total Profit/Loss of the account but everything I have tried so far has only resulted in failure its a demo account with deposit : 100K Profit/Loss : (negative)-31009.63 No active trade Here is what I have attempted till now : AccountInfoDouble ( ACCOUNT_PROFIT );
Have a nice day. I use the Dialog object of the CAppDialog class in the indicator and I can minimize it by the minimize button, but when switching the instrument or changing the time frame, it is automatically maximized again. I need it to stay minimized when switching instr. or TF. Does anyone know
[Deleted]
I am looking for a method to get the position of highest or lowest point of Indicator(MACD,etc) from a period(for example from 0 to 30 bars), when i found out the point of a indicator from them,i also want to know the number of the bar it corresponded. it's so kind of you telling me how to find...
Hi everyone, I'm currently using a renko chart generator to generate a 4M offline timeframe. I recently had some trouble coding (and using) a certain indicator on this offline chart; It seemed that for every new tick the IndicatorCounted() value was 0. My question: the next few days I'm going to...
int oldSellEntry = 0 ; if ( OrderSend ( _Symbol ,OP_SELLLIMIT , NormalizeDouble ( sellLot , 2 ), ighest1, 3 , SL_TMP, TP_TMP, "1" , 0 , 0 ,Red)) { oldSellEntry = 555 ; } print (oldSellEntry); // Why output is 555 even if no trade is open? How to make sure Ordersend() successful before
Hello, Can anyone please tell me how to create a Label Rectangle that acts like a window ? Meaning that it can be dragged when it is touched (preferably in the top part of it like in a normal window) The normal Rectangle label or Rectangle don't have the ability to be dragged, but for the rectangle...
can some one slove this cod plz about last order double LastOrderInfoSell( string Info, int type =- 1 ) { for ( int i = OrdersTotal ()- 1 ; i>= 0 ;i--) { if ( OrderSelect (i,SELECT_BY_POS,MODE_TRADES)) if (OrderSymbol()== Symbol () && OrderMagicNumber()==MagicNumber && (OrderType()==type
Hi, I want to do debugging on my EA. I only have data till last 2020. Is there a way to use date and use it on shift (on the indicator)
I want to check the close price of Last Friday (time xxxxxxx) For example, now Thirthday and 14:00 I want to know the close price of 16:00 on Last Friday. Below is basic code but I am not sure how to know the time gap between current xxxx and Last Friday time xxxxx. datetime when = ...; int
Hi There, I would like to know were I have gone wrong. Attached below is the code. It is giving the error message FUNCTIONDEFINITION UNEXPECTED. void Ontick() { double K_Line= iStochastic(NULL,0,5,3,3,MODE_SMA,0,MODE_MAIN,1); double D_Line=
I have tried setting up trade alerts (under TOOLS > Options) via the email option in the mt4 platform on my local PC, (which I filled out correctly), however I always get error message in journal (cannot connect to server ). Any advice welcomed
Hi, Can someone help me how I use value 1 and value 2 from QQE indicator in an ea with iCustom? I want to use it as exit trade in ea. V1=value1 and V2=value2 , the P= previous candle because I want to make a crossover of value1 and value 2 Did is what I did: double TrLevelSlow; double RsiMa;
Hi, Can someone help me how I use value 1 and value 2 from QQE indicator in an ea with iCustom? I want to use it as exit trade in ea. V1=value1 and V2=value2 , the P= previous candle because I want to make a crossover of value1 and value 2 Did is what I did: double TrLevelSlow; double RsiMa;
Hello I have an EA running on 8 charts (indices). All works okay on my desktop MT4. All works okay on my demo account MQL5 VPS too. However, when I run it on the MQL5 VPS on my real account, no trades are placed for symbols in Euro currency. The broker is FXCM. My account is GBP. The EA does
Hello - I'm hoping someone can help me. I've rented a new virtual desktop to run my MT4 trading platform. I have a stupid problem where when I open the strategy test window within MT4 it is very small and I just can't read the text. All the other windows are fine i.e. market watch, terminal
string eeeee= "" ; //8. TRADING TIME FILTER string start_time = "07:15" ; //Disable time end string end_time = "05:50" ; //Disable time start ------------------------------------------------------------------------- bool time_check(){ bool in_range=( TimeCurrent ()<StrToTime(end_time)||
I am currently making an EA based off my own strategy, in my strategy I have an indicator called the RSO. I can get two signals from it, one from the RSO line itself but the other is from adding a separate SMA to the RSO and looking for a cross (adding the SMA to the first indicators data). How do I
Good evening. I'm working on a project with a lot of files. As I didn't know exactly what the best was is to pass something to other files I tought I ask the communtity how they do it. What ist the most beautiful/common way to solve this: So in this example there is a Main file in wich 3 other files
I want to upload my Expert Advisor in the market section, but it gives an error I also disabled all the expert advisor restrictions and set the trading lot to 0.01 but it gives error131 again please help me Thank you
Hi, I need a function where I can find out the OrderTicket() or OrderOpenPrice() of the order, that is the most closet to the current price-level (e.g. price-level = (Ask+Bid/2) ) I'm currently creating a kind of Grid-Trader thanks for any help or hint
The graphical systems should be compatible in large amount as they share the same resources, libraries of the later should be then available to the former. There are more functions in the later and primitives are differents so the question remains open. I see no readon why thet are not compatibles
well I don't know Why, but after getting acquainted with this topic & some of my tests, that I will not reproduce now, - I found that such code ONLY template < typename T, typename U, typename T0> void PrintArrObj( const T &arrobj0) { T arrobj= (T) arrobj0; int sz=arrobj.Total(); int i= 0 ;
Hi everyone, I cannot submit EA to the Market successfully, I stuck with the error no trading operator. In my source code will check whether custom indicator exist, if no it will break the program on the onTick() method. Everything working find in my PC for both scenario, i.e, there is custom

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.