Hello everyone out there, i have been trying to put in demark trend lines as a custom idicator in my EA. But i wont get it to work. This is the Custom idicator https://www.mql5.com/en/code/8296 In the indicator the IndexBuffer looks like this SetIndexBuffer(1,ExtMapBuffer2); SetIndexBuffer(0...
[Deleted]
Dear Community, Can someone speak to the topic of taking profits at multiple stages? I know how to place a S/L and T/P but wanting to know if MT4 is capable to set multiple partial T/P? Thanks in advance if you can help. Sincerely, RRJ
Dear all I would like to try the jobs service provided by MQL5 but I really confused with payment method explained by MQL5 website. It would be much appreciated if someone can explain it to me. What I want to know is, 1. I have created an account on MQL5 and Paypal, but do I need to deposit a money...
[Deleted]
I am trying to code an EA that exits a trade when the distance between a customised Fast MA and a customised Slow MA reduces by a set amount. The fast MA is L1 The slow MA is L5 L1 and L5 are produced by a separate indicator called CW If the difference in value between them reduces by a certain
[Deleted]
Hello all (but most importantly Slawa :) I am trying to use a dll in an EA, but i get the following error when i try toaccess its first function: 12:51:17 DllTest DAX,H1: loaded successfully 12:52:01 DllTest DAX,H1: cannot call function 'isInitialized' from dll 'test28.dll' (error 127) 12:52:01...
[Deleted]
Hi guys, I know there are tons of these sorts of EA's out there but I wanted to code one to learn how to do it. I have managed to put it together with very "childish" coding logic and skill. but it seems to work perfectly with the Sell orders but will not work at all on BUY orders... can...
[Deleted]
Hello, I'm having some trouble getting more than 1 instance of MT4 working with Oanda. First version is working fine, EA orders all getting filled in Oanda account 1. I installed another OandaMT4 to a different directiory on my D drive, launch with terminal.exe, load the same EA to the 2nd instance
Hi, if I change the graphic and add some conditions from "free" indicators like MACD or others with opened code in the codebase can I sell this indicators?? Or is there any licence on it?? Lot's of thanks
[Deleted]
Hi There I'm having major difficulties with certain arrays in mql4... double x1=OrdersHistoryTotal()-1; TS[x1]=11; Alert ("TS X1 = "+TS[x1]); …but the output produces: "Alert: TS X1 = 0.00000000" Why?
can anyone provide indian timings relted to forex open timings of newyork-london-sydney-japan
[Deleted]
Is there a possibility to set up the StoppLoss, so that it won't react unless the course closes at least twice under(over) it. The problem is, that there are sometimes Bars that giving a unwilling Signal. I want to filter them out.
[Deleted]
Hello everyone, The idea behind the EA is that the price should cross EA and MACD lines should cross in the same direction to place a trade. The code I am using is attached below. For some reason, strategy tester takes trades even when the MACD is not properly aligned(screenshot attached). Any clues...
[Deleted]
Hi all! Just my first post here, new to the MQL4 community. Is a very simple question. I have used the search function of the forum, but haven't found the answer. I have an indicator that only put a Comment in the chart to show if an average is below or above another. Sometimes one of the averages...
Hi, embarrassed to ask such a basic question, but can't work out what I have changed to cause the problem. I have a template that I have been using for many months. Have varied indicators, added and removed objects (lines, trendlines etc) All has worked well until today when the objects started...
[Deleted]
Can somebody help me. On Strategy Tester, the EA ran fine with default settings. But when I used some values in "SL", the buy or sell did not come. Also, how does "Breakeven" work in this EA? Can it work? There is a command "void"? What does it do? Thanks!
Forum have a similar thread on Public and Elite section:This thread is for Advanced Elite section. Same idea as with others: if you have a good idea for a Trading System? Post here and we will try to develop it (all ideas will be evaluated first of course).(I stole all of that) Just thought it was...
Hi I've spent so much time writing many EAs, changing it numerous times based on various strategies but none of them seem to produce consistent results which is frustrating me. I found a post by bgaitero and his EA performed excellent over a period of 8 -9 years in backtest. (https://forum.mql4...
[Deleted]
Hello, How to be alerted when my EA stop running ? There is someone already implemented something like this ? They are 2 PC. PC A PC running continuously a EA, and sending each 5 mins a signal to PC B. PC B PC awaits a signal from PC A, and if that does not append each 5 minutes, triggers an...
when i try to close or modify an order,a message appear like this " Encountered an improper argument" what does it mean ? i cannot close the order .
[Deleted]
Hello, please can anyone tell me if there is any way I can create 6 minute bars in MetaTrader4? I need to create different periodicity charts to the default options in MT4 for a system I am trading. I am very grateful for any help. Best wishes, Ye Ling
hi i have the following EA,, it only trading on "instant execution " brokers and 4 digit brokers .. can any one chnage this to trade on market execution and 5 pip brokers? this is is instant execution broker, it can able to place tp and sl at the time of trade execution... since we have to place tp...
Hi, how can I change the time on my chart? My lokal time is 10:27 and the shown time is 8:27. Thank you
Hello, I got support in this forum for run custom indicators from the init() of EA I use . Now I need to close these same indicators in deinit() of the same EA. Thank you very much for your help. PS: I use the google translator, sorry for syntax errors.
Hello friends, I have aquation, and I nead your help: If I have 2 "FOR" - loop, and I want to stop them together, Can I break the together with using the operator BREAK one after one? Means at the following example: Is the GREEN BREAK breaks the the GREEN Loop, and the RED BREAK breaks the RED Loop?...
[Deleted]
Hello all, My name is Godfrey and I have this EA that uses the LevelStop-Reverse indicator written by Bruce Hellstrom. I googled the EA that uses that indicator and found one. The problem is the EA has no Take profit, Stop Loss or Trailing stops functions. I really need help on coding as I am a...
[Deleted]
Can anyone help? I think I am being particularly thick today..... On the first line of code, I am taking an average of the values of three lines for an indicator in "Line 4" and assigning it to a double variable of "x" In the second line of code, I want to take the value x and divide it by an...
Hy everybody, could you indicate me the web site that allow to share the trades placed on a certain account? I saw it somewhere but I don't find it anynore. Thank you
Dear Community, I try to write a function, that opens a new opposite Order when the last Order by the EA was closed by Stop Loss. The function should open only one new position. But my function opens endless number of new positions. I do not know why it happens? I tried to solve the problem with the...
Hi Im a novice trader, so sorry for my maybe "stupid question". But can anyone tell me the difference between a long vs short position? Maximum length for a short.? Minimum length for a long.? Thanks for the help =)
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.