I would like to use argoguardian with my EA as an stop when DD hits 30%. I use metaquotes VPS. I know i can sync the EA to my vps but when i add an indicator (argoguardian) will the indicator work as usual or
I don't know why after performing Back Test (with Tick Data) then clicking "Open Chart", chart is showing incorrect information suddenly. What is the root cause and how to resolve it? Thanks. FYI, here is my history center information
Hi could anybody advise me what to do. I have a special panel in expert advisers which when activated it shows in the left part of the chart...at least it did until now. And now when I let say open a new chart-forex pair and click on panel in expert adviser only the smiling emoji comes on in the top
Hello, Is there anyway to get my custom indicator to appear on the chart on the Mac OSX version of MT4? I have successfully installed it in the indicators folder, and can change the settings of the indicator. However, even though it shows as attached to the chart under "Charts, Indicators List" it
[Deleted]
Hello, I have 2 issues. Please advise- 1) The DDE sample does not seem to get updated. Any ideas? 2) I am planning to use a third party application to get the data from MT4 into that application. What should be the DDE Server Name and topic name? I tried MT4 as server name but its erroring out. What...
Good luck to all my friends. When I run the strategy test on mt4 HTS, the test speed gradually slows down. I would like to know how to proceed with the test while keeping the speed normal
Hi all! As explained in the subject, I am having difficulties calculating the average pip per bar for only the London and NY trading sessions. Here's a summary of what I did, lest my code doesn't make sense to some of you: I first created an array, inputting every bar that is within the London and
TRADING AND CODING IN MT4. I have created an ea that I plan to add to 5 or more chart and symbols, and the lot size is based on Free Margin, so every time a signal is detected, the ea will check the free margin until it is acceptable amount, and then open a trade, but this may check continuously for
Hi everyone, this is my first time creating custom indicator. Here's my code: //+------------------------------------------------------------------+ //| MASlope.mq4 | //| EzraLuandre | //|
Hi friends, I saw Mr Raimund Bauer's youtube video which he use moving average as a stoploss. I tried to use 29 and 30 period moving average as a stoploss. Buy is working but Sell is not . While searched to forum and see Mr. Watfords post at https://www.mql5.com/en/forum/146076 but still doesnt
Hi, I need help please. I want to convert this mql5 indicator to mql4 but i don't know how to do
Hello, can MQL4 programs also be compiled in batch mode? Dobrek
Hello Why are there some differences between iRSI result and it's indicator where all parameters are same ? of course I have same issue with other i-Functions specially iCustom Thanks in advanced Indicator Code lengthRSI=14;OnCalculate(...){ for(int i=(rates_total-prev_calculated-1);i>=0;i--)...
Hello, I am very new to mql4 so go easy on me. I recently downloaded an indicator and am currently trying to call said indicator from an expert advisor. I'm pretty sure I need to be using the iCustom function however, I can't figure out how to read the code for the indicator to find out how to
Strategy tester says that it cannot open the custom indicator file that I use in my EA for entry signals.. please help
How can a bars in calculation be set by a user input as well as all bars so that it doesn't count all bars each time? Example, we have an input for bars in calculation which if set for 0 meant to calculate all bars. Input int BarsInCalc= 1000 ; //Bars In Calc; 0:All I think I have the right idea
Good day, I am trying to write a code that counts the number of trades that have been opened in a new trend. That is, if there is a trend (e.g. MA1 > MA2) the EA opens trades until the set number is reached, and then it stops and waits until there is a new trend. Then it starts counting again from
Hello everyone. I am creating a scanner. When my scanner call customer indicator for every symbol. then my terminal will hang. I don't know how my scanner indicator will work with terminal hang.. please suggest . I am using 160 symbol in one scanner. And call custom indicator. Please suggest me
Does anyone have a way to run mutiple terminals ( for backtesting ) Sandboxie works but my Tick data man. doesn't show up in the strategy tester
Hi all, still new to this mql language and I came a across a very weird error and need a little guidance. For division of double numbers such as: 5.0/100 = 0.05 6.0/100 = 0.06 7.0/100 = 0.07000000000000001 I got no idea why when I divide 7.0/100 I got that result when its suppose to be 0.07. Is it
<removed> Hello I am new to MQL4 anda trying to write the indicator above which is on tradingview, I dont have any errors but I cant plot any lines. Could you help me, what's wrong
Hello, I am trying to get my open orders to close based on the ticket number but my positions do not close in the strategy tester. I have attached my code below. Any help will be greatly appreciated. Thank you. <removed>
Hi guys,I can't find maximum deviation checkbox in my order window mt5.I upload two picture one from my mt5 and one from a tutorial video,as you can see they aren't the same.Anyone could help me
Hello, I have been trying to optimise my code so that if 2/3 orders were closed at a loss, then reverse direction of the order. I got this code from another thread and I do not understand it fully, what does the count++ function do and how does adding count == 3 mean that it counts for the last 3
Hello I have noticed that my EA is trigger is triggering too many orders at the same Bar although I've done my calculations to be judged for bar only once. (see attached EA triggers...png) This is making it so hard for me to debug/analyze each order to evaluate my EA EA algo is as simple as updating
Dear community! I need EA that opens trades with comments. For example if I run it on EUR/USD and set for example 0.2 lotsize so the robot opens for me trades with comment, based how I like BUY or SELL. Thanks in advance
Hello is there a way to change the color even the style of a buffer in OnCalculate, after it has been initialized in OnInit? especially without introducing new buffers
What is the Formula of Fibonacci Retracement? I'm planning to put Fibonacci in SubWindow. I searched fibonacci retracement formula in Google and MQL Forums but I haven't seen it yet.
Hi, why in the following code cant I get it passed validation without having to have lotsize = 1.0 Any smaller lot size and i get error 131? //+------------------------------------------------------------------+ //| Expert initialization function |
Hello, i have a strange problem and just want to post it, first, without code. I have CAppDialog derived Dialog with some CLabels, CButtons etc. All this in an indicator. When i attach this Indicator to a chart, all is fine. Switchting timeframe, all works. All Dialog elements visible. Now i save

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.