MQL4 and MetaTrader 4 - page 115

I'm having trouble with MT4 kind of malfunctioning after it's been on for a little while. When I first start it up, everything works normally. I can enter trades, drag SL, close a trade, set a TP and so on. After a while, maybe about 1/2 hour, if I try to drag my SL to BE or enter a trade, or set a
Please advise if anyone knows how to print trading statements from the MT4 app, thanks
Hi I realize that all my log files (mql4/log ) are max 10 days old, different brokers.. are there any way in MT4 to prevent this form occurring? / T
Hi developers! I've searched and haven't found What is the proper way to know if an account is a Copy Trading Master account. ACCOUNT_TRADE_MODE shows 2 (Real account), but not if it's a copy tradig account
Hi there, I tried to set my account to public signal account but now I don't know how to change setting to normal account. Please help me to do it. Many thanks
I have created a MACD histogram but it is only showing 4 decimal places such as 0.0013 and I would like 0.00130 so one more place or more. I have tried to use NormalizeDouble but no change... Does anyone know how to add a decimal place to get more accurate readings? Regards. double currentMACDLine=
Can anyone tell me how to get the sma price at candle open only, and I don't want the value to change. For example a new candle has opened and I have an sma20, I want to get the value of the sma20 at open only and not after it changes, not the normal sma20 price but only at candle open. Regards
Dear all, I'm struggling with a presumably simple task: My custom indicator calculates and plots an indicator line in a window below the chart. Of course, this involves the use of buffers etc. This works as intended. However, now I want to apply the iRSIOnArray() to this custom time-series,that is
Hi, why in the following code is only one bmp image showing? void OnStart () { string objName1= "img1" ,objName2= "img2" ; string imgFile1= "\\Images\\dollar.bmp" ; string imgFile2= "\\Images\\arrows.bmp" ; ObjectCreate ( 0 ,objName1, OBJ_BITMAP_LABEL , 0 , 0 , 0 ); ObjectSetString ( 0
How can I add more currency pairs to the Demo? Do I need to open an actual account
<Deleted> Now i want someone to help me with small modification: 1. i want to add an option to make the distance of the grid expanding geometrically (10pip, 20pip, 30pip) or by a factor (10pip, 20pip, 40pip). can any body help me with that
Hello MQL4 coders, Unfortunately the FileWrite() function lacks the flexibility to define the line number of the given file. Is there a way to write to / overwrite only specific lines in a file without overwriting all other lines or time consuming loops? Thanks for any suggestions or sample code!...
Attached is the .mq4 codefile for a grid system EA. Under certain market conditions and with certain settings this EA is net profitable... as long as you keep a constant eye on it and limit its total positions to (for example) 30 by turning it off when the sum of its open positions and pending stop...
i have grid order example 1 st order ticket = 1 , lot = 0.1 ,openprice = 1.2345 2 nd order ticket = 2 ,lot = 0.2 ,openprice = 1.2367 3 rd order ticket = 3 ,lot = 0.3 ,openprice = 1.2389 i want to get their informations i tried as follow ,but not work , can get only first order information datetime
Hello guys, Im new to mql4 although I know basic C++. Im trying to write a script that outputs a .csv file with the values of some given indicators for each candlestick. To do that Ive written a script that calls each indicator via the iCustom function within a for loop and then writes the value of
[Deleted]
Hi everyone, my mt4 platform comes with ATR indicator that uses this calculation: for (i=limit; i<rates_total; i++) { ExtTRBuffer[i]= MathMax (high[i],close[i- 1 ])- MathMin (low[i],close[i- 1 ]); ExtATRBuffer[i]=ExtATRBuffer[i- 1
Currently, I am trying to import some csv M1 data via the import function in history center, but for some reason the file doesn't register. First thing that came to my mind is it must be a formatting issue, so I have a sample of the data. Can anyone see what is wrong: Column Names: Sample Column
hello apparently some EAs with kernal.dll import has fake backtest or manipulated backtest result i was just asking how can we know what was imported does mt4 provide any detail as to what this readers are importing
Hi guys. Since the TimeCurrent() function returns the time of the last known tick (of the current chart) in OnTick() handler, how can I return the time of the last known tick of a non-current chart? Of course, we all know that the ticks of different charts/instruments don't appear at the same time
I tested order select for false condition of a closed ticket which returns true and not false. Print (( bool ) OrderSelect ( 61057926 ,SELECT_BY_TICKET,MODE_TRADES)); How to know if a ticket was closed, by not being an open order to select
Hey guys just trying to set up an EA but the terms used are a bit confusing for me and I'd appreciate if anyone can help me understand. Here are the parameters for the robot. stepProfit_factor (an explanation for it and if possible, an example) stopLossShift_Factor stopLossShift_Bars
Is there any problem with syntax of this code ? bool fib_high() //Needs work { { if (A_low()== true && B_high()== true ) { Print ( "C = i" , C); //fibhigh=A+(B-A)*fibo_retrace; //Print("UP ","A",",","B","Fib Hit ",fibhigh);
  VPS Not Working  (1)
I subscribed to MQL5 VPS and was able to successfully migrate all my indicators and EA's to the platform. It successfully connected to the MQL5 Server initially, but now I am getting an error message that reads "failed to connect to server MQL5 London LD4 17." Any ideas on what may be going wrong
  Inconsistent EA  (5)
Hi, I'm a beginner in mql4 and currently practicing in creating a forex bot. I created this simple bot with the strategy of convergence of the 10/20 day EMA, I have no problem in compiling it but when it comes to using it on a demo account, I had the ff issues: 1. sometimes my EA takes a trade, and
  MT4 not working  (1)
Probably my fault, but I don't know what I did. I can't populate symbols. I tried downloading program again. Same thing. My live account name shows in upper left. I see no indicator suggesting a real connection. Something is missing somewhere on my Win10 (64) that I might have fouled up. I need
Hey there guys, I have this common RSI indicator that I would love have alerts whenever it draws its dot objects either buy or sell and also the divergences. I don't know how to do I guess it needs to be edited in the editor to have the features working. Can anyone please help me with that. Here is
Hi all , Just wondering what approach do you use when you build dashboards etc containing Graphical Objects ? Because mt4 has that scaling issue , and when the dashboard is used on different screen sizes , it looks different for example , I build A dashboard on 1080p x 720p Screen , everything would
When I send a somewhat large mail (about 700 characters) from MT4 to my mail, I received the not enough space error in the journal section. I configured the mail using: smtp.gmail.com:587. Is there any changes in the confirmation that would increase the mail handling capacity? I noticed also that
can someone check why this code doesnt open any trade //////////////////////////////////////////////////////////////////// // // // // // #property copyright "Copyright © 2015, MCB Shenannegans." #property link "marchaxcpp@gmail.com" extern int PercentRisk = 2 ; extern int TakeProfit
Hi, Im interested in parsing the text in the newsfeeds that comes into MT4's news-tab. Does anyone know if there is any built-in method or any other way to recive and handle the news in the news-tab within an EA? /Micke