in indicator_separate_window , DRAW_HISTOGRAM use 0 as base to draw HISTOGRAM. in indicator_chart_window, DRAW_HISTOGRAM use another buffer as base to draw HISTOGRAM. how to draw candle chart in indicator_separate_window like it in indicator_chart_window? And how to code in codes to receive same...
l make anCustom indicators, and want to depose it in the main Separate window with the form of candles ,so l could analysis this indicator like currency pairs , do anyone know how to achieve it ? for example, l want to transform RSL into k candles and make it show in the main Separate...
Discussing the use of artificial intelligence in trading strategies in general and my Expert Advisor in particular which code can be downloaded HERE . The backtest results are on the screenshot below. It takes a long time to optimise the Expert Advisor and only with the use of genetic algorithms
[Deleted]
Can anyone suggest some code that able to open a new pending order once the existing pending order been trigger ? and put the current count of total open order into the magic number of this newly open pending order ? I assume this will need to check on every tick, so thinking to avoid using...
[Deleted]
Here are my EA's can some add the code to close automatically? Please?
[Deleted]
Today 1st of September, i realized all my account history are deleted. All my previous trade records were deleted. Previously also had same problem. Is it every beginning of the month, it will be deleted? Im trading using demo account Please help
[Deleted]
This code has worked flawlessly for me up until testing it in MT4 build 600, where it no longer verifies accounts from my server. bool bWinInetDebug = false ; string errorMsg; int hSession_IEType; int hSession_Direct; int Internet_Open_Type_Preconfig = 0 ; int Internet_Open_Type_Direct = 1 ; int
[Deleted]
HI, i am having issues updating different MTMs from Build 840 to 971, the platform simply says "old version", no auto-update ever pops up. I work for an IB, we use about 50 different MTMs on a daily basis. Several of us are having this issue. We realize that reinstalling everything would fix the...
Hello everybody, i'm french and i am a beginner, i wrote a program and i need help with an error that i don't understand: int main () { datetime start_time="20:00:00"; datetime stop_time="05:00:00"; MqlRates rates[]; int copied=CopyRates(NULL,0, start_time,stop_time,rates); if(copied<=0)...
[Deleted]
Greetings! : ) I know there has been a few postings asking how to speed up backtesting an EA in MT4. I have searched through this forum and others to see what solutions there might be. I have not found any good solutions. However if I missed something please let me know. Most of the posts...
[Deleted]
Hi, I have been searching the internet for a couple of days now but can not find a answer to my question so I hope someone here can help me. I want tok change the PROFIT colours in the TRADE tab. Everything is grey now but I want to change when in profit to turn green and when in loss to turn...
Hey everyone, I have just decided to go with a hosted server . Everything has been set up, I'm just yet to close my local MT4 client and login to the server's! I currently have a few strategies running, and there are a minimum of 3 open positions at any given time. My question is, will the servers
Hi all I am running the below code in an EA, the idea is to copy the pattern created inside the bot as a comment on my order. But I get the above error. What have I done wrong? //Specification Engine Rule 1 if(currentboxhigh>prev1high && currentboxlow<prev1low) CurrentBoxType=1001;...
Is there any way to find a MT4 account is a Individual or Master Account.?
[Deleted]
Is it possible to fetch the value from the following CSV format API call so that it can be compared against another number within a script? <Removed> Only one value will be fetched from the API call (due to the rows=1 parameter ), which will then be compared against another manually entered number
Hi All, Hoping this is a really quick fix. I've been teaching myself the MQL4 trading language and having followed a couple of examples successfully, I decided to start building from scratch. I've written a much longer code than the one below, but the problem I've had is that none of the trades...
Hi, When therequirements and limitations (https://book.mql4.com/appendix/limits)are checked in MT4? When the OrderSend is executed in MetaEditor orwhen the pending order actually becomes a BUY or SELL order? This has to do whenyou set a SL/TP in a pending OrderSend taking into account thecurrent...
[Deleted]
I need assistance with a custom function to control pending orders. My EA works around placing one pending buy stop order above price and one pending sell stop below price. I have managed to limit the total amount of pending orders to 2 however in some cases the EA would place 2 buy stop orders...
How to draw a horizontal line on a MT4 chart without taking quotes into account? So the markets can move but the line stays at same height. I want to make a scatter plot within a MT4 chart and this should stay fixed on the chart, not move with the quotes. By using this code it moves with the...
Hello, I need to find or develop an Indicator that tells the previous candlestick is OHLC or OLHC. Can any Coder help? will appreciate,
[Deleted]
Hello my friends. I would love to be able to trade directly from Excel 2007 (connected to MT4). What I would like is a column in Excel for each of these information to send to MT4: Date and time, OrderLots, Symbol, Action, Price, SL, TP, Close. Date and time: date and time of order; OrderLots: Lot...
Hey Guys, I'm programming actually a EA. I need to visualize a specified area and I want to do this with the rectangle. But the problem is: In the initialized is the specified area right. But if I change the timeframe to e.g. M15 the rectangle doesn't appear right... - Why is that so? Everything...
[Deleted]
Hi! Is there a way to get/set the default background color of a chart in mql4? Thank you!
Hello, I need help to solve an error in my code ; double rates[]; datetime start_time="20:00:00"; datetime stop_time="05:00:00"; int CopyRates( string symbol_name, // symbol name ENUM_TIMEFRAMES PERIOD_M15, // period datetime start_time, // start...
So my friend and I created an EA that is profitable and its sends a ton of pending orders and opens a ton of orders. We were told we were opening as much as 100 orders a minute. We need to know what the maximum order send/ open limit is so that we can run this without them shutting us down....
[Deleted]
[Deleted]
Hi, this is my first post and my first MQL4 project - writing code for the %B indicator. I've used a combination of copy/paste and reading both the online book, articles & a Metatrader book to write my first code. I hope I've understood buffers and most things correctly. The compiler says there's...
Hi fellow traders, Do you guys know how to fix this time issue? There is 2 hours difference from settings in actual chart. I want the blue box to start from beginning of the day at 00:00. Thanks a lot
[Deleted]
Hi! I have an indicator (and a EA) which reads a relatively large set of data from an external *.txt file in the "\MetaTrader 4\MQL4\Files" directory using FileOpen. Everything is working correctly, but I would like to ask if there is the possibility to include this set of data into the ex4 produced...
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.