Hi, Kinda stumped on basic question here. Simple though to who knows. In a EA, when you have indicators say one from D1 and a few others in H4 and M30 say as an example. What is the accurate time frame period for the tester to test in? In a case like this, what I have been doing is downloading the
Hi dear, I heard that I can use below cods to open the position once new candle opened : if (iVolume(Symbol(),time,0)<=1 ) int tiketbuy=OrderSend(Symbol(),OP_BUY,lot,Ask,5,Ask-(st*Point),Ask+(tp*Point),"Aras",1111,0,clrGreen); OR if (Volume[0]<=1 ) int
Hello Every one, i want to take profit of 1 dollar from my trades opened by EA, but it takes my manual trades also into consideration also other EAs positions too, kindly help me out, i am new on MQL
Hello, for MT4 How can I backtestan advisor for weekly charts? I have only 1M, 5M, 15M, 30M, 1H, 4H, Daily Weekly, AND Monthly is missing, how can I add them? Thank you
Friends, Greetings to all, I'm newly using MT4. I got multiple time frame RSI of 1,5,15,30 min on my chart. Its giving me result in data window on tick in 1> first column latest value of RSI 2> second column value of RSI where ever the mouse pointer goes which keeps on changing as the cursor moves
[Deleted]
Hello All, How do I put Moving Average Indicator in the RSI window? When I try to do it, Moving Average shows up in the main window, not the RSI window. I am using MetaTrader4. Thanks so much for your help
[Deleted]
Hello, I have tried several times to download the MT4 platform from the site https://www.metatrader4.com/en/download. The MT4 installer is downloaded but MT5 is installed. Why
Hi everybody. I am curious to know whether there are any rules regarding what you can input as a name for a .ex4 file? I have three EA .mt4 source files. When compiled into a .ex4 (with no errors), one of them runs perfectly live and during backtesting, while the others stare back at me blankly
hi i wana to create a ea about momentum pls help me to do it! when i type this: double m=iMA(NULL,0,28,0,MODE_SMMA,iMomentum(NULL,0,40,PRICE_CLOSE,0),0); Comment(m); mt4 is shown 0.0 for me please tell me whats wrong with this
Hi, I am trying to put a 20 sec delay after STOP LOSS hits and wrote some code about it but it fails, where am i wrong, any help please? Orange highlighted area is the part where i am trying to put some delay int start() { //---- double MaCurrent; int ticket, total; if(Bars<20) {
I understand when you switch EA or maybe restart MT4, the EA's parameters are loaded automatically from the saved config file. Also, when you are just editing the Expert, tweaking its properties and doing tests, the changes you make are persistent between iterations. But just now my EA began acting
Hi forum, Can somebody please review my code. Im currently trying to developing a lot martingale strategy for expert advisor. And stuck at the problem now. As you can see in my piece of code its a not working one . I'm not sure how to use the Array and For Loop for my code problem ( Yes, im a noob
Ok ! I'm having a problem being able to draw multiple arrows! Basically, if there's a higher high or higher close candle, then one of two functions will be run in the Draw Arrows functions area. I'm trying to add a number to the name of the arrow, so I can have multiple names draw multiple on the...
Hi I need to call the up arrow and down arrow, in this indicator, can someone help me please Thanks in advance //+------------------------------------------------------------------+//| !!!_2019_C_Blocks.mq4 |//|
Hello, Could you explain to me why this code sometimes return ATR=0? string orderSymbol = OrderSymbol();double ATR = iATR(orderSymbol, PERIOD_M15, 5, 0);if(ATR == 0){ Print("ATR=0...FAILED...RETRY..."); return false;} orderSymbol can be different from graph than the one the EA is attached
Please tell me what is wrong with my code on the snippet below, after compiling there is a warning that says I 'OrderSelect' and 'OrderClose' should be checked and when I execute the EA on my chart, it does not close at the specified points. void CloseBuyPositions() { for(int i=OrdersTotal()-1;
Hello, I have installed MT4 on my VPS ( not the mql5 VPS) and tried to login to mql5 community. Although my credentials were correct, It fails and gave me this message 2020.05.08 Signal: '230701219': failed get list of signals, connection error 2020.05.08 Signal: '230701219': failed get list of
i have tried all i can just to grab data from this custom indicator, its "<Deleted>" and i want its value to be use in my EA by getting the buffer, but i dont know wether its because of the parameter or other cause, i have successfully get buffer from other custom indicator, but this one is not.. i
Hi, I'm new, but learning lots I have searched, but none of the solutions worked for me. Here is what I wrote for it, but the result sometimes results in not enough money? Any specific flaw in my logic? I realize I am not including a risk here, but just want to make sure I am on the right track
Hi there, I'm stuck with this thing. The idea is to generate an arrow object at current candle OpenPrice, when previous candle Open & Close is completely outside the range of 2stdv. The code works once, but wont work "every Tick". Thank you! extern int BBPeriod = 20; extern double BBDeviation =
I'm new to forex trading but have a background in programming. I have a strategy that has been working reasonable for me but it involves a lot of staring at the screen waiting for just the right time to open a position. I'm working on an EA to automate this but I need to get the values of D+ &D-...
Hey all, I'm currently working on a custom Hull moving average (HMA) indicator that detects and labels local minimum and maximum points of the Hull curve. At first glance, this modified indicator seems to work well (see images below), tagging HMA minimum points with a green buy signal arrow and HMA
Hi I know I should go to freelance for this but I'm looking for an ea that opens orders once a trailing appear. Example lets say trailing opens up after 10 pips (100pts) and as the price go forward so does the trailing step. Now when price goes on reverse and hit the trailing price it opens another
Hi everyone A few days ago I added a topic to understand why my indicator repaints . William Roeder said that my main loop is wrong, so I followed his method but still the indicator was repainting. The reason why I added a new topic was I think now the question is totally different. So, I removed
Hello everyone, I've been using MT4 on MAC and Windows for several years now. It runs well on both OS's, but since the MAC version is actually a virualized PC application through Wine, it has a couple of limitations compared to the pure Windows app. For example, on MAC you will not be able to access...
I am using the same code with two brokers, one broker things are working fine, but with other brokers, it places 2 or 3 orders and then this error comes up Order send error 2 This is the function i use for defining lots , Ordersend, can any one figure it out please double GetLots() { if
input string ="a,b,c,d"; I want to know how to separate by comma, strings and print them. For example, I want to make output using Print like,,,, My name is a. I like b. Do you know c? I hate c.
Hello Example: If I want my EA to Find the second last fractal up, that was above Moving Average 100 And compare it to the last fractal up, thats above Moving Average 100 If the last fractal up is lower then the second last = SELL I think i got this right, But i need help putting in the Moving
I am trying to draw 4 horizontal line calculated using a MA but when i run this code, it draw the lines but dosnt update them What should i do? int start() {//---- BURADA EMA'YA GORE +-30 ve +-300 RANGE'leri çiziyor. double x; x =iMA(NULL,0,EMA,0,MODE_EMA,PRICE_CLOSE,0);
Hello, I have the following if statement in a for loop of my EA that runs 24 times every 1 minute bar because I want 1 minute data for 24 pairs. If I take out the iRSI function call, the speed improved drastically. Is there a different way of calling the iRSI function, or any other function to make

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.