MQL4 and MetaTrader 4 - page 35

Hi I understand the max terminals for MT4 per user is 32. The server I run is very powerful and can easy run 100+ optimised terminals across multiple users without too much issue. The question, will running 150+ terminals of the same EA across 7 users (max theoretical 224) cause any issues like
Hey gang. I've been struggling for a couple hours to figure out why iCustom in my EA isn't pulling data from an indicator I just coded up. The indi is working properly on my charts, but within the EA it's only outputting a value of 0 no matter which buffer I try to access. I've tried different
I need to access my account using investor password, connecting directly to my broker's servers via a non-MQL4 programming language ( it will be done externally, Metatrader 4 is not involved ). Is there any kind of documentation on how to connect and read data from my account? Thank you
I am trying to compare two double numbers to try and determine where I need to draw my fib. I get a price variable from the larger timeframe and then scale down to the 30 min to find the candle I was looking at on the larger timeframe. I am determining the candle by comparing the high and or low of
I have a lot of charts on my terminal and each chart has a lot of objects like trendlines and channels. I get very tired of double clicking each object to select it, right clicking it and then selecting Object Properties to bring up the Object Properties dialog box, every time I want to change...
Hi I generated simple EA code in MQl4 to display arrows (up and down) at MA Crossover. Parameters for MAs (Fast and Slow) are set in menu as are arrow specifications (width, color, etc.). For reasons that baffle me, my code compiles without error but doesn't seem to work: Arrows are not drawn on
[Deleted]
  Trailing Bar Entry EA  (28   1 2 3)
Hello, I have written an EA that trails one bar high or low and opens 2 positions. After that, it should halt and do nothing more. I have backtested and forward tested it and it seems to do the job. This is my first coding attempt in mql4, and I'm not an experienced programmer by any means. So, I...
In mt4 I can download a lot of pairs but not all show in the symbol drop down box of the strategy tester. Is it not possible to back test these pairs?
Hello, I would like to receive a notification when any expert displays an error, example : 2023.09.05 03:14:25.344 FX Blue - TradeCopy Sender EURUSD,M15: cannot set millisecond timer (100) or : 2023.09.05 10:25:50.553 XXXX MT4 V1 GBPUSD,M5: cannot set timer (5) or 2023.09.05 10:26:42.584 'XXXX MT4
Hi I am trying to write a very simple ea(with mql4) after about 8 years and it seems that I have severe problem and I should call myself a newbie again. while testing the first part, I am facing "Unexpected Token" ERROR, I tried to find any missing ";" or parenthesis or any reserved word but I...
Hi guys i see the start profiling on real data after this when i stop i have some bar green and blue , anyone have documentation about it how can interpret this ? i saw in metatrader editor the tab profile i open and i saw what is stressed i attach a foto but iOpen is stress the platform, but how
  there are no trading operations  (64   1 2 3 4 5 6 7)
I test me EA on my own broker it works okay. But when I send in for validation I get the following : test on EURUSD,H1 there are no trading operations test on NZDUSD,H1 there are no trading operations test on GBPUSDcheck,M30 there are no trading operations test on XAUUSDcheck,Daily there are no...
Hi is possible in the MetaEditor run a program step by step for look where is the problem ?? thanks
Can anyone help write a mt4 script which continuously monitor the profits and when profits hit +100 or other value, it will automatically close open orders. Or I have already a good working close open order script the problem is how to integrate it with the a continously monitor the profit
Hi guy i have one array with 10 record but the first and last is empty i want remove this record how possible to do that ? i have crete this code but return array overflow therefore i think i have some mistake void _CleanArrayIFsomeEmpty( string & Arry[]) { string newSymbols[]; // Il nuovo
I wrote an EA that is running perfectly on a demo MT4 account. When I copied it to a live MT4 account, I get an error message 131 - Invalid Trade Volume. The demo account is running under Windows 11 on a Microsoft Surface and the live account is running under Windows 10 on a Dell. I have checked
Hello everyone. I have this line in my code : In my folder, i have : And i have this error : What is the problem of my file please ? Thank you. Hugo
I want know how to modify my open orders,whether buy or sell order. i have an EA that trades for me and i make use of Buy() and Sell() function to enter my trades So i want to know how to identify each order and modify it, for example if i make a buy order where price = 1.5, SL = 1.2 and TP = 2.0. i
[Deleted]
These logs appeared at the same time. Experts tab 2023.09.05 06:05:01.380 [product name] EURUSD,Daily: Error: 0 Journal tab 2023.09.05 06:05:01.380 '******1': order sell 0.01 EURUSD opening at 1.07890 sl: 0.00000 tp: 0.00000 failed [ Trade is disabled ] I tried to use an EA( [product name] ). But
hi..im new to MT4...im looking tools or indicator to display Higher TF as a line chart on lower TF..fo r example 4H as line chart on 15m as candlestick..is it possible to do that on MT4
  iMA (mql4)  (14   1 2)
In the shown pic above, Please let us know what is the difference between the (int ma_shift) in the center of function inputs & (int shift) in the last of function inputs ... iMA (Symbol(), PERIOD_D1, 14, 0, MODE_SMA, PRICE_CLOSE, 0);
Okay, so I downloaded MT4 (Android) and connected it to my ***** brokerage account, There are No issues there. I downloaded the MT4 desktop version and it does not allow me to open a real account for live trading because it requires additional proof of identity. Where can I go to upload my proof of
// Define the size of the array #define ARRAY_SIZE 10 int main() { int myArray[ARRAY_SIZE]; // Declare an integer array with 10 elements // Initialize the array elements for ( int i = 0 ; i < ARRAY_SIZE; i++) { myArray[i] = i * 2 ; } // Attempt to access an element
Hello. I'm sorry for my English. Can someone help me? I'm new to this, and I'm trying to get the number of bullish and bearish bars forming up to a distance of N bars. I'm doing it like this, but it counts the bars that are before the trade itself, the ones that have already formed. I'm trying to
in the MT4 logs i read the error "send request failed [1753]" Does anybody know what it means
  Virtual hosting  (8)
Hello dears I have an issue with vps when i rent it it was mentioned that will be in London with 0.56ms But mt4 connected to Amsterdam with 16.8ms So please how can i connect to the vps that I rented in London with 0.56ms ! Thanks
[Deleted]
Hi I've been trying for weeks to install MT4 on my Windows 8 laptop but cannot get it to work. I've downloaded the mt4setup.exe file from Axitrader and 1 or 2 other brokers but when trying to install it hangs when trying to download the files. I've tried running as Administrator, changed...
  Implement StochasticRSI  (12   1 2)
Hello MQL4 Community, I hope everyone is doing well. I am currently working on an automated trading strategy and need some assistance in modifying my existing MQL4 code. Specifically, I would like to create a Stochastic RSI indicator similar to the one available on TradingView. Here's a brief
Is there any good Samaritan with a big heart who can help me with how to do this? The image speaks for a thousand words, but what I need is that when I open a position, in this case, Sell, if the price moves in favor, it should count the bearish bars. However, if a bullish bar appears, it should