I have an EA that has so far never resulted in a loss but the reason for that is for my human interference. I was wondering if I could code in " Realms " but I am not sure how too go about it at this moment.
I may figure it out in a month or so but I feel like I should brainstorm with a little...
My Broker's MT4 is giving error of too many positions open. Seems like there is a restriction of 200 max total positions that can remain open. They say MT4 has provided that, but I knowin past another broker was able to increase that number for my account.
So can anyone tell what setting i that...
Both MT4 and MT5 are in the same computer.
I'm not interested in any of the paid options.
I've tried the free EAs I've found googling and in the codebase but most of them seem to be outdated. In other cases when I try to compile the code there are tons of errors (maybe outdated also??).
Any of...
Hi there,
my plan is to save the chart as a template bevor leaving it. This part works fine!
It's the reload in 'OnInit', which don't do what I what.
The MessageBox says "Template apply: 0" - but noting happends in the chart.
I can load the template when going the manual way: right mouse button...
Hello everyone!
When I download history data ( using f2 ) from somewhere where candles timezone is different to my or my broker's timezone then will they be converted to my timezone?
Do copy* function return the candles time on my timezone?
Thanks!
Hi guys,
Am trying to create a simple EA that sets pending buy/sell STOP orders at previous bar high & low. See below
extern bool TradeOnClose = true;extern int MagicNo = 144500;extern double Lots = 0.01;extern int SL = 20;extern int TP = 60;void OnTick(){...
I'm wondering if there is any interest in collecting performance statistics on the collection of free / demo expert advisors available on metatrader. I have been looking around the internet for this kind of information and have not found it. My idea is that I could set up an automated system that...
All,
I have been study and search for good EA to help generate consistent profit.. would like to discuss with group here the topic what is the best EA so far you been used to help you generate good profit ? any suggestion or learning from the group can help each others gain better experience and...
Why do I get difference result for same EA same BROKER same VPS
My EA is MFM5
Broker is XM
Thank you very much
int OnInit() { double LotSize(string symbol,datetime tbar) { double size; string BQ,currency=AccountCurrency(); switch(MarketInfo(symbol,MODE_PROFITCALCMODE)) { case 0...
I've got a problem with an sl too. Whenever I think it's about numbers typed "double". Bevor I use my SL in OrderSend() I try to round it to the posible numbers given by the TickSize. double sl = 0.00544; double currSymbolTickSize = 0.00001; sl = MathRound
Hi, I'm new in mql5 and I'm trying to following the docs to listen the position opened "event". The functions like TradeEventPositionOpened() and TradeEventPositionClosed() are never executed. But the functions like TradeEventOrderTriggered() and TradeEventPositionStopTake() are executed. For now,...
So, I have a strategy that I want to implement on EA and it will be a while loop based strategy such that the program will reiterate calculations
until the profitable condition is met, then will execute the appropriate orders.
Would it be possible for one file to reiterate those calculations on...
hi all
i am using ontick and with some rules to enter trade
however, when price move too fast, it might trigger 2 or more entries on a single bar
how can i code it so that once it has opened a trade on current bar, it can only open the next trade on next bar onwards?
thanks
Hi,
I'm running an EA on 5 different currency pair.
All is running on a VR Server so that my PC doesn't have to run all the time.
The VR works pretty good.
The problem is, that sometimes if I'm running MT5 on my PC, some orders doesn't set the automated S/L.
As said, just running VR without...
[Deleted]
Hi!
I have an EA working in my MT4 and I'd like to transmit the orders of buy and sell for the 24 Options. Yes! The EA is a robot of binary options. However, the 24 Options don't offers support for MT4.
So, how can I do it?
Thanks!
Hi There,
I did my first steps in MQL5. Which is to set a SL to ervery thing living there without one.
It works well, but there are errors in the terminal jounal that I can not interpret.
"Notifications invalid settings (notifications not enabled)."
What is it about and where to...
[Deleted]
I have a question:
Call me paranoid, but Metaquotes isnt really a big company, it make a lot of sense stealing good strategies as second purpose,if i was the owner myself i'll try to see high profitable EAs, but
i have a technical question, for who understand programming, if i have a good EA,...
Hi is it possible to only open a position when spread for example is less than 5?
I tried that with
if(SymbolInfoInteger(Symbol(), SYMBOL_SPREAD) <= 5){ buy();}
and in buy() i do
Print(SymbolInfoInteger(Symbol(), SYMBOL_SPREAD));
and it shows me also values higher than...
Hi folks,
I'm struggling with an error on the following EA: https://www.mql5.com/pt/code/2314?
It uses the tradealgorithms.mqh and returns the following error: (): Incorrect volume for a trade request structure
Searching the code I realized that the error is caused by a Volume <= 0. But I still...
Hi, please help me!
How to place object(button, text) into separate window or separated indicator?
please, answer.
Hi There!
I am about to do my first steps in MQL5. Some things went fine others . . .
How to open a file in append mode?
There is no flag in the FileOpen.
Thanks a lot
Willbur
hi all
currently i am using ontick
when a trade is closed, i want to wait a certain interval before evaluating to open a new trade
googling around, i found sleep can do the trick
is this the best method?
thanks
Comments that do not relate to the "Add checks to EA !!?", have been moved into this topic.
Hi i am trying to publish EA only for binary options and only for GrandCapital broker !!!
However the moderatos told me that :
Support Team 2016.04.08 08:50 :
There must be no errors regardless of inputs/initial deposit or any other conditions. Add checks to your EA.
We told you, there...
Hi,
Is this possible with either MT4 or MT5?
Example.
I want to run an EA for 12 months, before each month is ran, specified variables are used to get optimum (highest in optimization) setting, and is used on the upcoming month's trade. And after that month, optimization is again done, and...
Hi, i get a nice fat 10030 error when i try to close a position for a given currency. Any ideas why?
for( int i=0; i<NumOfCurrencyPairs; i++) { ...
One observation I noticed is that everytime I run the Strategy Advisor, it will come out with different results even though I didn't change the code or parameters.
I was using "Every Tick"
What is going on?
Also, I saw that in the graph, it was losing money in orders...
Comments that do not relate to the "Discussion of article "MQL5.community - User Memo"", have been moved into this topic.
Dears, I'm sorry, I read around and searched, but I'm stuck in the tester. I understand it should work, but it doesn't :( I run (tester) an EA on a 1H chart and I try to get values from iMomentum for the 15M period. The function always returns 0. For the live of me, I can't find out, why?? Pardon-me...
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.