Hello, Any know how Can I use my equity (in my client terminal) online and export to a excel I hope you can help me. Regards
[Deleted]
Hi everybody, First of all, thanks in advance for your help. I really appreciate it. I was given a system to automate, and I've had a long tough time of it. I put it all in Excel, but was having trouble automating the data entry and would still have had to make trades by hand, so I started up...
I've just opened an account with Smart Live Spreads and am using MetaTrader which they provide. I'd like to gain an understanding of how the Expert Advisors work. Any suggestions of a guide to look at online? I'm familiar with VB.net, but not C unfortunately. I've started out by looking at the MACD
[Deleted]
Hi all, I followed this article https://www.mql5.com/en/articles/1533 on how to download data directly from the history center and managed to get it working. However, I have found that it only seems to download the full history for a weird subset of symbols, there does not seem to be any rhyme nor...
Hi hoping someone might advise me what I am doing wrong here i have a indicator that works well with a standard condition like: if x(i) > x(i+1) UpBuffer[i] =1; else if x(i)<x(i+1) DownBuffer[i]=-1, else ZeroBuffer[i]=0.5 however I want to add additionaol conditions like the following (yet despite...
Hi, if(OrderType()==OP_BUY){ OrderModify(OrderTicket(),OrderOpenPrice(),OrderOpenPrice()-Point*TrailingStop_long,OrderOpenPrice()+Point*Profit,0,Yellow);} if(OrderType()==OP_SELL){ OrderModify(OrderTicket()...
[Deleted]
I finally managed to get the Strategy Tester working on the weekend, then suddenly this morning, it stopped working again. Can it be that if the markets are operating it doesn't work? Or what am I doing wrong? Hopefully Thanks.
[Deleted]
I am connect up to a MT4 server fine, but every night when the server is reset I cannot reconnect for an hour. I've worked with the broker and so far we have not found the root cause. From a tcp dump on the server once the TCP handshake is completed the MT4 server immediately terminates the...
[Deleted]
Hello, Building a simple EA, I need the use of at least 3 indicators. Each time I call iCustom() the requested indicator is loaded, then unloaded. Is there a way to have the EA keep an indicator loaded, without attaching it to the graph the EA is attached to ? iCustom is used with at least 2...
Hi guys, I need help with an EA that can work with my trading strategy below with the exact specifications: INDICATORS SETUP- • Moving average – 5 Exponential Moving Average, Apply to close (Blue) • Moving average – 10 Exponential Moving Average, Apply to open (Red) • Relative strength Index (RSI) –...
hi i have this code to creat a rectangle ObjectCreate("L"+x, OBJ_RECTANGLE, 0,Time[x],High[x],Time[x]+period()*60,Low[x] ); how can i insert a code to draw a vertical line at the second time point of the rectangle time[x]+period()*60 any idea?
[Deleted]
Hi, I always had the idea that iATR(NULL, NULL, 1, i) was the same as (High[i] - Low[i]). Both are suppose to calculate the range of the i'th bar. However I found this is not the case and I'm getting strange data showing up. I'm using the following code #property indicator_separate_window#property...
(RAS ID: 33296) Link to follow live results under discription! 6 months and counting MT4Live.com - Share Your MT4 Statements Free This is the link to the signal I'm selling on rent a signal. to rent this system click below Live Account 01 | Rent a Signal Thanks
This is probably a dumb question but its something thats been bothering me for ages. In the mql4 documentation it says indicators are drawn from left to right, but how can that be when it is drawn in the loop int counted_bars=IndicatorCounted();if(counted_bars>0)...
Hey, hello! I want to ask - is there any SAR-based indicators with any user's customisation?
I mean about step by step run back test and show value of each variable. Is it possible ?
[Deleted]
Does anybody have the code for TMA? The formula is... SMA = (P1 + P2 + P3 + P4 + ... + Pn) / n TMA = (SMA1 + SMA2 + SMA3 + SMA4 + ... SMAn) / n Clearly, the first point of the TMA is 2*MA_Period from the start of data. I would be grateful for any code suggestions....
I want to calculate ln(x) is there i library or something i need to add ?
Hello Everyone, I was hoping you could help me add a simple alert to a code. I have tried many times, but it seems that I cannot get it right. This particular indicator makes trendlines the way that I like trendlines to be made. I base most of my trades off of this. Usually the currency price is
I want to ask you to help a noob to get a ready programmed code for money management feature. I want the difference between the possible Open price and the StopLoss to be not more than 5% of my whole balance. In the case when it's more than 5% the order must not be opened. I'm sure some of you have...
I am attempting to write my first EA, and have read the documentation and the MQL4 tutorial book. I believe I understand about minimum stop distances. But try as I might, I'm still getting Error 130 when I submit my orders, and I don't understand why. Here is the code: minDistance =...
[Deleted]
My EA is still under development and I having trouble to simplified 1 of the process. I was watching for 2 Moving Average to cross, SMA 2500 and SMA 3000. After the 2 MA crosses, I would like to trade on the first tick that reach the lowest or the highest MA line which can take quite some time, from...
[Deleted]
Hello, I have written this simple indicator Joe DiNapoli uses to determine Over Bought and Over Sold called DOSC for Detrended oscilator. It is just he diference between Close and Moving Average. The indicator works good and the only buffer that is used is full and does what it needs to do. Then I...
I wrote a robot which performs good only on GBP/USD but fails miserably on all other pairs Is that the way it should be ??
Is there such a thing like an enum in MQL4? - I want to program my station and don't want to wait until MQL5 becomes available for livetrading. I know one could create a string array of certain size, but using an enum type would be easier.
Can I assign the Open and Close price of the previous bar like this: Open1=Open[1];Close1=Close[1]; Or should I do it this way: i = Bars - counted_bars - 1; And then use in the form of: Open[i+1];Close[i+1]; Is it the same or not?
How do i delete information from a array file to make room for the most recent information if ??
(1)
How do i delete information from a array file to make room for the most recent information if ??
Is there any documentation on MetaTrader 4 Strategy Tester limitations? I'm optimizing a combination of more than 10496 in the Strategy Tester, does it mean that optimization stop after 10496? What actually happen to the combinations after 10496? Thanks!
Hi, I need an EA that will override the existing Stop Loss in another chart for the with the same currency pairs. Likewise for a Trailing Stop Loss: So that it will override a Trailing Stop Loss &/or Add a Dual Trailing Stop Loss in EAs that don't have one or only have a single Trailing Stop Loss....
1 He i was using this below indicator (no.1) but i am unable to put buy and sell condiation in EA buy when bar is blue and sell when bar is red how to put condiation that in ea 2 also want to know how to change the display style off indicator in shown in picture. want to display like indicator...

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.