Hello, Based on another non MT4 system i have a list of entries. I have written an EA that manages closing the positions and wanted to test it in Strategy tester. I think there a 2 options: [1] manually open trades when strategy tester plots the candles, can it be done in any way? [2] I tried...
I've noticed that the indicator signals given in forward-testingin realtime are more frequent, and do not match up to the signals ifthe indicator is run over the same data historically (hope youunderstand what I mean). When an indicator is first added to a chart, Iknow it calculates a large number...
Hi everyone, I am new to MQL4 programing. And I have few questions bothering me a lot. I really hope that someone can help me out. (I want write a program can run a long period) Question 1:How long can a program stay in "int start()" stage: I know the "int start()" will start only when the program...
[Deleted]
Hi, I'm playing around with scripts, and I have the following -very useless- script (for testing). T int start() { for (int i = 0; i < 200; i++) { OrderSend(Symbol(), OP_BUY, 0.01, Ask, 0, Ask-500*Point, Ask+500*Point); } return(0); } Obviously, this is supposed to create 200 orders. However, after
Dear All, especially for experienced programer & metaquotes software writers... if there is one really complex function to be calculated before send an order, Please tell me which one is faster (to compute a complex function) 1. Use Library for process a complex function? 2. Use Individual script...
[Deleted]
Hi I have this RSI that calculates highest and lowest RSI values of the day: int NewPeackRsi(string buy_sell,int bar=0){ int i,x,y,t,pt; static double prewHi...
Downloading https://www.mql4.com/files/mql4bookenglish.chm gives a broken file...
[Deleted]
Newbie here. Trying to download the MQL4 Book to my tablet PC so I can start reading up during my morning commute. Internet is not consistently available on the Metro, so download is preferred. However, when I try to open MQL4BookEnglish.chm after downloading it to my Windows 7, 32-bit tablet PC,...
I would like to write a simple indicator (UP or DOWN arrow) that would display based on something like the following: For UP arrow: Williams%R (9) crossing from below -80 to above within last 2 candles AND Slow Stochastic (10.9.6) %K crossing above %D within the last 2 candles AND Last candle CLOSE
[Deleted]
I am trying (what I belive) something ralatively simple. Looping back i bars getting the close price of each bar. Putting the close price of the particular bar to an array and then accessing it returns 0. What am I doing wrong? I guess it's syntax, but I don't know what..... see code below: Thanks...
[Deleted]
me : broker forex Forex trading is pointed out as the most profitable media fast. but much speculation that underlie this forex trading makes the fate of the merchant becomes erratic and have a tendency to lazy to work. velocity of money just on the financial sector alone while the real sector are...
[Deleted]
If we have an ex4, is there any way to convert it to source code file(metaquotes language 4 file)?
I have a strategy I would like to be programmed into an EA. I have all of the functional requirements I need, but I could really use some help brainstorming non-functional requirements I will need to tell the coder. As it is my first EA to be coded, the help is much appreciated! So far I have...
Hi, all I have a excel which can receive the realtime data but I can't draw a realtime chart from that. So I am wondering whether it's possible to let MT4 read that data and draw the chart for me. Have anybody done that before or who knows some feasible solution? Thanks very much! Miao
Email. Just to keep everything in one place. It is the links: - How to set e-mail in MT4 (full explanation with images and everything from Codersguru); - PriceChannel_Stop_v1.2 indicator with alert and email/sms; - Code to send email alerts when closed trades... ; - Setting up the email option in
Hello. I want to save in txt same values when an trader was open. I thing that the best way is in each tick, verify if an trader was opened... How Can I do this? I need to verify if an trader was opened and to verify this, in each tick... Thanks for help...
[Deleted]
Hello, I'm looking for a code example how to access the custom indicator ADX_WildersDMI_v1m in e EA. I'm looking for the correct sequence of parameter using the iCustom command. Any tips are welcome. Thanks....
Hi All, I am adding an indicator B on a window containing an other indicator A. I realize that indicator B has a different value than the one it would have if it was dropped alone. Do you know how I could extract indicator B values through an EA when B is dropped on indicator A? Many thanks for...
[Deleted]
Dear All, I have this code in my Expert: for(i=0;i<OrdersTotal()-1;i++) { Print("Profits modified"); OrderSelect(i,SELECT_BY_POS,MODE_TRADES); if(OrderTakeProfit()!=new_profit) {...
[Deleted]
Does any one now where I can find the following 2 EA's: 1 - Based on the 'Ichimoku Kinko Hyo' method. 2 - 2 Moving Average cross, and as soon as the the MA's cross again the EA operates a close and reverse trade. Realy need this, would apreciate your help! Damian
[Deleted]
I am looking for a moving average envelope for MT4. One that I can adjust by percentage a top band and a lower band and set the MA to a particular number of periods as well as having the MA show up in on the chart inbetween the upper and lower bands. I have attached a screen shot of an example that
Sorry for my english, i'm french I want use for my ea a price for exemple for eurusd: 1.4200 If the price cross 1.4200, then my position open How to do, or what function to use, thanks so much
Hi there! I was wondering if someone has a DLL or open code to draw asmall box into the chart which allows us to click and open a webpage, just likeibfx.com.au offers to it’s customers. You can take a look at this feature at IB's MT4. https://www.ibfx.com.au/Platform/Free-Forex-Demo-Account Here's a...
[Deleted]
Hello, I have a provider which use normal smtp and pop server. I have tested smtp successfully with windows live mail and rebol (http://rebol.com) using the parameters below but with metatrader it doesn't work : Sender address rejected: need fully-qualified address mail.sfr.fr xxx@sfr.fr pass
Hi, friends, I am looking for an experienced coder to wirte an EA. The EA is quite simple. It should automatically open two position for any two of the currency pairs at any time at current market price, one long and one short. The positions' size can be modified by the user of the EA late if...
Hi Guys, Could someone help and develop an simple expert advisor? Sorry for my english, I'm Brazilian :-). FUNCTIONS: 1) Buy PAIR A, lot = Y Sell PAIR B, lot = Y Y = 10%, 20%,etc of the balance of my account. (I submit % desired). 2) Buy PAIR C, lot = Y Sell PAIR D, lot = Y 3) X = 10%, 20%,etc...
As input files, quotations for the formation of R-portfolio format is CSV c delimited fields in the form of a semicolon and comma of digits in a decimal or as a point or a comma: In the first line of the file should be placed the names of financial instruments. The first column in the file must be...
Hellofriends, I´m not agreat trader/programmer. ( Sorry forthe level of this thread. ) Last week, looking a EURUSD H1 chart I saw this type of candles. One week later, these levels have been very important for the trades. Someone else have experience coding this type of candles ?? Really thanks for...

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.