MQL4 and MetaTrader 4 - page 164

To post a new topic, please log in or register
I just wanna confirm what is the default time zone in mt4 platform.What if I want to change it,can it be set according to my location
Good Day Everyone, I have a question regarding the use of an EA that has become unavailable. I have it installed and running on one MT4 platform but I would like to have it run on an additional platform as well. The source is not available for the download as I used for the original installation but...
  Oanda ForexT (7)
I have an indicator I've written and it does the job on most of my forex pairs. I have an Oanda account and in the symbols list there is a tab "ForexT". Any pair in this list that I try and add my indicator to it doesn't appear. If I add indicators written by others they work. Hopefully there is an...
Pls I need assistance on this code,if spread high is...return...No trade..But the problem is return (0) is added on the EA code it will not open any order again,but is I remove it Will start working again without regulating the high spread,this is the code..Any corrects pls.thanks double Spread =...
Hello guys.. It's only a toy.. works only on MT4 backtesting, don't work on live account ( I mean, it isn't profitable like backtesting). It's based on renko ( I don't know it it's renko or mt4 that don't work../is crappy)... TP = 30 pips SL = variable (based on ATR.. but around 12 pips);  I AM HERE...
I have an issue on my custom indicator. It was working fine in the previous version but on this latest release, it does not print on the chart anymore. I have to use it on the older version of MT4.  Anyone knows how to fix this?   //standard initialisations above here int start() {    for(int...
I can declare indicator parameter with any of two word = 'extern' or 'input'. My question what is different between two word.   extern mType      PendingOrderType         = 0; input  mType      PendingOrderType         = 0;
i am using an ea saadscalper, but i want to have it only open one trade at a time. i tried disabling martingale both of them but it did not work. is their a script or something i can do so it only opens one at a time(not more then one)?
Hello guys,  I have an indicator (.ex4) which creates dots on the chart. I'm trying to understand if it is possible to know (with MQL4) when the dots appear, and generate an alert. This is a screen of my indicator Thanks in advance.
Hi, I am new to coding. I wish to know how to write a code to get  the RSI indicator's high, low and close values for YESTERDAY in a M15 time frame. Can anybody help me?
I found an interesting MT4 indicator which shows remaining time of the next bar in the chart. But that works for the particular pairs which I would choose. But I want that program to work/applied on all opened pairs by just applying to any of the opened one pair. Please check the code below::::...
Hi,  I'm totally new to MQL4. After hours of Googling and fixing but to no avail, was wondering if anyone can help me with this: 1) I tried to signal my buy trades with RSI < 30  but looks like it executes buy trades even when RSI is higher than 30... what could be possibly wrong?  2) It doesn't...
Hi Guys, I'm trying to add to my code that once price has reached exactly halfway between my entry point and TP, then SL will move to where the entry position was, to add some downside protection on my code. I looked around to find a basic trending SL for a starting point for me to work from but I...
  Chart.mqh lib (3)
Hello everyone, I recently discovered the Include libs in MT4 with such gems as Chart.mqh. I see that it gives MT4 access to the MT5 function, ChartIndicatorAdd(). Yay! So my question is, iCustom() in MT4 seems to work slightly differently than in MT5 and I'm having trouble figuring how to get the...
Can date/time compiled be referenced by an indicator/EA? Would be nice to be able to display this so when debugging you know exactly which compiled version you are looking at. Or if a trader is using an old version vs. current version. Would be nice if this was displayed on the About Tab!
  Write orders in csv file (13   1 2)
beh12zad: Hallo Sir, I want to write my total Order in .csv File, but this code writes thevalue of OrderType() and not the Order operation type like OP_SELLSTOPor OP_BUYSTOP. How can I change it? thanks in advance. #    open price    open time    symbol    lots 24497874    1.1288    2016.03.29 18...
Does Anyone Know of an EA, Indicator or Utility I can download to view the amount of current open trades on my account? I have been looking around and all I found was people who has posted coding scripts. Regards Franzel
I would like to do a panel in MQL4 that wouldn't be bound to a chart, like the example 'SimplePanel' is. How could I do this?   Thanks 
Hello everyone, may somebody please help me achieve my target. I am trading a system that contains several indicators and I enter manually, but I have to exit according to one of the indicators called (smFisher Transform3-impr) what i need is an expert that will exit when this indicator crosses the...
Hello, I'm having a serious problem since 2 days in reading a custom indicator buffer with iCustom. Here's a screen: I'm printing in the comment che values i get from iCustom, reading with 1 bar shift (the bar just closed) and it's giving me strange results. It reads a value from a buffer which has...
Hi All... Is there can help to create EA as below request. 1) MT4 will automatic place 5 BUY pending order & 5 SELL pending order when server time reach 08:00 2) All order come with TP 100-150 pips.   3) All pending order not execute will delete at server time 00:00 4) Gap every order are 50 pips...
when try to load a dll from anothor terminal folder ,i get the following warnings and the terminal shows "unresolved import function call erro" ,if the dll was load undown its own folder ,it runs normal . serval years ago ,i use the dlll like this manner ,no any erro or warnings . the dll was...
Hi is there a way for change Timeframe only on select chart? I found this script but it changes Timeframe on all charts. //+------------------------------------------------------------------+//|                                                    ChgTF-All.mq4...
I have a simple timer indicator, basically it just counts down from the start of a bar to it's end then issues a sound alert, what I'm trying to do is have an ea use that sound alert to begin it's operation of checking it's conditions and after the conditions are met, entering a trade and then halt...
Hi I've got this EA for awhile, been in my email for 7 years. I've worked with it the last three years and left it behind. Now i'm getting back into it and its a martingle style and an .ex4 . I cant seem to insert it into my platform on instaforex. Im pretty confused as it used to be so easy to put...
Hi, Do you know if Metatrader 4 have a drawing tools like "Patterns & waves" of Tradingview? Thanks Chris
Hey, I'm trying to build my first EA and I've run into a problem that I can't solve. I used mt4gui to build an interface for my ea and it's working fine. It changes the timeframe and tradestatus when I click on the corresponding radiobutton. Unfortunately the variables (timeframe, timeframe2 and...
Hi guys, Hi, I follow this site for some but I have never written on the forum. I'm getting closer to programming in MQL4, I started to build a EA, but i have different problems. My question is:The shadow as revenue? for example interests me take the shadow of high penultimate candle (time frame...
Hi, all is in the title, I would want to know I can recover the value I write in an OBJ_EDIT put on graph if I click on a button for exeample? I think it's easy but i don't arrive, i tried with OBJPROP_TEXT, but I don't understand how it works exactly. Thanks in advance for your help.
Hi, it is my first post, so good evening for everyone! I have problem with installation metatrader4 on Linux Mint 15. I have WINE installed. When I try run mt4setup.exe in first step I see licence, but in second step of installation, when aplication should download necesary files, installation is...