How to avoid opening multiple limit orders instead of one at a time? extern double PriceLimit= 3 ; extern int MAPeriod= 7 ; int MagicNumber= 90 ; double BuyGridTrade= 0 ; double SellGridTrade= 0 ; //+------------------------------------------------------------------+ //| Expert tick function
Hi guys, I have a VLINE (vertical line) that I want to obtain the date or shift value. I tried the following functions but to no avail. Please I need your support. Thanks datetime VLineDate = ObjectGet( "My VLine" ,OBJPROP_TIME1); datetime VLineDate = ObjectGetTimeByValue ( 0 , "My VLine"
my demo account made with mt4 is disconnected and I am unable to connect. it displays wrong password, how to reset our password. I do not want to lose my statistics that I have been working on for 1 month, thank you
I'm experiencing something strange. My code is as follows: D1_H0 = iHigh(Symbol(), PERIOD_D1, 0); D1_H1 = iHigh(Symbol(), PERIOD_D1, 1); D1_H2 = iHigh(Symbol(), PERIOD_D1, 2); D1_L0 = iLow (Symbol(), PERIOD_D1, 0); D1_L1 = iLow (Symbol(), PERIOD_D1, 1); D1_L2 = iLow(Symbol(), PERIOD_D1, 2); D1_O1 =
Hello everyone and thank you in advance for your help. I wrote an indicator that, based on the opening and closing conditions of the past bars, creates rectangles in the chart. The indicator works well most of the time and updates correctly on the chart. The problem occurs when I try to change
Hello, I am trying to code my system however after compiling it returns the "not all control paths return a value" and when I double click it shows its in the following block, could someone please point out the problem. Thank you in advance bool CalculateCurrentSellOrders( string symbol) { int
Hi! I'm a new user of MetaQuotes. I learned structure and write simple Expert Advisor whitch work corectly and maketransactions, but I would like test it by tester with different parameters. Andwith it I have problem, the tester make for imposible 100 tests but don't makeany transactions....
Hi everyone, I have started getting 'OrderSend error 130' when trying to use the strategy tester on a piece of code. I am incredibly confused as to why this is happening, as I am running the code live (With the same broker) and have no issues. Similarly, I tried inserting this basic buy signal code...
Hi MQL5 Community, I'm working on a script that involves reading an exchange rate from a file to perform risk calculations before opening trades. Unfortunately, I'm encountering an issue with opening the file and getting the following error: "Failed to open exchange_rate.txt file, Error code = 5002"
Hi All I want to create supply & Demand EA & not indicator. The code below will not show rectangle wicks when there are low/high wicks. The EA will show me the current price in rectangles instead of wicks. If you know the problem, please help. void OnTick () { int i= 0 ; int Top=( int ) MathMax
hey guys this is a simple sup/dem indicator which i try to add alerts to it using rectangle obj count method for watching over newly created zones or any deleted zones sometimes it activates on time and sometimes it wont activate at all or alerts late , what am i doing wrong ? can anyone help me on
//+------------------------------------------------------------------+ //| ZS moving average.mq4 | //| Copyright 2021, MetaQuotes Software Corp. | //| https://www.mql5.com |
i test some EA at my server here is the best combination that i found firebird at usdjpy M30 hans_ea3 at gbpusd H1 note for statements, fxindo-nf3 is my own EA, i have de-activated it. so please ignore it. it made around 180 pips for last week... update : sorry, i've attached wrong statement.... but
Hi everyone, I try to test my strategy on the tester but I have weird ask price (show in the picture 1). They seems to be "too high" compare to the bid price. I've tried both (in the buy function), ask price (see pix2) and market price but the price seems always too much compare to the bid...
I have an MT4 account which runs on algo trading, When ever the EA opens or closes can i get notifications to my mobile. Is there any settings for that. Please guide me. Thanks in advance
Hello everyone, I hope you're all well. I need some help, please! I haven't used MT4 for about three years. So when I attempted to install the latest version, I was greeted with this: So am I expected to buy a proxy server to run MT4 now? If so, why? Or am I missing the point? I can't bypass this
This indicator helps me draw a horizontal line with a label price as desired in long or short and I do like it, but I've tried to find it in MT5 on the web yet haven't found one. - If you have it in MT5, please give me a copy for use. - Please anyone or the author of this indicator help convert it
I recently updated Windows 10 and all the indicators that I purchased and downloaded from the Market stopped working. I reinstalled 3 of them and realized that my activation count is decreasing after each new installation, even though I am using the same PC. I have already reached the activation
can someone help me why when during live account trade, my takeprofit is not moving correctly.. While using the demo account the takeprofit move flawlessly.. Here my code related to the system trade, by the way this using martingale, when more layer are open, the take profit consistently static to
hi am trying to install MT4 in windows 10 but I receive error message as in the attached pic. first I tried to install the broker mt4 platform...then after receiving the error message I downloaded mt4setup.exe from MT4 website ...but both installation package didn't work in windows 10 ... any help
I'm looking for any solution to refresh or update the Expert Advisor programmatically and automatically whenever change the file .ex4. I found a tip to use a GlobalVariables but I do not find any example to do that, by the way, I found this https://book.mql4.com/variables/globals but it does not
Hello, during installation of MT4 on AWS Cloud from Amazon I get "Please specify the proxy server options" . How I can solve this problem? I have MsftWindows Server 2019 with container. thanks in advance
Hi All, I am creating a a simple manual trader with buy and sell buttons but cannot get the buttons to work in the tester. I'm sure there is a secret to this. Anyone that can help?
Hi, Please help me to understand what is going on here. I faced a strange SL behavior in MT4 Strategy Tester when order closes on SL without price even approaching it. Symbol: GOLD Timeframe: 15min Order Time: 21.08.2024 8:00 Order Price: 2509.60 SL: 2517.60 (+800 points) SL triggered on
Hello poeple, I am trying to develop an EA in MQL4, which when backtested shows all the trades in loss even the one that are booked in profit. Please chek the attached screenshot. I tried incresing the profit and even lot size but still am getting the same result. Is this because of strategy tester
this is file :: Indicator Bank | Page 85 | Forex Factory adaptive ZigZag Rsi .mq4 thanks alot
Dear Sir, This indicator is the calculation of "Gauss Standard Score" for simple Momentum indicator, as in "Commodity Channel Index", the only difference is the Momentum calculation instead of simple Price and the Standard Deviation instead of Mean Deviation. I would like to transfer it to MT5 code
I deleted the Metatrader4 file in open data files inside the application inside then uninstalled the application on my macOS big sur. After that i downloaded the ready-made mt4 package from https://www.metatrader4.com/en/trading-platform/help/userguide/install_mac Once installation done, i can't
When I place a manual order / market execution order, there seems to be a delay of almost up to 1 second on this broker. But I have tried other brokers and the execution is almost instant. This same problem persists on my VPS as well as my personal computer. Is this a broker issue? I have emailed my
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.