[Deleted]
my ea have no errors and can trade on live but it is not working on strategy tester why any one experienced can fix it please
hi, I just coded a function for testing my EA by combining different indicators to give me results but my problem is I cannot select individual indicators or combine different indicators to give me results that i want. this function only works on this sequence "ENABLE C1, ENABLE C2, ENABLE BASELINE
Hi Forum, I use the MetaTrader on two Monitors with many small charts. When I maximize one chart, it is stretched over two monitors and I hate that. So my idea was to create a script (which could be executed with a hot key) to stretch the active chart only to one monitor. Unfortunately I didn't find...
Hi, I have been trading for over 5 years, I understand how to trade, and now I want to learn how to code mql4 my own. I want to create a " Stop Loss " function. Example, I have 3 types of Stop Losses: a. Based on last high low of 10 bars (already have code) b. based on the last candle hi/low c
Hi pals, I know if I open an order by EA, it is recognizable. But what about if I open orders by a one time script with a random delay ? Let's say I want open 100 pending orders by running the script each one 50 ticks above last one
Guys I have Mt5 on my system but anytime i install mt4 only it opens in mt5. any help in this regard
Please I am building an ea that uses martingale, I want to know a loss trade loss in pips whether the trade is closed before hitting SL or it close hitting SL all I want is to get the loss in pips which the next trade TP will be that loss trade pips. So even if next trade loss or any amount of trade
I don't want my EA to trade during SWAP period. It is ridiculously to trade at swap time as Spread can be as wide as a six lane express way. How can I use time to tell my EA to jump swap period say 10 minutes before and 10 minutes after swap time. A small sample code will be appreciated. Did I say
I am completely stumped and would welcome any ideas. The below code is part of a larger and fairly complex logical sequence, but because of the printing I can see that the logical structure is functioning properly. However the OrderModify function is generating error 3. Is it not correct to use
I have already logged in, and trying to install an indictor. But it seems that either there is a bug that it won't show my purchased tab. Also tried to click any free indications on the Download button but still not working
I am looking to run 3-4 different EA's in one instance of MT4 and on multiple pairs simultaneously on my VPS, is there any issue with this? I am using a VPS with latency of 2ms and 2 cores. Thank you
Introduction Hello MQL5 Community, I am here to share a small amount of knowledge with anyone who may find it useful. Below, you will find a large list of code snippets that can be used to make your first EA! 90% of this has been sourced from online blogs, here in the forum, or the MQL4...
hi i am serching for script or ea to set an automatic sl and tp example : i opened trade on eur/usd on : 1.20000 i want the script to set sl on 1.19950 and tp on 1.20050 without any move from me and in few seconds to avoid price change . can any one help me please
Help! I have the Optimzation results of a partial run 'stuck' taking up the entire MT4 window/page. I can minimize and show it again when I use Ctrl-T. When it is minimized I can show the journals, market watch and navigator and the open charts. Even with all of these open and showing, when I bring...
Hello. Can someone please advise me what would be the shortcut key for Pause/Break Pause strategy tester? I use visual mode for testing and I have EA to pause when ever I it trades, And find it very troublesome to click everytime I need to restart. I have been searching for more than 3 days but...
Hi everyone, I'm creating trading panel and is working fine on live trading. I'm looking for a solution so I can use the panel through testing strategies and it is not possible except of one particular option I saw is to signal to OnTick. The problem is that I'm using alot of classes and creating
[Deleted]
These do'nt work anymore on Interbank platform 216 can anyone help?
Which of the two blocks of code is correct? for ( int i= 0 ; i <= OrdersTotal ()- 1 ; i++) { bool Select = OrderSelect (i, SELECT_BY_POS, MODE_TRADES); ) and this for ( int i= 1 ; i <= OrdersTotal (); i++) { bool Select = OrderSelect (i, SELECT_BY_POS, MODE_TRADES); ) In
Anybody have any idea how this MT4 indicator work? Is there same similar for MT5 ? <ex4 file deleted>
good morning and sorry for the writing errors: I use an online translator I have big problems with my CHEAP VPS. It is a very cheap VPS (7 euros per month) when I connect with the VPS, my MT4 inside it is very slow, does not respond to inputs and you can not "pull" (enlarge) the windows. It is
Hello, around one year ago I could make an EA work on an offline chart. But now I see it's not working anymore. After checking I see there is no tick data coming on the offline chart to trigger the EA to run start() function or onTick() function. Maybe this feature has been changed since the...
Hello. When I open MT4 with my default profile (about 10 charts with custom indicators) it does not connect. Sometimes it shows servers and pings, but still no connection. The only way it works is that I go to another profile with 1 chart, no custom indicator, and restart MT4, then it connects
How do you measure the angle in degrees from the last bar's close to the close n bars ago? And no, the angle does not change if you zoom out, because zooming out does not mean changing the length of a unit, it only changes the perspective, it's like when you draw a triangle on a sheet of paper and...
Hello there; I have a problem which is about heiken ashi system. I am using the indicator given in the code below, but when I run the indicator, when I go back more than 2 months, the indicator does not show. Is there anyone who can help? thanks
Please can anyone remove the object box permanently from this indicator as it is in way of the candles. The box says ACC-ON, can this be removed please.. <ex4 file deleted>
Due to my computer is crashed often, I have copied my MT4 file package from my old computer(program Files x86/ MetaTrader) to a new computer (program Files x86/ MetaTrader). I also copy the MetaQuotes file (from User/AppData/Roaming/MetaQuotes) and paste into new computer as well. But I found that
Hi everyone I'm trying to get the last 2 price of zigzag and the direction which the zigzag drawn. This is the code: double pZZ1= 0 ,pZZ2= 0 ; int ZigZagPattern() { int result= 0 ; int cnt= 0 ; for ( int i= 0 ; i< Bars ; i++) { double pZZ=zigzag(i); if (pZZ== 0 )
Keeping things simple, I have an MQL4 program that sends a daily report email. Some days the email will send, other days I get two "Mail: login to smtp.gmail.com:465 failed" in the journal. On the days it fails, I click the "Test" button in the Email tab under Options and it then sends the email it
[Deleted]
Hello, Using EA, can i open an html file with a browser. If some some one know please let me know. Thanks,
Help me please. Exhausted. On many forums, just freeze and do not answer. These tools are very much needed. The script converts monthly candles (the number of candles can be a maximum of 120 monthly units in 1 candle). The indicator works on all periods except М1 (lines are not visible). Also

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.