hi i made this expert with function and it is not work but without fuction it work very well so i want to know the wrong in this function //+------------------------------------------------------------------+//| MYFIRSTEA.mq4...
Hi :)
Very new at MT5 and after a few weeks of coding I am still not making great headway, although I am learning a lot. To help get to grips I wondered if anyone could suggest a good 'example' EA that can be used as a template?
Currently I am looking for functions that check if currently in a...
[Deleted]
Mql5 is based directly on C++ a strong language as everyone know, but what exaclety i wont be able to program - that is useful- on mql4 that i can only code on mql5? thanks
Hello,
does somebody know a expert advisor that automatically buys when the price is below the lower bollinger band and the RSI is below a certain level and automatically sells when the opposite happens? It should also have the option to choose SL and TL.
I couldn't find it
Thank you very...
Is there a way to call MT4 from an external program and tell i to place a trade?.
It could be either a call to start MT4 and place a trade or a call to a running MT4 to place a trade.
Hi,
I've used Metatrader4 strategy tester on Windows 7 reliably in the past with TickStory historical data. I'm using the same test method on Windows 10, but when I start up the strategy tester the file that was gigabytes in size immediately gets overwritten to 0bytes while I watch.
The strategy...
Hello I am looking for the way that I can detect the London opening sission .. How to detect the opening of markets? Could I call then the Hour() function ? //---void OnTick(){ if ( Hour() == 10 ) .... //London if ( Hour() == 0 ) .... //Tokyo if ( Hour() == 15 ) .... //New York} Does the...
Hi
If I am using an EA whose logic runs using the OnTick() event, and it is linked to a chart whose timeframe is M1 then will trades ONLY occur at minute start/ends, or is an intra-minute trade possible?
Thanks.
downloaded EA´s dont work! Little star in front of EA-Name is darker than other ones! Whats wrong?
13
Hi every one ,
I've bought an EA , and put it on MT4 on my PC and it loaded successfully . But when I put the same EA on VPS MT4 it gives me this message "2015.04.25 07:04:54.812invalid 'C...
[Deleted]
I have published an utility and a potential bulk buyer of licenses of my product has approached me for a discounted rate? Does the Market business model provide for this at all?
Hello all I want to use fileread function mql4 to open an csv file containing date time and numbers and trade according to that file.But how to program it Please help
Hi,
I'm programming with MQL5 and get when I try to compile my expert advisor a "code generation error" occurs. As long as I do not try create an executable out of the code it compiles fine without warnings. (I also tried to compile a library, but got the same result.) If I understand it correctly...
Is there any function to get indicator's buffer in MT4 Expert? Under MT5, there is: if(CopyBuffer(ind_handle,0,0,amount,macd_buffer)<0) thanks
I am implementing the project EA interact with the server. The problem I have is that at any time, i want to EA using the license will only work with one single computer. Please give me solution. Thanks :)
Do you know a trading signal of ichimoku?
I concentrate on the relation of crossing of chinkou span and price.
With only above two parameters I would like to make ichimoku ea.
Do you have any idea?
Is it possible?
I think trailing stop and money management strategy also need in order to make a...
hello, I'm stuck on this code trying to get the results of open tickets but I get errors. semicolon expected and unexpected end of program... int start() { for (int i=0; i<OrdersTotal();i++) { // check all orders if (OrderSelect(i,SELECT_BY_POS,MODE_TRADES)==false) { break;
Can anybody help please ?
I have EA like this :
#property copyright "Copyright © 2016, Agus Widjaja"
#property link "fandelafx.co"
//#property strict
//---- input parameters
extern double Lots = 0.1;
extern int TakeProfit = 10;
extern...
Dear Coders.
I need to call some indicators from outside OnInit function.
This seems to be a lot of problem with this MQL5 language.
I had this problem probably from 2012. Not I am just curious if MQL5 language have some solution calling indicators from out side OnInit function.
I tried...
If there are say 5 open orders how are the orders classified or referenced / what names do they have?
Hi
How i can change the login here to make the EA open market order trades instead of submitting pending orders.:
if(UseBUYSTOP){
if(StopLoss == 0){Sloss = 0;} else{
Sloss = Lopen4 - StopLoss * point;}
if(TakeProfit == 0){Tprof = 0;}else{...
here's what I want you to do my
1 - once opened my order , my and analyze it and see at what price it is open2 - if it is open to a price level which is fine for me and the order closes in positive then go ahead and open another order WHEN IT ' CLOSED IN PROFITS THE PREVIOUS3 - then if you...
Hi there, I have 2 EA based on SMA which are the same, but with different magic numbers and entering parameters . One I use for EUR/USD M15, the other I use for NZD/USD M15, both working fine. The problem - when I got signal in EUR/USD for example and I got second signal in NZD/USD - the EA in
In MQL5 Reference -> File Functions -> FileOpen is sample what is in this letter attachment as Sample.mq5. When you run that sample you can see that file can be written only when you give part of file path (last part of that Sample.mq5). When you give full path then file writing is unsuccessful even...
If I do not want to trade long after a buy trade and vice versa is there a function in MT4 that does that? Or will somethin like this work too? If LastOpenTrade != Op_Buy Thanks.
good morning, i would buy an automatic robot for trading, around 200 usd for buy, or for rent if it's expensive but very efficient, could you give me your advices and experiences please, thank you.
[Deleted]
Hi all,
Is there any code to order RSI indicator like sample on picture?
BUY= if RSI ABOVE level 50 with RSI is UP condition ONLY.
(Do not BUY iif RSI is Above 50 but going down / negative)
SELL = If RSI BELLOW level 50 with RSI is DOWN condition only.
(Do not BUY iif RSI is bellow 50 but...
I've an EA that once it is activated, it will open a few positions gradually with a common MagicNumber, let's say it open 3 positions with a MagicNumber of 222 at a SAME currency pair, SAME timeframe, but DIFFERENT timing, DIFFERENT prices and DIFFERENT lotsizes. Later, these 3 positions are in...
How are you today. i was just checking this EA for MT4.
i would like to know is it possible when open first order lets say for
usd/jpy
buy order lot 0.10 108.850 t/p 108.880 and s/l 107.990
sell stop lot 0.30 108.820 t/p 107.990 and s/l 108.880
when it did not go in profit and...

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.