Two updates back these lines ware showed correctly.
With the previous and current update trendlines are now showed randomly (most are missing) as can be seen in below snapshot!
I did not mention this earlier and hoped this to be corrected in the current version however its not.
So my understanding is that OnStart() is where you put trading algorithm for opening and closing positions
but any changes in the currency pairs price during the execution of OnStart() are ignored.
If, then, how would I set it such that once the positions are opened, my closing algorithm would...
Hi, I am new to MQL 4 coding and trying to get up to speed.
This is my first EA and the strategy tester runs successfully but just does not place any trades.
I have written part of an EA to enter a trade when the current candle has broken out of the 20 candle bollinger with 2 std dev then...
Dear Programmers, Can anyone tell me how to optimize EAs in real time?
As no one has any clue why is this needed, I will post something very interesting.
That all programmers will dare to change their perception of trading and move to a new level of trading.
Hi, im solving small problem.
I have code like if(OrdersTotal()==0): orderSend(Symbol()... OP_BUYSTOP....)
Sometimes it happens that 2 positions are opened in same time. How is that even posible? Is it because new tick comes immediatelly after first one? I mean like OrderSend is just being send...
I am new in programming in MQL4. My first EA make two ordersend on the same cross but different type. If I run It in debug mode step by step it is ok. If I run it in debug mode with F5 command it seize up on the second ordersend. If I attach my EA at window with double click on line of navigator it...
So iv been back testing an EA a lot lately. Watching different parameters play out.
I like to play with spreads too. I average .5pips on account but like to test all the way up to 3.0 pips ( so 5 - 30 on tester)
As of yesterday. I cannot adjust the spread.
Well I can. But it does not test...
I have a problem with my EA because the spread of the currency that im trading is 5 , so, when the indicator give something ending with other number than 5 or 0, the error ocurrs
2016.10.22 13:29:38.787 2016.10.03 11:55:00 failed exchange sell 1.00 WINZ16 at 60739 sl: 60834 tp: 60584...
Why the ontester() function of mt4 is not working properly?
I wrote this piece of very simple code that should give me an interesting way of evaluating a system.
I used the genetic algorithm (by the way what's the difference between using it and not using it?) and started an optimization.
Just updated my MT4 version to build 229 and now I am not able to attach a debugger. "Debugger detected" them the terminal closes. So I thought I would give MT5 a go and I see the same problem. Looks like Themida Debug Guard.
This poses an impossible situation for library developers like myself...
I've written a couple of bots for MT4 as Expert Advisors. I typically run them on my desktop. I'd like to be able to change some of their external variables while they are running. Is there some easy way to do that? Can they have any kind of user interface?
What are the best sollution to send data to matlab, then make calculations in it and return other data to MT? I saw many methods but mostly they are described few years ago or earlier. What ways do you use and can recommend as "working"?
hello guys am currently reading books on MQL4 to createy own EA and I have some questions to ask. first, I read where EA don't work when your computer are disconnected from the internet is this true? it means we have to be connected to the internet before our EA work.secondly, can EA work on mobile...
I want my EA to be executed on every tick and, if there is no new tick for several seconds, to be executed every xxx ms (for example 500ms).
What is the best way to code this in MQL?
Thanks in advance!
I recently opened a live account for the first time. And between the live and demo account, the EA is placing the orders the same.
But when it comes to Closing the trade, only the demo account seems to close where it is suppose to, and my live account is not closing (still testing...
Hi, I am trying to test some EA's to buy. However, when I am running the tests (pressing the start button),
I am getting the following errors below.
2016.10.20 23: TestGenerator: unmatched data error (volume limit 3467 at 2015.04.19 22:00 exceeded)
Hi to you all in the forum,
I am now experimenting and studying mql5 for several monthsand despite a lot of research I could not find an example for my problem.
The trading idea is that a buy signal occurs if one of twomoving average signals are positive and the RSI has first fallen below 30,...
is it possible to capture the dragging process of a horizontal line somehow?
I can get the CHARTEVENT_OBJECT_DRAG event but this event only fires when dragging is finished. I want to capture the dragging itself, like mouse-move that is updating x and y position of the mouse...