The title says it all. Or how to check the percentage of the interval tested at the moment (it is shown in the agents window). Thanks
// Current order // [#1] [#2] [#4] for (int pos = 0; pos < OrdersTotal(); ++pos) { // when pos is 0, [#1] is selected. if (OrderSelect(pos, SELECT_BY_POS) == false) { } // (1) long long process... (More than 10 sec) // canceled or closed order [#1] [#2] and new order [#5] => [#4] [#5] // then next
Hi!
Question 1
I use a virtual server, everything has worked great until I sync today and immediately after that it closed partial end on 5 positions. This can not be a coincidence? I have not made any changes in the positions. Why should it be closed or sub-end 5st positions in the 30s when...
Hi,
I'm trying to create an EA that place a buy order when price is above the 50 days line.
Here's the 'if' condition:
if((iLowest(NULL,1,MODE_LOW,10,0) > iMA(NULL,PERIOD_M1,50,0,MODE_SMA,PRICE_CLOSE,0)))
However,
When I test out that if condition it placed an order at a bar higher then...
[Deleted]
example
open buy 0.10 lots
and i want to close just 0.05lots
Is it possible to have my EA display the date in the format "Monday 7th December 2015" ? Is there an easy way to do it without concatenating lots of extracts from the TimeCurrent()? I've been going round in circles with it, surely there must be a function that displays in this format. Maybe I'm...
Hi,
Is it possible to code an EA based on an indicator if I only have the .ex4 file of the indicator? I found the indicator on a forum, so its free to use for everyone (the author posted it).
All the best!
Simon Johansson
Hi I am new to mql5 and want to design a strategy that essentially looks for turning points on short term ma's. The user will select a ma period and a number of ma points to loop through. Ie 5 moving average period for 50 data points I am not sure how to loop through the moving averqge array and
Sentence I came across: Trade with virtual orders, sl and tp and put real sl and tp in within 1-2 pips of virtual in case of safety.
I came across this sentence, but i can't understand or visualize what it means.
From my own interpretation, coder point of view:
- Virtual order is referred to a...
Hi All,
I've just realised that the SendMail() function seems to recognise basic HTML coding. I have an EA that emails me alerts when certain events happen. It would be good to have it look a little nicer than just text so I've tried some basic HTML code like the header tag <h1> and it formatted...
Hi Guys I need a simple Expert or Script that can close my trades by a defined time. for Example; my Trading-time is from midnight until lunch then the ea/script should control my tradingtime. I need something like a "Master" EA/Script that control my trading. He should block if it's not in "my
Hi, I am looking for a programmer to develop for me an EA based on my requirements.
I want to ask question that There is invalid fill in Expert Tab i got solution but dont know what to do further.That is where to put this coding.I saw this link https://www.mql5.com/en/docs/constants/errorswarnings/enum_trade_return_codes
10030 TRADE_RETCODE_INVALID_FILL Invalid order filling...
I have 2 desktop an one laptop. All running Windows 7
I have working setups of Metatester on the 2 desktops
My local network is 192.168.10.xxx
All computer work as expected accessing intewrnet
One desktop with ip 192.168.10.44 the strategy tester takes on the following ip adress for...
what code to create an grapict in ea like this?
Dear everyone, Anyone know what is wrong with the following statement? Comment(Symbol()); When I compiled, it says "Symbol'-ambiguous call to overloaded function with the same parameters.". Or is there a way to write code to store the value of Symbol()? Thanks you in advance.
Is there any EA by which i can get 2, 4 , 6 8 and 12 hours time frame, bcz for multi time frame analysis i need these charts, but dont want to use mt5 , i dont like that platform at all.
It's said in MQL4 Reference that "Function templates can also be used for class methods". Then I tried th folwing code: class CTest {private: public: CTest(); ~CTest(); template<typename T> void...
Can anybody help me: Why price of XAUUSD is 1093.09 but digits=0 and point=0.00 from MarketInfo? Thanks, a lot
Hello
I want to add a condition to my EA. I want it not to open a new buy until the short is either stooped out or meets the take profit criteria. Similarly, I want my EA to not initiate a sell until the already open buy meet either the stop loss or take profit condition.
I am using Molanis...
Hello friends .
Do you know EA, which can make a deal when I tell him, and take the data than the closing or opening of that time. And close deal after a gain of 10 PIPS
(I like to transact business at the London operations and usa)
Thank you
OR
Hello i want to ask is it possible to make EA that can count closing trade in that pair in some spesiific range of time (ex: a day or a week)?
since as long i know EA can only count order trade only, and i try to find it in google but found nothing
please anyone who knows tell me anything you...
this is the open code of export for Heiken_Ashi_Smoothed
can some one tell me wher is the mistakes and errors
it is good the proplem that I see on the test is stop lose code and by on the signal can some body help me to make it...
Hi, Is it possible to get the list of EA params on the OnTesterInit function? I would like to do something like: void OnTetsterInit(){ string all_params[]; for(int i=0; i<ArraySize(all_params); i++) { ParameterGetRange(all_params[i], ...); // Do some verifications }} But how to fill the...
Hi,
I have one EA where I can turn on/off one indicator, and it also have params for this indicator.
When I mark the option to use or not and the indicators params to optimize it generates some redundancies (as expected).
OBS: "Não" means "No" and "Sim" means "Yes".
But makes no sense to...
Hi there,
I am after a support and resistance EA if anyone has one that actually works? I'm happy to buy it if it works.
hello,
i write this post to have some advise how i can code this idea:
i read the lesson post on babypips forum about the ema like dynapic support and resitance; and that is what i want to code:
esample : i have 5 ema 20/50/100/150/200 the price go down , before the brake down for example the...
Good morning every one >< I'm searching for the man can create this EA for me. Please send me to marcogiacobbo@yahoo.it your price proposal. This is the EA working parameters: EMA100 (simple,close) + EMA1 (Simple,Close)
Hi all!
forward testing Lilith goes to Hollywood. ( free available on codebase btw)
The EA closes all the positions including on different pairs when a target has been reached.
if(Profit>=Amount){CloseAll();}
How do I change this so only positions and pending orders on that particular pair are...

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.