MQL4 and MetaTrader 4 - page 558

To post a new topic, please log in or register
I have been downloading m1 Dukascopy data and converting it into all timeframes to try and make up for gaps in the default metaquotes history center data. Is Dukascopy m1 data more reliable than metaquotes? I am asking becasue results are VERY different on each data with same EA settings so I am...
I have a cci entry criteria when it above 100. However on one platform from my broker this can occur a bar before another platform on the same broker so causes a confliction between the results. Why is this? Surely the value of the cci should be the same and not delayed on either?
I have downloaded data from the history center for Alpari UK amongst others but for some reason the data stops at the start of 2012 but goes way back to the 90's! Any ideas why? I dont want to have to go through the process of getting tick data from Dukascopy especially considering this is limited...
Hi, i have got the fundamental data on a CSV file, and i have brought this data into an indicator, and the indicator is working well in the real time. However when i want to use this indicator in a simple expert and test it in previous time, it gives an error that the indicator can’t open the file...
Why this scrip does not work,. when there is no error  anyone can help ,.  //+------------------------------------------------------------------+//|                        SCRIPT PENDING ORDER NFP...
Hey guys, I found an EA on this site named "pure martingale" posted by gery18. https://www.mql5.com/en/code/10655 I tested it on demo and now i want to make some modifications in it according to my own strategy. 1. This EA opens random trades. e.g; Buy, buy, sell, buy, sell, sell, sell (after...
What does the WPR indicator do for a value when the difference between the highest and lowest is zero? Here is the calculation from the indicator. //----Williams’ Percent Range calculation   i = Bars - ExtWPRPeriod - 1;   if(nCountedBars > ExtWPRPeriod) i = Bars - nCountedBars - 1;     while(i >=...
fxco
Can anyone please help on how to publish results of a PAMM, MAM or any standart MT4 account onto a website? Is there any other solution than MT4i. Is there a programm for that? Many thanks in advance for your fast response.
I am trying to chart economic data from economic calendar. Read for someone ho said to integrate this XML in the indicator. http://www.forexfactory.com/ffcal_week_this.xml How is this? Thanks Trader201
  Please help ! (1)
Greetings. I have hade no problems with it in years. Using windows 7. Today I want to open it and all of a suden it is not working. It says because of a problem the program was halted. Windows will shut down the program and let you now, if there will be a solution. - or something like that in my...
I need an expert which after touching the TP immediately open a new order in that direction  and  lot can be changeable.
hi i wanted to ask about angled lines, because i cannot get value of 2nd point from such line. When i use "Trend by Angle" properties window then i see that there is are two point values listed: first value i can read with ObjectGet(name,OBJPROP_PRICE1), but when i try ObjectGet(name,OBJPROP_PRICE2)...
I was trying out Optimization on many different EAs. And I have found that the Strategy Tester has some limitation. What happens here is because how MT4 is used ( because it is designed that way to function ) , Step 1: we open up the ST,select the EA,select the Symbol,select the Model decide about...
i am new to the programming code,i need a EA that can read the file generated from excel and executed order based on the file. i had read "file function" https://docs.mql4.com/files/FileOpen, so i believe it is possible that EA can read csv.file, which is a file tha excel can convert,then execute...
Recently got a new computer running Windows 8.  I can no long access the MT4 log files, which are stored as 64-bit "Compatibility Files" by MT4.  Win 8 File Explorer does not seem to have a means of accessing 64-bit compatibility files.  Under Win7, there is a pull-down from the MT4 path to the...
I only use open of bar not every tick on m15 and above...is it worth the time and effort to get tick data for 99% modelling quality? Some trades do close for a few pips but always on a new bar and not within a bar. I thought tick data was primarily for EA's that could close intrabar, thus need the...
I found the Expert Advisor, expert.wav doesn't work, there's no sound at all when my EA opens/closes a trade. Please kindly advise if this is a in-build alert function?? Or it needs to be build in the EA in order for this to work?
OK, prob the most frequently asked question and one that causes the most confusion! I believe that when we download data from the history center (meta quotes), this data is in GMT+1 & GMT+2 time with auto adjustment for daylight savings. Is this correct and if I back test over say 10 years, finding...
MirTD
  Some mql4 coding problems (21   1 2 3)
Hi mql4 coders  i m trying to build an indicator that that changes colors when certain conditions are met.Below are fragment of codes that i write to implement it .     if(CloseM)   {          SetIndexStyle(0,DRAW_LINE,STYLE_SOLID,3,Red);     } else {    if(CloseN)           {...
we can get a chart for some symbol, xauusd for example, on MT4. On this chart we can see many K lines, ups and downs, and when we put mouse on certain K line, the information of this K line will be shown, including the time when this K line was born. my question is as below: this time is very...
There is an expert advisor that closes all open positions when raggiungiunge $ 1,250 of value in the portfolio. thanks
Is this data available, I have downloaded all timeframes multiple times in mt4 but cannot get data before then, is this normal? Alpari UK is the broker I am using.
Is there any way to have multiple newlines within a string? string sqlQuery = "Line 1Line 2Line 3            ";  That gives an error.
Hello. How can I change all price range of all price windows in Mt4 at ones? I mean: let say I have 4 price windows openes, in 1 day range all of them. Let say I wan to change all of them to 1 hour, at ones, and not one by one Thank you for your help trader201
Hello, I use EMA 288. when the price moves upward of EMA288 place buy order at the same time place sell order when price moves downwards to EMA288. I use additional filter MACD above 0 for buy and below 0 for sell. The problom i need to solve is: sometime the price moves upwards to EMA288,but...
Dear all,  my EA frequently reports "OrderSend Error 130" during backtest. The code snippnet is as follow: a double slprice=NormalizeDouble(High[iHighest(sym,240,MODE_HIGH,10,1)]+40*Point,Digits-1);    ret=OrderSend(sym,OP_SELL,LotsOptimized(),Bid,3,slprice,0,"",MAGICMA,0,Red);    return;in the...
Hi, i created a simple indicator based on Stoch, but it gives me different results for the same time frame when being switched to M5 or M15. has anyone got same problem?  many thanks just 
New article The ZigZag Indicator: Fresh Approach and New Solutions is published at mql5.com: The article examines the possibility of creating an advanced ZigZag indicator. The idea of identifying nodes is based on the use of the Envelopes indicator. We assume that we can find a...
please can someone show me how to get pivot indicator lines that can automatically changed on my  chart, if the next day begins but will still keep the pivot lines of the previous days.