MQL4 and MetaTrader 4 - page 636

For same code, sometimes there are not input parameters shown in the saved report after back testing. But sometimes the saved report is fine after back testing. In case that the report is saved and hasn't parameters in the report, html file, I always couldn't save a report with parameters no matter
Hi everyone.  I have working (searching the forum) the last few weeks and managed to pull together an EA that does not compile errors any more but the structure of it is all wrong and because is not executing at the proper times.  I was hoping some kind soul could take a look and help me to...
[Deleted]
Is there a way to load a .set file by code? From what I've read it appears the only way is to do a file read, but this won't change the settings in the inputs dialog box which is what I'm looking to do through code.
Hi, does anybody know how the initial values of a struct are set? #property copyright "Copyright 2014, MetaQuotes Software Corp."#property link      "https://www.mql5.com"#property version   "1.00"#property strict//+------------------------------------------------------------------+//| Script...
[Deleted]
I am MQL4 programmer. Could someone give me a clue how to run a pause in strategy from the EA, the metatrader 4. Already much but thank you. LupeMar. Sou programador de mql4. Alguém poderia me dar uma dica como executar um pause na estrategia desde o EA, no metatrader 4. Desde já muito mas muito...
Hi there, when I search I see a lot on how to check if a stop event took place but cannot figure how to check if a stop loss is currently place on my current open order. Something like: check all existing order on this symbol with this magic to see if there is a stop already placed, if not then......
To determine what is the total closed trade, "OrdersHistoryTotal" is used. To determine what is the time of the last closed trade, "OrderCloseTime" is used. How to determine the last closed trade symbol (eg; usdcad or usdjpy or eurusd etc...)
Hi there I have searched and cannot find the exact answer on how to incorporate ADX into my trade logic. I am trying to only allow my buy order be opened only if the current 8 period ADX value is > 22.  I thought it would look like so, but not luck.  Any help would be greatly appreciated. if...
could it be possible to have one open orders pool loop for multiple pairs / periods? one for all orders is better than 12 running simultaneously just for moving stops. for practicality it would seem to only be needed if there are orders open and while a pc might spread its workload over multiple
Is there a way to use metatrader as a simulator at all? So if you wish to practice tradeing based upon past data and when the market is close on a weekend you can do so at all? I was just wondering if this could be done. Thanks Larry Liles lileslarry@yahoo.com
[Deleted]
I wish to know if in MQL4 language there is an associative container like map in C++. I know that there are a lot of enumerators and arrays but I was wondering if there is something, like a map, that better links both. P.s. I know that implicitly an enumerator could be a raw map (String + value) but...
[Deleted]
Hi everyone! I am new of MQL4 code world. I come from a C++ background and I am trying to learn MQL4 language & conventions. I am writing a simple Expert Advisor (my first of all!). It compiles but, when I test it, it ends with "every tick a trade". I attach code to better understand what I am...
[Deleted]
Can anyone help me trouble shoot an EA. It  essentially manages the trade one entered and has worked fine for a couple of years but as of this week it won't load onto the chart? I don't have any error message in the journal and all the settings appear to be activated. Only thing that has changed was...
I am stuck with an array out of range error. I've done much search to try find common coding mistakes and have placed 'safeguards' in to try stop the indicator trying to fetch outside the range. The indicator works, but sometimes when I flick through the time frames, I will get the array out of...
[Deleted]
  Job vacancy  (74   1 2 3 4 5 ... 7 8)
Hello Open position programmer with knowledge and experience with the programming languages MQL4 and C++, experience trading in the market is welcome. Office is located in the centre of Moscow, employment full-time (5/2), accommodation Moscow and the Moscow region. salary by interview results. For
Eg: EA default parameter settings as StopEA=true; If (a>0) { StopEA=False; (this to be changed in expert parameter settings) } i would like to change this settings as StopEA=false while EA runs. Is this possible to write code? if yes please advice to get
Hi A few questions re upcoming releases: 1) Are there any plans to include Renko or Range Bars within the application? 2) Any plans to allow detaching charts / moving outside the main window ? 3) Any plans to be able to change the symbol of a chart? 4) Assuming 3) Any plans to be able to link charts
I've downloaded the MT4 setup (mt4setup.exe) from Metaquotes.  Unlike installers from brokers, this one won't let me install it to a custom directory.  Is it possible to change this so I can?
Hi, I tried to implement Ehler's Universal Oscillator which he described in his article "Whiter is Brighter", an implementation at TradingView can be seen here: https://www.tradingview.com/script/ieFYbVdC-Ehlers-Universal-Oscillator-LazyBear/ and implementations in various languages can be seen here...
Hi, I am good in EA development but new to back-end (broker) integration. I win a website project of a client. My client is a licensed MT4 broker. Now I have to develop his website and SYNC it with his MT4 server. so that he could add & manage his members. Members could also manage their trades,...
Hi I have bought a new computer with Windows 8.1. When I try and run 2 MT4 platforms together, different brokers and different folder on computer one will hang. They run fine separately but if you log into the other then the one that was running hangs. Never had a problem with my old Windows 7 M/C....
Hello,  I have this indicator that i think is quite interesting, its design to find tops and bottoms in trends. My problem is that i want to have this indicator in mql.  Is there someone that understands the pro real time code and can translate this to mql?   Thanks!   Pro Real time code:  " // Add...
I need to get into the TrailingStop and BreakEven value specific candle, for example H1 10:00. As at any time during the day to gain Size, Low, High some specific candle? My simple suggestion is not working double A = iHigh(NULL,PERIOD_H1,Bars(NULL,PERIOD_H1,D'10:00:00', D'10:59:59'));...
[Deleted]
Hello, Please I have faced a strange situation that is when when I load my expert then I enable the auto trading button, the expert doesn't open any orders, but when I enable the auto trading button first the load the expert, it works fine... Is that situation is ok.. or there is some thing wrong....
i was just trying to download the user manual and its like the site crashed after i got it. thanks to google translate it would happen to be saying Server Error 403 - forbidden. Access is denied. Provided credentials are not given the right to view this directory or page.
[Deleted]
Mobile Trading Trade anywhere anytime with 5Stars-forex Mobile Tradingsolutions. The speed of today’s markets means that you need to haveaccess to your trades 24/7 from wherever you are in the world. 5StarsForex hasdeveloped a range of mobile trading solutions that cater to smartphone userswith...
Hi! I am newbie in mql4 programing , i want write equity profit locker for my EA and input in EA parameters . for example : after %10 or more equity grow , EA will not work until the end current month . please help me for this
  Check My Code  (2)
wish that my code was working in tester, it seems to be stuck in a loop. im new to using a while loop in the start/on tick and was hoping for anyone familiar with this ..the while loop is for waiting up to 15 seconds for spread ( with each time frame ) to be normal. so basically there is no way in...
[Deleted]
Hi guys! As a newbie programmer, I'm having a hard time understanding how does the Babon Slope indicator calculates it's values. Any help would be appreciated really, but I am most interested in the exact steps of the calculation. Thank you in advance. Balazs