Hello I use a number of EAs which have been generated using software for non programmers. A feature of this software is that all outputted EAs are coded to only trade one at a time, instead of trading all potential set ups. I am not a programmer but I imagine the code instructing the EA to only
Hi Everyone! I'm trying to make my EA checking order exist or not by order's ticket as the code below: bool orderexist = false ; // Global variable bool BotStatus = true ; // Global variable void OnTick () { if (BotStatus) { if (CheckOrderExist( "orders.csv" , 351851389 )) printf
Hi fellow members/experts Is there a way i can get back my previous mt4 terminal setting (opened charts) A while ago terminal was working fine with all opened charts (including all indicators applied on) but due to power failure when restarted all gone blank even not a single chart,means removed all
HELLO How can I add an ARROW when the price breakout the hidhest asian session and the lowest? this is my code but it does not work well, it shows many ARROW #property copyright "test" #property link "" #property indicator_chart_window #property indicator_buffers 2 #property indicator_color1
A list of programmers who are great at writing pay-for-performance codes and don't screw around
(452 1 2 3 4 5 ... 45 46)
Reading through the various threads on the forum, the idea for such a list was suggested . Number one on my list is Satop! Everyone who wants to have their own EA, I guarantee that your wishes will be granted. I also propose to do a vote among the pros to add to the white list of pros people from
Can anyone advise how to make input parameters by iCustom? Please see the attached picture. Is this correct? double indicator = iCustom(NULL,0,"indicator name",0,"Alert name",false,false,false,false,"alert.wav",0,1);
Hello I am trying to read the text from the chart but there is something wrong The Arrow indicator draw arrows and also draw a text on the candle which has the arrow , i am trying to read that text on the arrow candle but i have been struggling for last 3 hours and couldn't get it to work for some
[Deleted]
I had a bug in my code and when I used the bugged indicator, it froze my laptop. I restarted the computer and fixed the bug but I am unable to open up the mt4 terminal but I can open up all other apps on my laptop. How do I get mt4 terminal to open again?
Hi all I have a problem that I struggle with for the last two days with my trailing stop - it's not working and I can't figure why. I'll appreciate any help, PLEASE. This is my trailing stop code part : extern bool Use_TrailingStop= true ; extern double StartTrailingAt=
I was trying some code in the MQL4 backtesting application. This code will not be ran outside of this "backtesting." Within this code I am using several ArrayResize calls with a large 'new_size' values. I am not using multiple ArrayResize calls because there are many cases where the arrays' size
Hi If you want a constant look back like MA it's writing is simple by: limit= rates_total - 1 - MathMax (prev_calculated, lookback) But i need a variable look back that is calulated in the last OnCalulate run. I tried two strategies: 1. Defining a variable look back using "While" instead of "For"
I know when you are creating a custom indicator , you can create a truly dynamic array to operate as a buffer where you are don't ever have to state its size. I was wondering if the same this is possible when creating EAs, currently I get the obvious out of range error with the code below. Example
Hi, I'm trying to write an indicator to be a quick note on the chart, which do the following - Clickable buttons which change color after clicking - The latest selected or deselected color will continue across all timeframe, and then clicking changing timeframe on the chart - The button color
I have found a divergence indicator which i would like to code into an EA, which buys when a green arrow appears and sells when a red arrow appears. The arrows both have buffer numbers, but when i run a simple EA that prints the buffer values at each candle, the value is always 2147483647.0 whether
Hi I am running some MT4 / EA on a VPS. I have worked perfectly, but I always feel hat I need a killswitch or similar to it if the VPS provider have problems.. So, what if I cant access my VPS, are there any way to by local access to the MT4 account kill all automatic trading? I did try to just
I'm a beginner in MQL4, I just want to ask if the code I've written is correct - or is there a better way to write it. It's working well as expected on backtests, but things go wrong when I try it on a demo bot with multiple charts. I want to get info about the last order's price of the same chart
hello friends is that I am doing a code if it is compiled but when I go to do the backtesting it says error order Send error 130 what can I do //+------------------------------------------------------------------+ //| Inversor Cristiano.mq4 | //|
Hi I am very new to MT4 and would like to learn in details. I have three chart windows open, each chart with different time frame. I would like to synchronize all these three charts. So When I draw any indicator or trade line in one chart, I would like to appear on other two charts. Please can you...
For some reason the MetaEditor only looks good reset to default. I can set the backcolor like Moccasin and be off~ but it just doesn't do very well on the eyes unless it is black and you can set it high contrast white and black but it doesn't help any at all and then it dawned on me that I must not
I understand that such feature is available in cpp, because the `.h` file and `.cpp` file can be separate and it's to make sure when you include a `.h` file you don't recreate the functions again. but I didn't see any explanation about why in MQL also we need to separate the function implemenation
I have a certain block of code in OnInit() function which I only want to execute once everytime the indicator is attached to the chart, but I dont want it to be executed when the timeframe is changed , so it there a way to accomplish this
[Deleted]
Hi can somebody tell me how i calculate the profit in pips in the history trades?because i wrote this but when i check the profit is 110$ and it show 0.0473.? <CODE REMOVED>
Hi I tried to make an indicator that shows MACD trend. Can anyone tell me why MACD_trend function is not working? #include <Ehsan\\Objects.mqh> #property indicator_chart_window #property strict #property indicator_buffers 6 //----------------------------------------------------------------------[
Hello, I have been trying to develop the scalping algorithm (with some 5 - 10 pips SL & TP) and i have encountered with the drastic change in the algorithm behaviour: I ran the back-test on 3 moths period, from 01.04.2021 to 30.06.2021 and it threw out this kind of lose/profit pattern -->>
Hello, I am trying to close my trades based on 2 separate types of criteria, 1. Regardless of what the profit is, close the trade after 1020 seconds. 2. If my import value changes from -1 to 1 or vice versa, close it regardless of any other variables. So far, my code works fine with 1 criteria
Hi folks, I am new to mt4 and am aware that I can place multiple trades on the same pair. However, when I try clicking on either buy or sell multiple times it seems as if I'm not allowed. Could this be a setup issue? I'm also aware of "group trades" but I'm not interested in that, really I just want
My code below is running into error 5008 and from my understanding it's because I'm not closing the csv file after reading it? However I have closed it but don't seem to figure out why this is popping up. My files are in the MQL4/Files folder so my file path is correct. Can someone please tell me
i want to convert this MQ4 indicator to Pine script indicator so that i can use it in trading view need support
hi guys , i wanted programing a expert that do trade after close the current open order, but it some times dont work, do u have any idea whats the problem? as u see it opens many trades in same time,but not before 15:18
Hello Traders I tried connecting my mt4 for email alert notification using Amazon Vps to automate 24/7. After entering all the parameters using: SMTP server: smtp.gmail.com / also switched by using port 465/25 and co SMTP login: my email Password: ******* From: my email To: my email I keep getting

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.