I clicked something that caused the symbols (currency pairs) to span across the top of the screen. I really want them to show up along the left hand side of the screen as before. Can anyone plz tell me how to correct this? Thank you
[Deleted]
When an Expert Advisor is attached to a chart, the time frame is manually applied by clicking M1, M5, H1, etc. This time frame controls how often the EA receives a market tick which then runs all the code in the start() method. How can I programmatically change the time frame from D1 to H4 to H1 to
[Deleted]
When an Expert Advisor is attached to a chart, the timeframe is manually applied by clicking M1, M5, H1, etc. This timeframe controls how often the EA receives a market tick. Each market tick runs all the code in the start() method. How can I programmatically change the time frame from D1, to H4, to
If i have an EA monitoring my account and able to close all my positions like: OnTimer () //a 1 second timer { If(AccountEquity()>target){ Close all positions with certain MagicNumber}} And at the same time have many EAs on as many Instruments, that Open positions at the same time like: OnTick () {
Hi all, I have asked a few questions in the forum lately and very much appreciate the responses I have gotten. I am hoping for the same kind of luck again. I have written an EA that works perfectly on Strategy Tester . But I when open it in my live account on two different charts (two different
Hi, in MQL4, is it possible to overwrite standard predefined variables like Open/Close etc. by my own functions like in this example? double Bid() { return MarketInfo(symbol, MODE_BID); } //+------------------------------------------------------------------+ //|
Hi everyone, I tried to get the direction of the last zigzag and I found out sometimes it returns a false result. This is the code that I used: double pZZ1= 0 ,pZZ2= 0 ; int ZigZagPattern( int shift= 0 ) { int result= 0 ; for (shift; shift< Bars ; shift++) if ((pZZ1=zigzag(shift)) != 0 )
Hi, How can I use if statement if error 130, then skip OrderSend, and I got warning error or try again in next 5 mins? Regards, Dejan
In MT4 when I click on "Test" in Tools/Options/Email I get "Mail: login to snook176.hostpapavps.net failed" in the Journal. In MT5 I use the exact same Email settings and it works fine. So why is it not working in MT4
[Deleted]
Hey everyone, I'm new here. I've been using MetaTrader 4 for about a month now and today around 12:45 EST the charts stopped plotting the next candles. The charts are not updating or refreshing, I tried to close the program, and reopen it. I tried to uninstall and re-install the program, I tried to...
Hi All, Two months ago, I assembled a 24 Core Server with 64 GB RAM running a Windows Server 12 R2. The server is connected to the 1 Gbit/s port on my DSL Router Fritzbox 7590 which runs at the speed of 250 Mbit/s for download and 50 Mbit/s for upload. I adjusted the Windows Server for best
Hello, I've coded a basic MQL4 EA to open a BUY order and SELL STOP order at the same time. I would like to know if it's possible to remove the TP from the BUY order once SELL STOP order is activated. So below is the BUY order with TP 10 points...but I would like for the EA to set that TP to 0 once
This is a big problem just got apple phone and I cant sort my trades in iOS, it only arranges my trades by currency at default...I need last opened time . How come there not updating this? or I'm missing something
[Deleted]
If someone could help me solve this warning it would be greatly appreciated, The code works correctly yet I get the "implicit conversion from 'number' to 'string'" warning extern double SpreadRed = 1.0 ; double spreadActual=(Ask-Bid)/ Point /nn; string spreadValue=DoubleToStr(spreadActual, 1
I want to automatically create a new structure by changing the chart or time frame. What is the function of defining a new name
Prop firms requiring sl/tp placed at the time of the order Is this possible with EA or script ? I have searched code base and market for such a tool but those descriptions seem to suggest pending orders not market orders. Perhaps I'm not understanding what the autostop EA's are doing but their
I have imported various historical data as HST into my mt4. This are a lot of crypto currencies . These cryptos are not supported by my broker. I don't want to trade them with my broker either, I just want to analyze them technically with my indicators and templates in mt4. Trading is then done
Hello all, I have been trying to change a charts timeframe in my EA, but I haven't been able to get it to work. string we ="GOLD"; ObjectSetInteger(0,we,OBJPROP_TIMEFRAMES,OBJ_PERIOD_M15); The code complied with no errors or, warnings. I need some help to make this work properly.
Hi, I am trying to learn MQL4. I am curious as why my simple EA cannot execute properly. When compiled, there is no error and warning. Would anybody help? Thank you so much //+------------------------------------------------------------------+ //|
I cannot seem to understand the difference between OnStart() and OnTick() event handlers. Documentation says OnStart() is for handling scripts while OnTick() is for handling NewTick event. But I use OnStart() to handle events for incoming new tick in my EA and it seems to be working just fine. In
Any other payment options for VPS? I have exhausted my 100 USD per month for international transaction using MasterCard. Is there no wired transfer
I want to replace my original trading account (a live account) with a new account (a demo account) within the same VPS account. How do I go about doing it please
Hi, I have this VWAP indicator that can show Daily, Weekly, and Monthly VWAP lines, but there is a problem, if I switch to the lower timeframe like M1, the indicator is slow to load, especially if the Weekly/Monthly VWAP is enabled. So anyone can help me to improve the code performance on the lower
Hello I would need an indicator to do this simple thing for an daily candle of haiken aishi: the difference in price of X and Y. It should display in a box in mt4. If you have something like this please share. I saw some indicators for regular candles but nothing for haiken aishi. thank you Please
Hello everyone, I'm very keen to start coding EAs for MT4 but because I''m not so much acquainted with the language I decided to follow a tutorial (by the way very good) and after following the instructions I came up with the attached code , but unfortunately I cannot manage to compile it. Lot's of
Is there a way to delete the the content of a file (using the MT4-functions!) without deleting the file: like delete and re-create?
I'm a little stuck on how to link <Deleted> to MT4 account that I use for trading. Previously <Deleted> installed it on my PC and it was linked to an FTMO demo account ... so now when I click the download terminal link, it just goes straight to FTMO demo account. I'm needing instruction of what to
Hello, I want my indicator to execute an order but I know that is only possible by a script or EA. I don't want to use an EA here and therefore the only possibility is to use a script and I read that the only method to execute a script from an indicator is by simulating a hotkey-keystroke which...
I am trying to create an array which has as values the rolling sum of another array. In this case, I am trying to create a new array (CumulativeArray) where each value is a rolling sum of 20 values of Array. Below, I have a snippet of code that I am hoping says the following
[Deleted]
Hello, Do you know any scripts which able to copy from MT4 to etoro? Best

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.