MQL4 and MetaTrader 4 - page 405

First Hello to everyone reading this topic . I need your help I have this expert witch works great but it has no Take Profit I need some help to add Take Profit option. Its simple  every candle trade expert the problem is that it has no take profit option and the second thing is that it has candle...
Hi guys. I would like to ask a small favour. This EA has multiple trades open at the same time (not sure what the developer did). Can I ask if you guys can put a parameter that only allows one trade open at a time? I have attached the EA. Thanks for any sort of help
 Im trying to find the value of a Trend line Object at last close. Can anyone help?  double ExtMapBuffer4 =  ObjectGetValueByTime(0,OBJ_TREND,TimeCurrent(),0);
Hi... my first post so be gentle.. I'm new to MetaTrader, and signed up to a broker (LCG) and installed their MT4 download (build 1170). I also acquired a couple of custom indicators (just the .ex4 files) from a different source. I added the .ex4 files to  indicators folder (via 'Open Data...
Hello everybody I'm looking EA or indicator that can move my TP to the negativ position. Or maybe it's posible to edit mq4 code. For ex. I open buy at 1000.00, TP is 1100.00 and there is NO SL. When price goes against me and reach 990.00 I want to move my TP to 995.00. When price will back to 995...
Hello coders, when I press the button named "test", the key-combo ALT+Q should be simulated and a small script which has the MT4 hot key ALT-Q should be executed.  Pretty easy but it doesn't work. If I use in-built-hot keys like ALT-R for the window-arrangement or ALT-M for the chat, it works...
Hi there. I have exported a csv file with past 1 year of history from metatrader 4 for a forex chart. The timeframe is 1 minute. I used 'Symbols' (Or Ctrl+U) -> 'Bars' to export the csv file. However, when I tried to import the file again to view the 1 year history, it seems that there is no option
I need to scale the chart to maximum(or something below a bit below) in mql4.  like when you put your mouse over the bar on the right and drag upwards.  I've already tried: ChartSetInteger(0,CHART_SCALE,0,5); but this only zooms the chart and leaves the scaling as is.  thanks in advance
Hello, I just want to know if it is possible to modify this script that I don't need to type the template's name. Instead I want to define some template names like {"temp1", "temp2", "temp3"} and these should be shown in a pulldown menu. Difficult to explain but I hope it is understandable what I...
Hi! can anyone help? write these bugs: connect error: 10049 handshake error: 10057
Hey guys, The error appears to be on a VPS server. The notification Test button does work. I found no indication or reason for it on the web. Does anyone know what could be the cause of this error message?
[Deleted]
Hello, can i check if a file is already open before i use FileOpen() function? I need that because i think i get often error messages at moment when i have my EA on more then one charts and when from every chart the EA try to open and write into the same file.
Good morning, I'm working with MT4 for 5 years now, and I have had notifications active for years too. I used to received them although I didn't use it much. Now I do want to use it for a specific alert, but the notification does not arrive on my mobile. I have checked and double checked the ID. I
Hello , I wanted to ask if you know any way or software to create an expert advisor with only ex4 custom indicators ??   
[Deleted]
Hellow guys, Could anyone help me coding an EA that does the following; 1- The first trade is to Open Buy trade when price crosses lower Bollinger Band (or) a Sell trade when price crosses the upper Bollinger Band. 2- Setting a TP to 60 pips and the SL to 20 pips ( external variable). 3- Every time...
  cant add my mt4  (1)
hello,i cant add my live account to my profile my broker is Fort Financial Services  and server is FortFs real.  im not sure which one is the actual one from your list please guide me to add my acc.TIA
Hi, I write a code that open one order and four pending order, at the MA's cross. But I want, that when for example, the BUY order take the SL, the other pending will close. I write this code, but didn't work, help??...
Hello Everyone ! I have a problem with the push notifications.. I have mt4 ver 4.00 build 1170 on my computer and the latest version installed on my IphoneX I entered the right ID but when i try to send a test (desktop to Iphone) I have an error in the journal of my mt4 app that says : "push...
Hi I found the topics like "iCustom returns wrong values" but this is little bit different. I try to create indicator which compares size of identical type of bars (bull/bear type) in a sequence. and shoes maximum values of comparison in histogram. like this. this result is made by many indicators...
Hello everyone, I don't don't understand the error I get. The error always points to this area Close_Array [limit]); #property strictdouble High_Array[12],       Low_Array[12],       Close_Array[12],       Open_Array[12],       Target_Array[12];       int    Candle_Count=8,       Time_Be_Counted=0...
Hello guys I've had some issues lately with mt4 remembering my utility that I purchased. Once on a separate isolated incident I had to system restore and afterwards the expert advisor had disappeared. I chalked that up to the system restore. Second time I opened up the terminal and even though the...
[Deleted]
hello, I take that warning when I use the #property strict what should I do? bool Short() { bool flag= false ; double balik[ 4 ], giris[ 4 ]; int i, limit= ArraySize (balik); for (i= 0 ; i<limit; i++) { balik[i]= iCustom ( NULL , 0
I'm trying to copy a temporary .tpl file that I saved using the ChartSaveTemplate function into the Files directory. The .tpl file located in the templates directory of the Terminal directory. The problem is that I'm trying to find this .tpl file (that exists in the templates directory of my...
hi guys  i have  a  question i try to do a little script for attach a template. My template is located in  C:\\Users\\pc\\AppData\\Roaming\\MetaQuotes\\Terminal\\B6FECCFE53E01D2BAC26AAD9B14029A8\\templates\\BollingerBands.tpl i read in manual  , if a template is not found in the first two variants,...
I tried to debug EA on 1 minute chart but MT4 starts automatically 1H chart and it is not possible to switch the time frame afterwards. Is there any method to overcome this ?? My EA uses Time commands which on hourly chart return hours not minutes as wanted. I tried to save new default.tpl as 1 min...
[Deleted]
Objective: When starting the indicator, get the current data in the timer: the opening time of the weekly, daily and hourly bar. Then write them in global variables for further use. The current timeframe is М1. Implementation: We obtain the bar times using the SeriesInfoInteger() function. #property
Hello, I have recently downloaded the app Metatrader 4 and the problem that I have, is that the "QUOTES" page, every day resets and can't keep my markets saved. Every time have to choose the markets again, erase those by default and on and on... Can't really work this way if once or twice per day,...
Hello Everyone,   I am a systematic trend-following trader usingforeign exchange pairs.   All of my systems development work is in Excel.   I am seeking to take live data from either IG’sAPI (IG Labs) or MT4/5 and import it into Excel and I would like this to be an automaticprocess.   The data...
Hi, is it possible to run my own indicators and template in the webtrader? And other question: Is it possible to integrate other indicators or template in the mobile mt version? Best regards, Daniel
hi guys i have a corss with 5 decimal after dot , but  when i run Close[1]  return me only 3  is possible  increase decimal after dot ? thankz  at  all