Is there anyone to help me?!! Considering to these codes,I’d like to avoid trading during news events, and I’ve tried to read from file like that attached here,on the other hand, I’ve made a simple example for trade rule but I don’t know why my cycle ( For()….. )that I used here didn’t work...
Hi, Is it possible to perform some action exactly at the "end of the candle" tick? The problem is that my market is open from 8.30 till 16.09 exactly. I would like to decide at the latest time possible, should the order remain open or should I close it. Now I'm checking it with TimeToStr() > "16:05"...
Hi, This is a very simple and "interesting" problem. Here is my code: Print(TimeToStr(iTime("EURUSD",PERIOD_H4,0),TIME_DATE|TIME_MINUTES)); The result is: 2009.03.05 16:00 What?! Today is 09.05.26! How can I resolve this? Thanks
[Deleted]
Please read the instructions before posting questions. I couldn't get the Russian one working so I wrote my own. This EA is kind of ugly and hoaky but here's the first version. You must drag and drop the icons on to the chart to interact. You must have chart shift turned on with sufficient room to...
Hi, I have found an interesting article, feel free to read it. Successful use of scalping is directly depending on your broker. Experienced traders choose brokers very carefully with consideration of many factors. The first factor, is the spread on the traded currency pair . Most of the brokers...
I have a cbit of code that draws a horizonatl line on a chart at specified values. How can I get a label on the right hand side of the chart just above the line as a description? How can I set the text to the right hand side of the screen: ObjectCreate("H4KsText", OBJ_TEXT, 0, Time[0],...
[Deleted]
Are there *.srv files available for the current InterbankFx servers. The ones in the download seem to be pre-2009? Also does anyone know which SSL MetaTrader uses?
I wrote a very simple EA using one Indicator, i compare like this.... if (indicator_1>indicator_2) result="buy"; if (indicator_1<indicator_2) result="sell"; return(result); then I get this straight linear down slope with plenty of trades. So i reversed the decision (> for <) and was expecting a...
I'm looking for ideas on how to decide what the appropriate size would be of the window to evaluate the dynamic performance of a system on. - One idea would simply be to take the last 20 trades and run your statistics on that to decide whether the system still works fine in the current market. -...
I've started to collect tick data lately for testingpurposes (that have nothing to do with this thread). Just out of curiosity Iused simple csv2fxt (https://www.mql5.com/en/code/8658) script to convert thedata into an hst file. I took a spare MT4 installation, deleted the hst filesand replaced them...
[Deleted]
I would like an ea for this strategy.. I'm looking for an EA for the following strategy. ØEMA 7 (red) and EMA 14 (blue) Exponential close Ø The Awesome Oscillator Ø You will get exact trading signals Ø And you will get exact exit signals Ø 70-80% positive trades Ø Limited loss, ’unlimited’ profit...
Is it possible to draw a 1hr midline bollinger on a 15min chart? Any ideas on how to do it? Do I have to create an object to draw the lines?
[Deleted]
Hi, How would i create a ea that places an order at market open using the high of the last 4h candle at market close. So using the last high of the last 4h candle on friday it then places the order at market open on sunday Any help would be great thanks
[Deleted]
Dear all, i trade Gold in Viet Nam by our currency ( VND). But MT4 present in USD. Please help how to display gold price in VND in chart ? Thanks so much.
How can I get price to show alongside the Fib percentages and save it as part of the Fib properties? For example 61.8 1.3122 Trev
[Deleted]
I AM NEW TO AUTOMATED TRADING AND EXLPERT ADVISORS. ANY ONE WHO CAN HELP ME IS REQUESTED TO CONTACT ME THROUGH EMAIL: armsking1942@yahoo.com
[Deleted]
Based on 5 minute charts, can anyone advise the top 4 currency pairs for depth of market ?
After years of hard work, I have developed a NN trading system that works great on 17 pairs so far
(11 1 2)
I welcome everyone to download it from my website and try it out and give me your comments. thanks. My site is www.4xGoEasy.com
Assume 3 bars: Bar [2], Bar [1] and Bar [0] (Current). Is the following "stop_low()" function correct to find the lowest low of bar [2] and [3] ? double stop_low = iLowest(Symbol(),0,1,2,1); ------------------------------------------------------------ Reference: int iLowest( string...
Anyone know any good trade management STRATEGIES or scripts like those that insure maximum profitability and good risk management to minimize risk ? For example, once a position is is in profit for 10 pips, half the position is closed, the stop loss is moved to break even, and the other half is let...
-
My system requires the Indicator to run concurrently with my EA. They share many of the same parameters , but the problem is Indis dont allow you to load from a presets file. I want to read the EA presets file into my Indicator, and parse and apply their values. Easy enough to read in from a file
[Deleted]
Other than using Print statements, or writing a file, are there any EA debugging tools? Particularly, can we set breakpoints, step through code and interactively examine variables?
I've been busy battling the HeurEngine.Packed.Themida.RGa infection which has been propagating through my system like crazy. I picked it up of an EA that I downloaded from the MQL4 website, most likely from the jMasterRSX AE including files that are named RSX*.
It is possible to have a programe that will be identify chart( chart parttern) before forming and after forming and also that will be recognising candlestics and naming them as it in www.fxdd.com under tools. thanks in advance.
Take a price, for example 1.4322 (For most pairs) or 121.97 (for Yen Pairs). How do you write a function with two inputs of price that returns price values to the nearest zero? Example: 1.4322 as 1.4320 (realize the last digit is zero) and 121.97 to 122.00. I used this function, but it did not...
Modified a pivot point indicator to round up the value to give a better value at the nearest zero. Just my share, if anybody is looking 4 it. Gives a better pivot point rather just a random number from acalculation because key levels usually end with a zero or two zeros.This indicator gives you just...
I recently joined this group & am programmer myself; not able to find function to create a simple window and display "Hello" in that newly created window. So my simple question here is, How do I create a simple popup window using MQL4? Thanks, - Fellow trader/developer

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.