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...
I just tried to place a trade and found it refused because MT4 was doing a background update without letting me know it was happening. How did I find out? I found the following lines:- 17:31:29 **** - MetaTrader 4.00 build 402 started (FXDD) 17:31:32 **** - MetaTrader 4.00 build 402 stopped...
Hi there.... I have download the indicator as mentioned above and did follow the step as told but eventually when try to activate it, there's nothing appear on the chart. Can anybody help me to solve this issue?
[Deleted]
I use the Strategy Tester, Expert properties ->> Initial deposit, but I'm not for it to work, I do not know why, maybe I do not know or misunderstand it. I want: place an order for a virtual account, while using Strategy Tester. just placed orders to buy or sell, and see profits and losses. help me,...
I have been trying to create an expert advisor that will execute a trade if one moving average is greater than another moving average with the difference of five(5).I used iMA(NULL,0,14,0,MODE_EMA,PRICE_CLOSE,0) AND iMA(NULL,0,8,0,MODE_EMA,PRICE_CLOSE,0) to set up my two moving averages but it...
[Deleted]
Hi. Iam new to MT4 which Iam testing with 2 different brokers, I cannot get my scripts to output any logfile. Can you advice?
Does anybody know of any multi time frame simulator for MT4? The only one i have only allows 1 timeframe, is there any other way of doing this without being by visually checking the charts? I'm working on a workaround, just wanted to know if there is something like this already
I have been trying to debug my first EA for about 5 days now without success. I make small progress every now and then, but the EA still does not work correctly! There are two things that i cannot figure out: The counter "i" stays on zero although I initialize it with the value 4 and then reduce it...
[Deleted]
I am trying to create an EA that will get the highs and lows for a given time period, i.e.; 00:00 - 03:00. Searching through the forums, I have come up with the following code, but it doesn't work. It prints out 0 instead for the price for the highs and lows. I also get this warning when compiling...
Is there anyway to display the order profit/loss on the chart in window? Specifically I would like to display the net profit/loss of 2 orders combined... I am adding the OrderProfit() to get my figures from the 2 orders, and adding them together... now I need to display that number somewhere I can...
I would be very happy if someone could help me with the following question! I downloaded the MetaTrader4 Software from "http://www.metaquotes.net/en". I downloaded also their quotes for EUR/USD in the history center. Then i I drew a some chart / trendlines and made a template of these drawings. Now...
[Deleted]
Hi there, I trade with IBFX. I found an expert advisor on the MQL4 website which I need. I downloaded the advisor and saved it into the "experts' folder in the IBFX file on my computer. When my MT4 application is open I can see the advisor in my navigator window but when I click on it, it doesnt...
Given stderror.mqh and https://docs.mql4.com/trading/errors I could spot some differences... ERR_NOT_ENOUGH_RIGHTS (7) is missing from documentationERR_MALFUNCTIONAL_TRADE (9) is missing from documentation ERR_BROKER_BUSY (137)is missing from documentation ERR_TRADE_EXPIRATION_DENIED (147) is...
hi everybody I have been trying to get the value of technical indicators commented on 2 differant pairs at the time but I seem to have missed something on my way maybe someone could help me out with it. here is the code...
[Deleted]
Hello, Im using a for loop to determine how many times price has come near a certain level. I am getting an error on the first line, saying "<= asignment expected" any idea? I have already defined the Piv variable in the beginning of the EA. thanks Piv=(iHigh(NULL,1440,1)+iLow(NULL,1440...
[Deleted]
Hi, I have some trouble using the OrderSelect function: int Ticket = OrderSend(Symbol(),OP_BUY,Lots,Ask,Slippage,SSMA_Low,Ask+(SL*2)*Point,"Test",123456,0,Black); if(Ticket>0) { if(OrderSelect(Ticket, SELECT_BY_POS,MODE_TRADES)==true) Print("open price for the order ",OrderOpenPrice());...
[Deleted]
Hi Folks, I've got some serious problem with the coding of a order management for my EA. So to show you a snippet of my code: // check if orders are existing which needs to be closed int total = OrdersTotal(); for(cnt = 0; cnt < total; cnt++) { OrderSelect(cnt, SELECT_BY_POS,...
As somebody that is new to MQL4 I was just wondering which shift will be returned if there were more than one shift with exactly the same maximum value/price over a number of periods, e.g. in the following standard function: iHighest(NULL, 0, MODE_HIGH,30, 1 ) Will it be the first or the last shift...
[Deleted]
hello all will like to know if its possible to make default EA mt 4 To take profit.the EA is attached here
Good Morning Sir I`ve tried So many times to send mail to my Gmail account from The MT4, but it look`s like Gmail doesn`t Work With Mt4 Can You Help Me Please For any SMTP Server That work with the MT4 Program . Thanks
Sometimes on an MT installation the drawn MovingAverages and the once you from the iMA are differnt while the Period, shift,MA type, etc is the same. I've uninstalled and reinstalled the MT4 with no success. I have seen other similar threads on this board without any response. Any idea?
[Deleted]
Hi, is it possible in MT4 in init() function of EA to do something like this... and how? Example: 1. Price=Bid 2. ticket1=OrderSend( Price+0.005, OP_BUYSTOP) ticket2=OrderSend( Price+0.005, OP_SELLLIMIT) ticket3=OrderSend( Price-0.005, OP_BUYSTOP) ticket4=OrderSend( Price-0.005, OP_SELLLIMIT)...
[Deleted]
Hi all, I have attached a indicator which is giving the signal after 3 or 4 bars later, can anyone change it to give signal after 1 bar, pls help
I have the following code that executes at certain times when i want to exit all open long positions (and another one for short positions) void CloseLongs(){for(int pos = OrdersTotal() - 1; pos >= 0; pos--) if (OrderSelect(pos, SELECT_BY_POS) && OrderMagicNumber() == magic ) {...
Hi, how can I draw an horizonal line, which I can see only on the actual day? That is my old code: ObjectCreate(name,OBJ_HLINE,0,Time[0],high,Time[0],high); ObjectSet (name,OBJPROP_COLOR,MediumSeaGreen); But what should I change now?
Hi all, I wonder if any of you MT4 gurus could be of assistance to me? I would greatly appreciate it. I have an MT4 application which consists of 1 EA and 1 script. The EA, as you know, executes the start() method per tick. The script I have written has a while loop which sleeps every 1 milliseconds...
Is there a tool or a web site where you can find quotes of different brokers for EURUSD

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.