MQL4 and MetaTrader 4 - page 31

[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
When Im config my MT4, setting up with VisionScalper, (Broker is Vantage) I get this: "Invalid subscription, Please check again" and an another line says: Your MT4 account is not registered, Please contact support
Hi. I have a simple question. Can I include a bat file like this? #resource "\\Files\\httprequest.bat" I compiled a source file with the code above, but I got this message. unknown resource type '\MQL4\Files\httprequest.bat' HTTP.mq4 Actually, I can do HTTP request in other ways. I just would like
Hey, I would like to know how to write code that can count the signals generated by an existing indicator and assess its performance in the market. I'm considering the option of creating either an Expert Advisor (EA) or a custom indicator for this purpose. Regards, Shivakumar
how to a make a hours and days trading for an expert ?? please write full code for me in mql4
  VPS Question*  (9)
Hi All, I have successfully migrated my MT4 and EA to the MQL VPS....It has placed a couple of trades. But now and then in my MT4 I get the error message "Trade operations not allowed by settings".... I understand that when you migrate to the VPS the 'Auto Trading' button gets turned off in my MT4
When I open a trade with the OrderSend() command, there is the basic command to perform the stop loss. In general I insert either a classic stop loss like: "Ask+100*_Point", or through a variable that I would have previously defined via the "extern int" command. Now i would like to go further and