Hi everyone. I need you for solve a problem on the Strategy Tester. I'm making an EA and at the real market everything goes right. But at the moment that I try it on to the Strategy tester this one doesn't start. it looks like if there were an infinite bucle and my MT4 platform stop running. void
[Deleted]
How can I make a square or rectangle be drawn on the chart when the price of a currency pair changes, keep it for 15 seconds, delete it and appear again the next time the price changes? Please help, I have been struggling with this for a long time. Just drawing is easy, but when the price changes -
Hi, need a little help. i have an indicator that seems to be working fine, i just want to add an extra filter to the trigger.. I have Envelope and would like to add the bar count and price open/close eg..Bear or Bull candle.. I have the MA Filter working (kinda), I seem to be only getting the BUY
Hi Guys, I need your expert brains for a moment. Is there a way to assign a different audio file to a custom indicator? I have an EA running and a moving average cross over with audio alert all running at the same time. They both have the same audio alert. So, if I can change one to a different...
Sorry about this comment. The Opera browser doesnt work perfect.
Hello freinds, Here is a part of my code: OrderSendResult = OrderSend(SymbolArray[i],OP_BUY,UseLots,MarketInfo(SymbolA,MODE_ASK),Slippage,0,0,"Adding to a long pos",MagicNumber,Blue); if (OrderSendResult <= 0) Print("OrderSend ",SymbolArray[i]," failed with error #",GetLastError());
Hello, I've like to create an indicator which uses a sliding window and displays some horizontal lines on the screen from period - 1440 to period, where period is 3/4 is the last candle of the screen displayed candles but I know know how I will code this. I've produced this screen image to
Hi, I have 3 indicators. I need to check their values on 3 timeframes. What would be the efficient way to code it? I currently have it like this (pseudo code): ind1_1 = iCustom ( NULL , PERIOD_M1 , "Indicator1" , 0 , 1 ); ind2_1 = iCustom ( NULL , PERIOD_M1 , "Indicator2" , 0 , 1 ); ind3_1 = iCustom
[Deleted]
Hi, I would like to using EA to check deposit/withdrawal information of the account, like the date time, amount of the deposit/withdrawal. There's no way in the forum or documentation stated that it is able to do that. Please help. Thanks, regards, Yaohan
Hi guys, I'm confused why this happens? void deinit() {} void start() { ExpertRemove (); Comment ( "Hi Hossein" ); } By this code I receive the comment "Hi Hossein", however it is after ExpertRemove()! Why my code even work after ExpertRemove function? please note there is no code in
[Deleted]
Hi, I am using a broker who organises the copy trade system under their platform. I don't need a VPS, they do it. But I can monitor the performance on my own MT4 app using the account provided by them. Here is the issue: I have a friend who joined this about 3 months ago and his execution is
Im only getting Forex. No Crypto, stocks, etc. Should I just delete the a\pp and reinstall
I have the push notification from my indicator set up correctly and the test notification works ok to my android phone mlq5 app . Mettrader ID is correct. Whe I open a new trade I receive the open order notification to my mlq5 app. so thats ok. Ive check off the security settings IP address on my...
I was trying to understand CryptEncode() in order to send and receive strings between mt4 indicator and php server. but When a string is encrypted on mql4 side its totally different then when its encrypted on the php side , same key and same encryption algorithm is used on both ends, but still the
hi all, i found a dds indicator dashboard on other forum, it is a good dashboard who cant show 5 previous candle and the overbought or oversold status, but unfortunately it has no multipair feature. i mean if i put several this indicator on a chart then all the indicator is only show currenct pair
Do you know how I can use metatrader also for stocks an indexes? Is there any brker that would give a demo account to look at this data with metatrader? Thanks
I have subscribed to many signals in the past so know most issues and how to resolve them. Trying to subscribe to the signal <Deleted>. Can't find it via a search from my MT4 terminal. When clicking on the Copy button on the MQL5 website, it downloads the MT5 terminal, even though it is classified
If you are having a problem with dividing two integer variables in MQL4 . This may be your fix!! MQL4 will give you a zero instead of a Decimal number. The answer is simple . . . just change one of the integer variables to a double type variable and it will work just fine
Good Morning, I am the new one for EA coding. My expectation is "EA should open "ONLY BUY ORDER" when the graph was crossing the red line. My problem is "Sometime when the price was hit the red line, EA can open Buy Order. Buy, Sometime EA is not open buy when the price was hit the read line as you
It would be for mt4 and may need to visually decompile a similar utility to work off of? Serious question Thank you
Hi everyone. I have been working on a simple RSI expert advisor and I can't get it to ever actually trigger the alerts that I've coded. I'm thinking I've made a mistake somewhere, but I've gone through this like a million times line-by-line and I can't figure out where the problem is. If any of you
Hi Guys, I have 2 questions: 1. Should spreads in MT4 vs. MT5 not be the same with the same broker? One of my brokers offers both MT4 and MT5 and up until now I have only used MT4. Recently, I managed to collect all indicators and scripts for MT5 and am practically ready to use MT5 in the same way
[Deleted]
Hello All! I was wondering how often is the MT4 updated and when it updates, how do we know? How is our EAs effected? Any direction will be appreciated!!! Cheers
I can close BUY and SELL open position but I can not delete pending orders. What did I missed? void CloseAllOrders() { for ( int pos= OrdersTotal ()- 1 ; pos>= 0 ; pos--) { int Ticket=OrderTicket(); double lots=OrderLots(); string symbol=OrderSymbol(); if (
My suggestion to add comment column in the Result page in mt4 strategy tester, that will save big time when test and optimize expert advisors . Regards
Is there a way to use the MT4 compiler as a stand alone editor without having it attached to a MT4 trading platform
Hi guys! Did anyone else experienced the same issue in the next few days? I used the same VPS before but now it`s not working at all. Thank you for any help!
I'm writing subroutine functions, then importing then into the main program code using the Include instruction, however the compiler never finds the imported code because a huge numeric number that is part of the path for the include instruction. Is there a solution for this problem? any suggestion
Good day. When I use OrderOpenPrice() in code, it only uses the correct OpenPrice the first time, after that it always uses the previous OpenPrice. It seems like when a order closes, the OrderOpenPrice() keeps the data and the cach is not cleared so that when the new order opens up, it keeps the old
I have an exe file that i created in python (Start.exe) which when executed manually generates two files "a data file" and "a template file". now i am trying to automate that process by executing "Start.exe" from the indicator and then Load the template that the "Start.exe" generated. But when I run
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.