How i am show on comment show special text like : copyright (c) How to write on comment this special test : "(c)"
When I open 1M EURUSD graph on MT4 it uses more then 500MB of RAM. 2 other 1M graphs use only 80MB. Where can be the problem and how can i fix it or why is this happening? Is it problem on brokers side or platform? Thx
Hi all, im new on this forum, and havent metalanguage experience....( i have used metastock and tradestation until now). i found volume analisys very important .....for me its like fuel for a car ;) .... i have written a code in excel who make volume count tick by tick and would like if anyone would
Hi How do you make datetime past = TimeCurrent(); minus 15 minutes?
[Deleted]
Hi, my first post here. I'm very new to trading although i've been in the gambling industry for a long time. I've just started coding with MQL4 and have been testing myself by writing basic functions, etc. I have this code and can't get it to take any trades in strategy tester? Hoping someone is...
The MetaQuotes MT4 setup executable was downloaded and upgraded it to the current beta Build 584. It was indicated by MQ there were would be 21 timeframes available in the new release however all that is visible in this build is the standard 9 timeframes. How do you activate/expose/add the...
[Deleted]
Hi Guys, I want to take an historical price[X] then divide that with the price one day prior to that historical price[X-1] Then multiply factor that with another set price. So: Xfactor= historical price [X] / historical price [X-1] Price = Xfactor * set price. Then I want to project that price on
I am trying to write a EA that stops for a few seconds after the close of every bar. Here is the code, it pauses after the bar close but does not play sound, any help appreciated. Thanks _______________________________________________ extern int secsToPause = 5;int last_time = -1;int init() {...
[Deleted]
I need clarification on the sleep() function. First, suppose I set the sleep function for 10 seconds or Sleep(10000). Does this mean that the ea is suspended for 10 seconds regardless of how many ticks come in on the chart or is the sleep function dependent on ticks coming in to keep a "clock"...
Hi, I did a bit of research this weekend on variations on constant range bars. Google it if you don't know what it is. There's a nice script from MQLservice to do this. It's a commercial script so I can't post it but there's a number of variations non-constant range bars; mostly for Ninjascript...
Hi, i as wondering if there is a way to have an EA start at a certain time of day usig the terminals internal time or the computers time. Please advise if you are aware of any build in function or snippet of code. Cheers ergys
[Deleted]
Hi all, I need some information: If I have one metatrader client terminal e 2 chart (Eurusd and UsdChf)is it possibile attach the same EA on 2 chart?One tick arrives on first chart (Eurusd) and, after a few milliseconds, a tick arrives on the second chart (UsdChf). If the tick on second chart...
Hi How can I check orders that have executed and closed with a loss? I use pending stop orders to enter trades. I want to check closed orders and if they were losers and price is now below my entry price (long eg) I want to place the same pending stop order and give it another go. I would like the...
Hi, can anyone tell me how to do this EM_VOL to work from 1000$ whith same settings as it is, or maby anyone can saky better setting. thanks for hellp. here is EM_VOL EA: https://www.mql5.com/en/code/10778
Hi, I probe this code. .........while(j<10 && (iClose(CurrentSymbol,ServerSyncTimeFrame,2)==0 || GetLastError()==4066)) // call the iClose() function with a shift of 2 to ensure we sample the timeseries in a likely unsynchronized span { j++; // increment the while loop...
How can I get info that the market is closed? IsTradeAllowed( ) is return true in time (weekend)
Hello, I have "alerter4u" indicator for metatrader4. But i need it to do a couple of other tricks so to speak. At the moment it will alert me to any line, trendline,rectangle or anything else i put on my chart. It does this via a popup box. So, very handy! I need to lose the popup box and i want to
Hi Again Just wondering why all the MT4 has a copy file are stored here? AppData\Roaming\MetaQuotes\Terminal\AE2BBC7E65893356A60248680B4C\MQL4\Experts Because when open a file in MT4 for modifying in the compiler, and click save as it wants to save it in the directory above Not in this one where i...
[Deleted]
I think, anyone can trade foreign currency. It does not matter if you are professional or not. And the factors such as the race, religion, nationality and the likes are not big issues as long as you want to do Forex trading and you have the funds to open and sign up a trading account with broker of...
[Deleted]
I manage and hold all my time so the decision on how long I will trade per day depends on me actually. Sometimes, I spend my time in Forex trading for 4-6 hours. There are cases that I do it for more than two hours only. It actually depends on how I like to do it and how I am feeling to do it. How...
[Deleted]
Hi guys, can you help me, please? I don´t know how update this code: https://www.mql5.com/en/code/10428 I need read longer body message than can it this code. Unfortunately I cann´t repair code. Thank you. Endy
I have gathered several indicators and develop this picture, which serves the active traders. If you can develop an Expert he would be grateful
Hi All, I cannot understand why this code not open any order and also it doesn't give any error. Update - I Added the code down on this topic. Thanks A lot.
Hello! I need help with my expert advisor. I want to detect wether previos trade was stoped out by stop loss and what was the opening type (BUY or SELL) of previous order. I need this becaus i don't want to open new trade immidiatly after previous trade was stoped by sl. thanx
[Deleted]
Hi all, Having an issue closing orders . Here is the code for filtering: if (( Hour ()>= 0 && Hour ()<= 4 || Hour ()>= 8 && Hour ()<= 24 )) return ( false ); This is working fine, new trades are not opening. The issue is getting out of the trade. Ie. trade is placed at 7:45am gmt and exit is
[Deleted]
Hello, I've decided to play around with the alligator indicator after having a look at it over the past week or so. I slotted in the parameters for this indicator into a pre-existing EA from Meta-Quotes (which, unmodified, works). The EA opens SELL positions, modifies them appropriately and closes...
[Deleted]
Hi Everyone, I'll apologise first if this is a noobie/already asked question (I've spent all afternoon searching) and as you can see this is my very first post. I'm trying to find an EA that will continuously monitor a chart. If it detects an open trade it will wait until a certain amount of profit...
Hi, I have a quick question. What do the 2 vertical lines mean in metaeditor. Are they just like the "&&: symbol. For example: if((s1[i] < Low[i] && s2[i] < Low[i] && s3[i] < Low[i] && s4[i + 1] > High[i + 1] && s4[i] < Low[i]) || (s1[i] < Low[i] && s2[i] < Low[i] && s3[i + 1] > High[i + 1] &&...
[Deleted]
//+------------------------------------------------------------------+ //| RPoint. mq4 | //| Copyright © 2004, Poul_Trade_Forum | //| Aborigen | //| http://forex.kbpauk.ru/ | //+------------------------------------------------------------------+ #property copyright "Poul Trade Forum"...
[Deleted]
I've been doing some research online about how to back-test properly and I have a few questions: I found some sources that explain how to backtest with tick data, without explaining the need for that very much. Is this really necessary for all strategies? There are other options for the modelling...

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.