Hi Traders. Just curious if there is any function that does the same job in MQL5 as in HideTestIndicators in MQL4. So far, I did not have any luck to find the same or similar function. Your sharing of your knowledge will be deeply appreciated. Kind regards.
I am looking for recommendations for an ichimoku based EA to employ a TK cross strategy using 4 hour charts in MT4 .
Hi all, Thanks for looking at this thread. I've been developing a simple EA which essentially increases the position size based on volatility. However, it is only meant to be increasing the position size once per trade and then once again after another trade is open. I've attached the code that I...
The order is positioned with takeprofit and stoploss. But when the price hits both take and stop, it's executed but the message appears in the image below in the diary. I'm testing on demo account. if(latest_price.last > maCerto && (highCerto - maCerto) == Pontos && LastBar != ThisBar &&...
I have been trying to find out what is the use of IsTradeAllowed function? in the definition it say " Checks if the Expert Advisor is allowed to trade and trading context is not busy." does that mean all trading Expert Advisers share the same context for all terminals/currency pairs? Thank you
Dear coders, I want to loop back 20 bars. Is this correct ? for(int i=0; i<Bars;i++) { some code...[i] but I m interested how much loop is going to interate } In this case it will loop on all Bars on chart. How can I loop only 20 bars back ? Thank you
Hello, can you tell me how shall I done to trade fibo standard levels ? Shall I use ObjectGet and get value of fibo object and when price is equal to fibo object do something or calculate through code the fibo level ?
Hey, I am totally new in automatic trading and I have a question: I follow a signal. The trader has an equity of $1500. Last night he got 2 profit trades of $12 and $13. I have an equity of $1000, I just earned $4.90 and $5.20 by those 2 same trades. It does not seem logical to me. Is it? What can...
Hi, since yesterday, the debugger is not able to compile the project anymore, just like that. It started when I created a macro and inserted this into some source files. This was the first time when the debugger created an invalid EX5 file, while the normal compiling process created a working...
Hi to all, I have 4 subscription to signals and also 4 VPS. From yesterday I have this strange errors : 2019.02.08 09:55:40.420 '**********': Signal - '***********' for '*************' subscription found, 2019.03.07 expiration, disabled I see that expiration is next month, but at the end i see that...
[Deleted]
Hi, I want very simple EA which can work on 1 hour and a day. If the current candle break the high of previous candle it should buy and if break the low it should sell. trade should be close at the closing price of current candle. trade may be place 10% of available balance. you may contact me at...
Hi, I'm using mql5 VPS services with ICMarkets. I have rent an EA, but no trades are opened. How do I know if the EA is running on the VPS or if it tried to open a trade? Many thanks
Hi guys i need an adx arrows indicator shows di+ crosses di- only if the di+ crosses di - to up side for example: at 08:00 O'clock on the 1 hour chart and on the 4 hour chart exactly the same time if the candle closed then appears the green arrow. Can any one help with this
Hi , Learning how to draw lines - I made a code to draw Maximum and minimum of previous Day and current day. It works if printing - however, it does not work correctly with fixed lines. I mean, lines remain linking instead of fixed . Started with EA ..but, will code an indicator afterwards. with...
Hi, I wonder if I can test a signal, with like 50 or 100 US$? This signal <deleted>) does not say how much you need but I was thinking to allocate a percentage of money that will result in 50 or 100 US$ Is this posible or do I need to invest 1000 US$ or more in a signal? Regards, Oliver
is it possible to somehow get more than one color from user, using one input ? (where user chooses the desired colors from the standard palette) (it's possible for indicators.) EDIT : structures are not permitted as inputs. :(
Hi, I have done a mistake. I've assigned a signal to an ICMarkets account but th esignal is to assign to a FBS account. Can I move the signal to the correct account ? I didn't found how to do it in MT4. Thanks
I am looking for an expert / utility that will allow me to input 4 Targets for taking profit . When price reaches first TP, i need it to move stop loss to break even. Also Each TP level it hits, I only want to close half lots each time. What is out there that is the easiest / best?
I am copying a signal. The equity is €996 and I have tried to migrate the signal with equity stop levels at €250, €50 and now €1. The VPS journal keeps saying the signal is stopped because the equity is below the allowed value. Even without any trades open. What am I doing wrong?
Hi, it's been a month i'm stuck with this problem. I found nowhere on Internet how to set up a hidden trailing stop so i tried to code it myself. there is an error in my code. here is my bot:...
Hello dear Community, I would like to program an EA that gives me a maximum Lotsize per day. If I am allowed to set 0.1 Lot per day, then 10 Trades x 0.01 Lot can be set. Or just 0.1 lot. So that i cant overtrade! Should normally be a very small code and not difficult but I am unfortunately not a...
Hi, Is that possible to include TF as a parameter to my ea? It enter when rsi = x and price is out of keltner, leave when rsi = y. What make me think it can't is that : datetime lastCandle = 0; If I use a tf different from the "analyzed" it will try to use a candle as datatime and may not function.....
Hi, My ea is sometimes triggering "Invalid Stops". I believe that's why it calculate the stop value based on my medium price, and in Brazil's index, price always end with 0 or 5. And the Error only appears when finishing with 1,2,3,4,6,7,8 and 9. What should i go to avoid that? Thanks!
Just margin by itself does not count in the stoploss and fees so given enough market positions there will eventually be a stopout. There should be a formula to check free margin based on this for a new position with stoploss and fees. Calculating margin in such a way predicts the outlook of a margin...
Hi everybody, I am developing my first EA and maybe some of you could help me. What I want to do is quite simple but I dont know how to write itin mql5. I just want to get the latest price as quickly as possible (here every 16ms for example). This my current code : input int shift=0; void...
Hi this is a snippet, executed on ChartEvent click event : double SL_price=0, TP_price=0;bool SL_retrieved = ObjectGetDouble(0, "UTA_SL_LINE", OBJPROP_PRICE, 0, SL_price);bool TP_retrieved = ObjectGetDouble(0, "UTA_TP_LINE", OBJPROP_PRICE, 0, TP_price);if(SL_retrieved &&...
Hi all, Thanks for looking at this thread. I recently purchased 3 months MetaTrader server time but I am having problem migrating my EAs. I get the error that my arrays are out of range when the EAs are on the server. However, when I add it to my local system I don't have any errors and the EA...
Hi, I wonder if it posible to run 2 signal? Maybe on the same account? Or should I have 2 accounts with 2 VPS? Many thanks
Hi everyone, I run some backtests for some assets a few months ago with mt5 build 1940. When i run the same tests with same EA and parameters using the same brokers in a newer build (1978) i get different results for some of the assets. More specifically i run backtests with these assets: AUDUSD,...
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.