[Deleted]
Hello, is it now possible to draw buttons on chart wich can be use for trading with the new MQL4 update?
Hi, I'm was looking for an indicator, but can't seem to find one. So I created my own, but can't figure out how to get the moving average value correct. //+------------------------------------------------------------------+ //| OCHL ratio.mq4 | //|
Hi. I want to somehow simulate deposit withdrawal in MQL4. I want after a trade is closed to take any surplus above the initial deposit from balance. Ideally save this number somewhere. Any ideas
Hi all, I have an EA that I created for couple of months. Since I still learning about MQL 4 the only close and open order that I can do is based on the present time. Right know, I'm creating an EA which consist of a lagging line (shifted 26 to the left) that will be used to close an open order. My
Hello fellow trader and programmer, please I wan to know how possible is it to get the price of currency pair when RSI is at level 70, 80, or 90 and also get the price value when rsi is below 30 vice versal. The iRSI() function only return the RSI level not the price
Can anyone provide the MQL4 source file for the 3 SMA Pip Machine as it is no longer available, whilst there are many free EX4 files for this indicator. Regards Peter
hi, I am trying to make a EA that needs a standard MACD, not the one that is available with the iMACD function. I know that the MACD line is made by subtracting the 26EMA from the 12EMA, this can be easily done with the iMA function. But after that there needs to be a EMA made out of the MACD line
Hi everyone, I am a long time reader, new poster, so please be gentle. This is the first indi that I have tried to write from scratch as I always pay for the service and then tinker with the code after, but I figured that it can't be that difficult for such a simple indi. I am try to create a
My partner and I work for a company where we use their platform to manage many accounts and trade for the investors. We want to start our own company doing the same. Does anyone know how we can acquire the necessary platforms to do this here in the United States. Thank you
how can know an object is Back or Front ? i use this code but it return 0 always! long vv; ObjectGetInteger ( 0 , "FML_H1" , OBJPROP_BACK , false ,vv); Print (vv); or Print ( ObjectGetInteger ( 0 , "FML_H1" , OBJPROP_BACK , false ));
[Deleted]
I'm new to MT4. What would be reasonable backtesting time for a simple 1 or two indicator EA? Regards, MSquared
In my code to detect a MA cross and only buy when two MAs cross, it somehow does not detect a cross but still goes on and starts a position. Furthermore, these positions start by being a 'Buy', then closing, then all positions after that are a 'Sell'. What am I doing wrong? input double Lots =
Hello In this example you can see that if i do an optimization since 2019.06.13 it only shows 1 round in the Optimization Resaults and takes only 22 sec to complete it. However if I do the same Optimization since 2018 or before it does work fine showing all the combinations and its resaults, taking
[Deleted]
with GetLastError() i got Error 133 while trying to open an Order with OrderSend. Error 133 means "trade is disabled". What is the solution?
First I had subscribed signal in my pc. And I moved from pc to VPS and logged in vps MT4 . mql5 of course also logged in) But VPS don't received signal? How receive signal VPS mt4
For some reason MT4 will not allow me to sign into my account. It was perfect fine several hours ago. If I try to sign on it says authorization failed. My pass word is saved, so??? I recall this happening with Mt5 when I had it but only after 4 months. Do anyone know why this is happening?? I
Dear community, i have a simple question. How many periods are considered by the fractal indicator from Bill Williams included in MT4. It is very important for me. In the theory, we shall consider 5 periods, but how about the indicator? Best regards. Pierre
Hello my people. I am currently building an EA that place order once 5 & 20 exponential moving averages crosses each other, the issue is once the fast moving average crosses the slow moving avearge to the upside, the bot will immediately place multiple buy order and stop out will occur. So i
Is it possible to use a pricing feed api in a EA to trigger trades in mt4? Or is that not possible to use an outside api with a mt4 ea because of the the type of code used by mt4
I have a very simple trade strategy. But I do not konow why it can not run in expert mode. But my indicator work well. Is it possible to " trigger Open Trade and Close Trade " from "indicator"? I only need Open and Close order in indicator. only have a little trade signals in a long time, we...
So basically I'm trying to make the EA close a trade if it has been open for more than 48 hours. How would I do that? Thank you
I have a script which seems to be working but am trying to backtest so that I can improve on the results. But when I try to back test i get the following error: 2020.03.31 13:53:22.717 2020.03.27 20:30:00 EATest AUDNZD,M15: OrderSend Failed with error #(131) - invalid trade volume I've read all the
I'm trying to pull OrderOpenPrice from an open order to use for a sellstop order - a certain amount of pips for new order. OrderSelect(123,SELECT_BY_TICKET); double B3= OrderOpenPrice(); B3 is the key i'm trying to use. would this be the way to do it? or would I do double B3 =
Hello people, I am a newbie in coding bot for meta trader platform , but I have decent experience coding JavaScript for the web, I just build a simple mql4 bot using 5 and 20 ema to place order, but when I try to test it via strategy tester it keep showing both condition not met, please what am I
hi There is a way to run more than 1 back test ? i need to run many back test and each one spand 1 day
Hello; I have a code to count number Bars up ( down ) in 50 (number) bars; I just need help to modify this by 1-to add an input so that I change the number of bars to any number x, not to be redistricted to only 50 bars 2- a way to put two or more of this indicator on the chart side by side if I
below is an indicator that plots a band, upper, lower and center bands. Can anyone with some knowledge explain how the bands are calculated, please. here is the indie: #property indicator_chart_window #property indicator_buffers 5 #property indicator_color1 White #property indicator_color2
Hi people! I'm looking for some help, I'm creating my first custom indicators and experimenting with technical indicators and basic operations on my endeavor to find the holly grail, I'm using IStochastic and iSRI doing some basic formulas and operations and basically is the same for loop operator
We have experinced a problem about "Multiple Close By" process like that; I consult a big exchange office. They make hundreds of transactions in a day,buying or selling. They had approximately 900 transactions in their pool, and they made "Multiple Close By" as usual. But it was the first time, more
I am aware from other posts, the metatrader running through wine is not a perfect setup. Each time I restart my metatrader I have only few months of historical data in my history centre. - I have tried with downloading the data - I have tried to import them from third party. I have tried two

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.