Has anyone a code snippet to share that can pull the current time of a city from some available server (whatever that may be) , including dst if applicable. This information is obviously available from many servers eg http://www.timeanddate.com/clocks/free.html
Where does History Center store its records? I tried deleting some files in the history folder say USDCHF1440 .hst, close and reopen MT4 but the history center still has the records in it. What I am trying to accomplish is to write a script that I intend to run at the start of the week that will
Hi Guys I want to Get The previous Days values of a Pivot points indicator . I Use The iCustom() To Do That int DayBarNumber=iBarShift( NULL, PERIOD_H1, TimeDay( Time[1] ));// Day 1 double D1R3=iCustom( NULL, PERIOD_H1, "FXI Weekly Pivots" , maxWeeks,weeklyNotDaily,showPivotLines...
[Deleted]
Hi, I was wondering if someone knows how to access an MT4 feed without running the MT4 terminal? A (real) API solution would come to mind just I can't find many examples on the net. I'd appreciate if someone can point me in the right direction. Thanks.
[Deleted]
Bill Williams Market Facilitation Index is typically represented by colored bars: Green bar (Green)Blue bar - (Fade)Pink bar - (Fake)Brown bar - (Squat) The mq4 function iBWMFI() returns numbers. What number ranges should be associated with what colors? For example, what colored bar...
Hi, In the "Alert Editor", there is a condition called "Time=" and the format is "hh:mm". I was wondering if this means it can only trigger alerts within the next 24 hours or is it possible to set it to trigger say, 3 days from now at 1am? Thank you in advance for any help provided. By the way,...
After you test your EA, you can see the lines show where your orders open from and where they close at? However, the lines are not shown in the chart of live trading. Is there any simple way to switch on the function? Thank you.
Hi! I´m using MT4 to analyse marketsignals and at the moment I made manually binary options trades with my broker on their website. To test the signals if there are correct and brings profit, I would like to automatizethese analysis and in case made automatic binary trades like 60-second-trades....
Hi Guys I try To call a Custom Indicator in My Ea with iCustom() , But once I Run The Tester This Lines Appear on the Log 2015.01.10 12:07:35.103 EURUSD,H4: 2706 tick events (1056 bars, 3758 bar states) processed within 12480 ms (total time 12496 ms)2015.01.10 12:07:35.103 2010.01.14 23:59 Custom...
Hello everybody I need some help on how can I use a the iCustom() function to detect the color of the circles that the indicator draw’s (Red or Green ?) ,I try to look to the Data Window to know the indicator buffers , but there is nothing . (I have the compiled file)
Hi there, I downloaded tick data from 2003 from Dukascopy and used it to test my EA. I found that for the period 05/14 - 12/14 the balance graph is very different, compared with the tick data from Pepperstone I was using, so different trades are being placed depending on which tick data is used....
Hi Guys I need some help to find a similar indicator to this indicator in this picture , that use Buffers not Objects , to detect the trend direction ... It's the "3SMATrendFilterPro" for Hector .
First, here's the source code: void OnStart() { int i=1; long chartID=ChartFirst(); Print("First chart is:",ChartSymbol(chartID),". TF:",ChartPeriod(chartID)); while (chartID!=-1) { if(chartID!=ChartFirst()) { Print("Next chart is:",ChartSymbol(chartID),". TF:"...
I am using MT4 for some time. Yesterday as I was moving the keyboard and mouse I accidenaly pressed some keys and the spacing between the candlebars increased and the whole graphic with indicaters etc streched. Does anyone know how to fix the problem? Thanks
I try to open order with OrderSend function. But it makes error code 136 Code that i use void OnStart() { //---/--- get minimum stop level double minstoplevel=MarketInfo(Symbol(),MODE_STOPLEVEL); Print("Minimum Stop Level=",minstoplevel," points"); double price=Ask; //--- calculated...
I need a Hellp, please. I have some indicators MQL4 source file ( not .ex) but My MT4 cannot read it. I was putting this file to "Indicators" Folder. What i have to do to see my indicators on MT4 chart. Tank You for helping
[Deleted]
Hi, im still a newbie on using expert advisors and indicators, My question is that i used the same indicators and expert advisors on 3 different brokers, but the 4th one requires that my ex4 comes with a mql4 source file to come with it, is there any way to create it or what do i do from there?
Dears, How to understand "DRAW_SECTION"? When shall I use "DRAW_SECTION"? and When to use "DRAW_Line"? What's the difference? Thanks.
[Deleted]
The "Entry Price" to buy EURGBP is listed as being "0.78617". My base currency is USD. Is the "Entry Price" in USD or EUR? How much, in USD, would it cost to purchase a standard 100,000 lot of EURGBP?
I noticed that the DC will show a ms ping of 0 in the Status bar drop down list, but the journal will show ms ping of 0.83. Well, shouldnt the status bar DC list also show microsecond or sub-millisecond precision (0.83 ms) instead of just rounding down to 0 ms?
I need some opinions about this. Lets take a BUY trade for example, we know that it is opened at Ask price. Then, the question is where to put SL and TP if we want them to be 10 pips, and why? SL should be at: Ask - 10 pipsBid - 10 pips TP should be at: Ask + 10 pipsBid + 10 pips What about...
I am trying to recreate the BandWidth indicator for the Bollinger Envelope (not BBands, but Envelope). I am still struggling with the not normalized version. See code below. My issue: when trying to draw the line, no line is to be seen. The formula is (UpperBB - lowerBB) / middleBB. I tested around
Hey folks, I simply wanna do the following thing: if the bollinger bands (upper and lower band) spread out, there should be an arrow on the upper and lower Band be drawn. For the upper band is it working, but for the lower band I'll get the array out of range error. May one specialist here can teach...
I badly need an indicator for forex tester for an alert at the price crossing a particular level. Would be immensely grateful for the help. I have spent 3 days, looking for it with no results!))
How do Mean ? https://www.mql5.com/en/charts/2852355/usdchf-m5-a1-capital-menkul Metaeditor is has.
I don't understand this: A pending order is opened with ticket 5 but it can't be closed even with the right ticket nr. it shows error 4108 what means invalid ticket. Later the order (here order #5) is filled & modified. That happens all the time in the tester with that ea. Can someone explain me...
According to some documentation signal subscription should be available in the toolbox but I am missing the tab here. Why?...
Hello freinds, I have an EA that sometimes id going to "sleep". I mean that although the conditions are fit to open a trade, it doesn't open it. What I do is to reinstalle the EA and then it opens the trades. Any idea how to overcome this sleeping? Thanks.
[Deleted]
I want to set a take profit for trades that will result in a specified dollar gain. How can I calculate this? In the examples below, what math will I need to use to set a take profit that will result in a $50 gain? Thanks! Pair: NZDUSD | Entry Price: 0.770000 | Volume: 53000 Pair: EURGBP...
[Deleted]
Please, Please, Please, Please develop Metaeditor for Android quickly...many of us developers would really like to code on the go!

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.