MQL4 and MetaTrader 4 - page 698

Hi, the calculation of "macd_signal" in my EA code is: double macd_main= iMACD ( NULL , 0 , 12 , 26 , 9 , PRICE_CLOSE ,MODE_MAIN, 1 ); double macd_signal= iMACD ( NULL , 0 , 12 , 26 , 9 , PRICE_CLOSE ,MODE_SIGNAL, 1 ); but regarding the documentation this will calculate "macd_signal" with MA 9(
Looking for day traders to trade big size accounts Equitie BP starts from 50k to few m's with perspective to grow. Profit target 2-4 % per month. For short period of time traders will have to use a demo platform before they will get a real account. Steady day traders only. For more info contact v...
[Deleted]
Hi all,  The question on which Forex.com was unable to respond was about the details  of the provider who give them "News" in "news" window within the MT4 platform they provide...  They vaguely saying that  it's provided by Thomson Reuters, but in order to use this information (what I would prefer...
terminal.exe (745) on MetaTrader 4 does not start at all. I think the problem started after I updated Windows Technical Preview to Build 9879. Before, there were situations when MT4 started slowly. Also, when it worked before, it sometimes forget the login data, so I needed to register a new demo...
Is there a way of viewing on more than one screen a currencypair that I have loaded under “Profiles”   I have two screens operating from one  computer   I have all the currency pairs loaded under the “Profile “Tab   What I would like to do is to be able to click on one of thescreens and bring up...
How long does this function work, when I press AutoTrading how long is it supposed to work until I have to click it again? Or it doesn't work that way? Because in my MT4 it sometimes turns off (I think it's after 24h usually). If it turns off, then is there an option to turn it on so that it stays...
Hi, I have a Joomla website, and I would like to give the possibility to my members to display their MetaTrader statistics in their profile on my website. I heard that there is no MetaTrader PHP API available, so is there any other way to proceed? I would like something very simple, similar to...
[Deleted]
Hello Everybody and Thanks for this preliminary interest in my project. It is not something can fit the Freelance Market, and i clearly explain why. I want to create a revolutionary software able to work at the traders side and to guard all the traders decisions. Every traders in every markets will
I want to build in number of time period options to trade into my first code, is there an enumeration that could deal with a list of options. Thanks for any advice ! 
[Deleted]
Hello, i want to know why you can optimize some EAs and some not? I have the problem, that one of my EAs works normal, but if i want to optimize it there is nothing in the window, just nothing happens. Has the code to be coded in a special form for it or what can i do ? thx and greet
[Deleted]
hello, i'm trying to add custom levels to a Pitchfork as described here: https://docs.mql4.com/constants/objectconstants/enum_object/obj_pitchfork   ObjectCreate(0,"Pitch0",OBJ_PITCHFORK,0,ZZTime[3],ZZPrice[3],ZZTime[2],ZZPrice[2],ZZTime[1],ZZPrice[1]);ObjectSetInteger(0,"Pitch0",OBJPROP_COLOR...
Hi would appreciate your help and feedback I wrote the following EA and it's a very simple strategy, but it doesn't when apply to the a chart and there fore when I do back testing it doesn't open or close any trades Thanks    #define...
[Deleted]
Hi, is anyone aware of an Indi or EA that generate alerts when Fibo Fan levels (38.2%, 50%, 61.8% etc) are broken ? Any sample code ? I could adapt it to my needs. Help is appreciated, thanks. 
[Deleted]
Hello, Is there a way to set the User Data Directory upon terminal start? I think that would be a solution for my problem, which is: I have XP system, that I access via RDP. I have configured that the MT4 terminal starts automatically after system restart. When the system is restarted and the MT4...
Dears, do you know which function can get the leverage value? Or how to get it?
Dear friends,   Is there a way or function available to check the correspondence between lots and units of different symbols on my account? I searched on this site and didn't find it. Or where can I find the list of lots/units correspondence with different symbols? I know it's '1 lot=100000 units'...
When I try to change either my master password or investor password, the change fails and I get a Cannot change password [not enough rights] message in the Journal tab of the terminal.  What is causing this. I know the current master password is correct because if I key in anything else for it the...
[Deleted]
Hi,  I'm trying to open a BUYSTOP order but get  error 130 even though I follow the StopLevel Minimum Distance Limitation.   Print("ask price=",DoubleToStr(Ask, print_digits));Print("bid price=",DoubleToStr(Bid, print_digits));double stop_level_points = MarketInfo(Symbol()...
[Deleted]
Dear All, I am looking for a free program with which I can convert .hst files into .csv fast and easily. Can somebody help me? Thank you very much! Kind regards, Martin
I have a native library built with Visual Studio 2012. Required project configuration properties: General / Platform Toolset  =  Visual Studio 2012 - Windows XP (v110_xp)C/C++ / Code Generation / Runtime Library  =  Multi-threaded (/MT)ExpertSample.cpp: #define...
  iCustom BUG!!!  (10)
We experienced strange indicator calling problems. Our indicator call was with the same parameters , from within a OnTimer event set at one second. To us it seemed that, only we changed a certain parameter, the indicator started to get initialized again and again, even faster than the timer delay
When backtesting if you have a FXT file in tester/history i.e.    GBPUSD1_0.fxt and GBPUSD5_0.fxt How can you be sure it is used rather than another being generated? How can you be sure it is not updated? How can you be sure it is not overwritten? Is there a way to start MT4 , via command prompt,...
[Deleted]
Hi everyone, I'm french and I apologize for my english. I dont' know the correct word for my research in google. So I need your help pls. I'm looking for a mt4 script that would allow to me to open several chart windows of the same currency pair in one click. I explained me (I'm going try ^^): I...
Dears, When testing my EA, many orders sometimes were repeatedly opened at a same position. Finally I found the issue came from this sentence, "if(int(Time[0]-OrderOpenTime())>CandleInterval*PeriodSeconds(0)) nearPosition=false;".Below is the program with more details, which to prevent order opened...
  Auto Trade Lines  (1)
I trade using horzontal lines that when crossed, reverse an existing position. Are there any EA's that can automate this?
MetaTrader 4 Build 574 with Updated MQL4 Language and Market of Applications Released Over the past six months since the release of the public build 509, we put in a lot of effort to improve all the components of MetaTrader 4 online trading system. MQL4 programming language for developing...
 Please write here, if you have an 403 error accessing mql5.com and/or blank signal tab in MT4. For example like this one https://www.mql5.com/en/forum/8778 by user roogoot. Temporary solution is change your IP address, and on your mql5.com profile, disable control session by IP.  
I usually do no have problems with this but recently MY EA's testing will not go back far enough in history. Any idea why EA's randomly seem to disregard the EA date use settings ?
Hi, I recently sign up with IC Markets and downloaded their MT4 platform. However, the MT4 will often crash/freeze when I try to apply my own templates. There should not be any problem/issuess with my templates because I have been using them perfectly for my other 2 separate MT4 platform with other...
Hello, does somebody know, if isthere a possibility to use a two-dimensional array in the StringSplit function.If I use it like bellow, than I get always an error:']' - expression expected, 'TradeValues' - array required I want towrite the split strings in the second dimension of the array...