MQL4 and MetaTrader 4 - page 19

Hi all, I'm not a programmer and trying to do something - this can be easy for you. So, apologize firstly. I need to limit my trades. I've used OrdersTotal() function but there seems like a problem. It does not work properly and EA keeps going to open new positions. Can you guys help to check and
Hello Everyone ! I'am trying to compile an EA on my computer, running python. I have this. can somebody help? //+------------------------------------------------------------------+ //| Timer function |
Hello everyone I developed an indicator that detects clouds with up to 17 candles and displays a buy or sell indicator on the chart if found. When I compile this indicator it works fine, but when a new candle appears the loop doesn't work. please guide me. Thanks
Hi all I would like to ask you if there is a way in mql4 to disable autotrading from code
Hi, I'm looking to upload Statement.htm using the following FTP guide : https://www.metatrader4.com/en/trading-platform/help/setup/setup_publisher But, of course, I cannot upload over FTP, I want (and I can say "I must") upload over encrypted connexion. I do not understand how to do. Can someone
Hello, I have a EA script for max drawdown, it will automaticly close all positions after drawdown is reached. But I need to close all the positions and also turn off auto Trading. Is it possible? Can someone please modify my script to also turn the auto trading off? Thank all of you File extension
Closing opposing positions in MT4 There was definitely such a function before. Now in the latest version of build 1401 there is no such function at all? There is only market execution pending order change order Or should I do it differently now??? Auto-translation applied by moderator
I'm looking for an adjustable MT4 scalper machine for indices and forex that automatically converts the stop loss protection into a trailing stop with an adjustable different step size when I win. Can anyone give me advice on where I can find one
Hey, I just checked my MT4 terminals and I was forced to update to 1401, however now all of my EAs and backtests don't work on any currency. Is there a way I can use older terminal like 1380 without getting forced to update by the broker? I used it until now and it was working perfectly, when I try
Hello have this function working our perfectly but I want to do some modification on it. Currently when EA has successive number of losses for instance 2 and from the input variable the n_op(number of operation is 3),the EA will increase the lot of the third trade together with the tp by a certain
Hi, since a few days I can't use MT4 anymore. The journal sais the version is too old. When I get the latest version from https://www.metatrader4.com/ and install it, the terminal64.exe is MT5 🤯 There is not terminal.exe or terminal64.exe running MT4 anymore? Is MT4 dead
Hi all: having trouble when trying to allow web requests for EAs. Under "Tools/Options/Expert Advisors", I expect to be able to set up a list as in the first attached picture . Instead, after I press the "+" button in the box and enter the desired URL then press Enter, the URL I entered is cleared
Hello everyone, As you know, OnTick() method will get triggered with any new tick gets pushed from the market. Sometimes, there will be only one tick a second, sometimes it can get as high as hundred. This becomes a problem when running multiple terminals on the same computer. Is there any way to
Can someone please advise me how to insert cash flow.mq4 into MT4. It emits a beep sound when an EA trade is entered. Thank you very much in advance
Specifically the inability to paste. 1, the file properties are fine. 2, Indicator property is fine. 3, uninstalled and reinstalled, refreshed, shutdown and restarted all tried 4, macOS is the latest version, MT4 is the latest version. No matter what, I can't get the paste to work, including
  about news filter  (11   1 2)
//+------------------------------------------------------------------+ //| news.mq4 | //| Copyright © 2016 Tor | //| http://einvestor.ru |
  Planetary cycles  (2)
Hi guys Does anyone have a planetary cycle indicator, I mean the graphs of the planets that the indicator plots on the chart on the MetaTrader 4 platform Example as in the picture م
  Leverage for each symbol  (38   1 2 3 4)
I know it isn't a new problem but with new ESMA rules (about leverages) it became "interesting" for me. Generally now we have a different leverage for each symbol. But I know only the function AccountLeverage() (or with the same result AccountInfoInteger(ACCOUNT_LEVERAGE) ) that provides something...
Heloo I Can't publish my product ex4 , (Strategy tester report not found) even when try upload previous product (that already pass in past) please fix it
  mt4 1380 build  (8)
Hi guys i use Mt4 1380 build i do not want to upgrade the Mt4 i now get a connection error is the 1380 build not in use at all
  Ema Cross!  (859   1 2 3 4 5 ... 85 86)
Hi folks, Could somebody tell me what does he think about this simple EA? It works good in metatrader back tester . Note : The back testing optimized for the maximum accuracy results
could someone help me to download history of BTCUSD from 2016 till now please? cannot find it anywhere, all MT4s are limited, nobody has full history or where to buy
Please house, I need any help with a code snippet for blinking text in mt4 I have this graphical display board that shows so many signals for multiple currencies and timeframe. I want the arrow of new incoming signal to blink for 20 seconds using OnTimer() so I can recognize new arrow that is
void OnTradeTransaction ( const MqlTradeTransaction & trans, const MqlTradeRequest & request, const MqlTradeResult & result) { ENUM_TRADE_TRANSACTION_TYPE type=trans.type; if (type== TRADE_TRANSACTION_DEAL_ADD ) { if ( HistoryDealSelect (trans.deal))
//------------------------------------------------------------------ #property copyright "Copyright Harry 2023." #property link "" #property description "Harry" //------------------------------------------------------------------ #property indicator_separate_window #property indicator_buffers
Hi there This is my 1st time on this Forum. I have a problem with changing the colors of the Trendline in the Strategy Tester output. The Trendline colors are Red and Blue. I'm trying to change the blue to Aqua as I'm blind to Blue. This script works but changes ALL the lines to Aqua. I'm trying to
on Sunday today 31st December 2023, I tried to scan the server and open my logon details ... So anybody could help me how to solve this issue. I contacted broker support. Post edited by moderator to remove broker references
When I download history data in form of csv file. All value in Volume column are zero after I import that file to the History Center in MT4 it can show volume. What is the formula they using for calculating the volume from OHLC data
Hi, I would like to include some images as Logo on the panel of my MT4 EA. I want the image to be included in the compiled file so that the customer can have it on their chart when using the EA How can i do that please ? Thanks for your answers
hello every one, I devised indicator that updated every tick but recently it stopped updated every tick , it is mql4, please help resolve this problem