Searching over previous posts, I found an old one related to this called: "Load Server History - script for MetaTrader 4". But I am wondering if there is a way to do this from within a script (or EA, ind) now since Build 600 (or 7xx...)? Does anyone know of a way to get all the history from the...
[Deleted]
about two months ago a problem was introduced in the functionality of the equidistant channel. After a channel has been drawn, placing the cursor on the top or the bottom of the channel displays the price at that point of the channel. Formerly, this worked properly for both top and bottom of...
Hi, just a few word about my idea: I want to visually backtest support and resist zones. To do that I have to go back in time and plot them. Then I scroll forward bar by bar until a line is hit. Then I decide what to do and scroll further. Just a simple exercise to learn about price action. Ok, now...
[Deleted]
Hello! Sometimes, after a longer period of running MetaTrader, many indicators on ALL charts get corrupted in the same moment. See the screenshots. - Arrows indicators appear in a strange places (from this moment). - Line indicators changed values. - Old bufor values were reset. There is nothing...
[Deleted]
hi everybody i am almost coding illiterate so i try to learn by myself. i am trying to make an indicator based on macd cross that will draw horizontal line on the main window when macd line equals zero at different time frames at the same time. i try to modify macd (attached) but it shows nothing....
Hi Can someone please help me. I am trying to purchase the EA Adaptive scalper and when I click buy it just asks me do I have mt4 which I do. when I click yes nothing happens. Does anyone have an e-mail address or contact details where I can purchase this system. I would really appreciate your kind...
I'm confused about what I should be reading Mql4 custom indicator properties vs Mql5 custom indicator properties. When creating a custom indicator on mql4 it does indeed insert the OnInit() and OnCalculate() functions For example: From MQL5 - https://www.mql5...
Hi, Im receiving the following error during pass 5++(more than 500) on my ea. "Optimization stopped due to a fatal error in the EA" Im thinking that one of the parameters from the optimization is forcing a zero divide on the program... What else could it be? Thanks
After I read the indicator, I still don't understand what value I get with iZig0. Who is familar with zigzag and iCustom()? Could you please help on this? Thanks. for(i=1; i<ZZBars; i++) double iZig0=iCustom(Symbol(),0,"\\zigzag.ex4",ZZDepth,ZZDev,ZZBack,0,i);
[Deleted]
Hi anybody that reads this. I have successfully setup Renko charting on Gbp/Jpy and it is working fine. However I am not succeeding with the Euro/Jpy pair. When I go to offline and open offline chart there is no EURJPY,M2 to be seen or found. One can also see the GBPJPY M2 as well as the Renko chart
I want to print out the Close price and MA price (1 mintue) though the back testing. Here is the code of the EA: //################################################################## #property copyright "Copyright 2014, MetaQuotes Software Corp." #property link "https://www.mql5.com" #property...
Please see the screenshot below. The volume indicator is 1. Does it mean only 1 tick executed each candle? However, you can see the candle has open, close and high prices
Hi, I am new here and I have aproblem with the expert advisor and I don't know how to solve it because yesterday it worked but today it don't and I don't know why I hace reinstall it but I haven't resolved the problem. The problem is when I start the EA the screen show a message that metatrater is...
HI i'm trying to programm an EA that places orders at a certain time of the day and close it at another. The EA works but i have error messages (OrderSend error 130 which means wrong stopLoss) but i cannot find where the error is. I've tried several stopLoss points to see if it came from that, but i...
I'm trying to make a new EA with recursive function and every time I back tested it, its always " Meta Trader has stopped working ". I don't know in which part is the problem. I put some of print statements for debugging but I couldn't see it because it crashed. I also couldn't find some output in...
Hello guys, may I ask you one little question: do you split your EA code within multiple files? If yes, how? Can I move implementation into .mqh files and include them? I am a C/C++ programmer but I'm quite not sure what to do in this MetaEditor...
I'm fairly new to EA coding but i am completely stumpped here.... I have no errors in my code, no syntax errors, nothing. EA works as it should perfectly when i attach to a demo account forward testing. But it does nothing in the strategy tester! I have tried other EAs (not built by me) in the...
Does anyone here ever bought Rangemasterea? I found the video youtobe, EA seems to look good and follow trends, I also see a real account of their website some good results. if it is nothing to buy, please review here, if EA they really profitable? because I need to know before buying. Thank You.
Hello everyone, help please !!! I'm developing an Expert Adviser on MetaTrader 4. I set the take profit and stop lost at 50 pips. The observation made in the testes with a volume of 0.1 for example, take profit profit gives me 28 euro while a stop lost takes me -38 euro. So what I would like is to...
Hi, I just wrote a little script for a speed test : //+------------------------------------------------------------------+ //| SpeedTest.mq4 | //| Copyright 2014, MetaQuotes Software Corp. | //|
Hi I have 2 buffers exactly the same except one is LOWER_MODE and the other is UPPER_MODE Alow() works fine while Bhigh() creates Meta Editor errors 'B' - some operator expected ABCDtrade.mq4 116 7 expression has no effect ABCDtrade.mq4 116 11 possible use of uninitialized variable...
Breaking: Alpari UK shuts down its doors http://www.atozforex.com/news/breaking-alpari-uk-shuts-doors/ #forex #breaking #news
Hi all, after days trying to debug this error I finally come here to ask for your help. I am developing two EAs that have a file in common. This file has a class which is an Expert Advisor base I wrote with typical functions such as TradeOpen(), TradeClose(), CheckNewBar(), etc. I explain this...
I have a free data sample of DAX30 data from TickData. The data is in csv format and the first three columns of 'tick' data are date, time, price. Is anyone able to give me some advice on how to convert this into a readable format for use within Metatrader History Center???? Thanks Tim
Below is the error screenshot. Who knows the root cause and how to fix it?
Why would FoundFirst always be equal the Low fractal and never update if a high fractal gets updated on this ZigZag scan... int FoundHigh= 0 ; int FoundLow= 0 ; double FoundFirst= 0 ; int k= 0 ; while (FoundHigh<= 2 && FoundLow<= 2 ) // LAST x ZIGZAG FRACTALS {
I still have not figured out why metaeditor keeps crashing. I do nothing other than try to compile a file and it tells me that I can not save it is write protected. So I have to rename it and then I can compile it. Sometimes all I have to do is hit the space key and I have to get it unlocked by...
Hello, Today I was very surprised that my EA opened a new trade after I closed the order. This did happen because the open and the close were in the same candle, which caused a positive signal of the function "IsNewCandle()". I think the best way to fix this problem is to add a volume-check in the...
Hello, I have several horizontal lines and trendlines in a chart and I want to check if any of them is within a defined price range. Right now I check all objects in a loop if any of them is between my price levels. Is there another/easier possibility to check this without controlling all objects in...
Hello anyone, I am having a problem in MT4 where I try to call OrderTicket() to determine the ticket number for any possible open orders. the return from the OrderTicket() call is a ticket number from the last closed order. I can see on the screen that that particular ticket number has been closed...

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.