Hello everyone... I made a code for a zigzag that creates horizontal lines at the highs and lows... but I am receiving the following error message: ('for' - expressions are not allowed on a global scope ZigZag.mq5 292 1) How can I fix the problem? Thank you in advance! The complete code is as
Hi to everyone,
as I said, I am a newbie so these question might be stupid to you :)
is it possible to set meta auto trader so the program would:
go long/short (TP 9pips, SL 4pips).
next step that the program I want to make is:
-if one step before was LONG, and it made TP, than now go LONG
-.....
Has anyone recently encountered again this error: Err[4802] ERR_INDICATOR_CANNOT_CREATE: Indicator cannot be created and would be able to give a hint how to defeat it? I have built an indicator that runs on all symbols and timeframes since quite a while! But now when I want to load it in OnInit() in
Would it be possible to find a coder that would take a ex4 file and code it to MT5 without the actual mq4 file
Hello in new to this and I was checking if my broker have signals or allow signal on there platform
i bought a EA from the mql5 markets and the backtest was very good but since 2 weeks and just seeing losses in my account and am really upset and dont know what to do i tried to cotact to the EA owner but he is not responding anymore what ihave to do and is there any way to get the money back and
Is there a customer indicastor which would sound the alarm function when a added horizontal line it touched ?
Turkish characters are distorted in mql5. how can i fix broken characters? For example: i�lem ba�ar�l�
Hi guys, I have just started using the MT5 version for Android. Can I import new indicators into Android (there a few in my laptop that I can't find in the androud selection)? How do I do it if it is possible? Is it possible to use EA's with android? If I want to learn to make EA's and indicators
I have bought an EA that allows only 10 activations i was wondering if its possible to reset the activations so i can use it on different accounts ? Or can anyone explain to me how this works
Hello, I am trying to find the difference between two moving averages but when I print it gives the answer in exponential notation which is completely useless to me. The answer (on GBPUSD) could be 0.00001 or 0.00005 etc. That is the information I need. I have tried using NormalizeDouble() and not
Hi I have backtested my EA strategy on mt5 with different brokers and have obtained much different results for example profit will be 6000 on one broker, and with the other profit is 12000. I have used real ticks based on real ticks, and the tick quality is 100% on both, how can I get the most
Hi I have gone on the platform to set the VPS but when I want to pay for it it doesn't work.How could I do to make it successfully
I only completed 99 jobs but the 100 trade red bag appeared beside my profile picture. Am I wrong counting jobs
#property indicator_chart_window extern int BrickSize = 10 ; // Brick size in pips int OnCalculate ( const int rates_total, const int prev_calculated, const datetime &time[], const double &open[], const double &high[], const double &low[], const double &close[], const
I need to calculate tick value for currecy pair that does not include account currency, but getting different from defult SymbolInfoDouble(symbol, SYMBOL_TRADE_TICK_VALUE ) result. Can someone please point me on what I'm doing wrong here? void OnStart() { const string symbol = "EURGBP"; //-symbol of
today when the market opened I found that the EA , opened 100 trades instead of only 1 , unfortunately 22 lots instead of 0.22 , it was very dangerous and caused me high loss closing the trades (unfortunately I kept 3 not closed and they closed with TP :( , I have no problems with the setting , do
Hello, first of all I apologize if I'm posting this in the wrong place. In my expert, I prepare a code like this to find the last 2 highs and lows of the zigzag indicator. When I check it as script, the code works fine and gives correct peaks and troughs. but when i run experti in strategy tester i
On MT5: Is there a way to save the settings (ie Priority, Currency, Country) of the Calendar? When I reopen MT5 it goes back to the default, and saving Profiles does not work... Not possible on MT5? Possible development request
[Deleted]
Dear devel. Hope you doing well. I have tried to find something in the documentation/forum, but without success. I am trying to send an order via ctrade class, like a buy with only tp defined, with sl as 0, because my sl will always be a market order when a condition is not satisfied. But I am
I'm a bit confused about the Common Folder. Can you store EAs, Scripts, Indicators in there and have it appear in all the Terminals? Or is it just for a second "Files" folder that you can access from the Terminal? I assume you need to specifically tell the MQL code to use it instead of the
Hello every body, I am tired with "this Ban till next month (Spam)", I just tried advertise my products in my profile. I re-publish them every 1 or 2 hours. anybody knows details of Ban for Spam rules ?! I am a seller and I need to contact my clients immediately. My profile is <deleted> I added a
Hello moderators, can anyone explain and solve this problem, please see the attached picture below: Thanks in advance. Best Regards
Hi ,, I appreciate your help for the below function that search in a range to extract the most number of bullish candles and return the first candle in the trend with an exception of maximum 2 bearish candles , in other words , if there were 7 candles in uptrend and there were 2 maximum bearish
Hi How do I change my subscription fee for subscribers as a signal provider ? Thanks
Hi! I am slightly new in MetaTrader5, and I wanted to know if it is possible to download market data using an API. I am currently doing it manually using the desktop app, but I wanted to know if it can be done through a script or something. More specifically I am interested in downloading the bars
Hey guys, As the title say- I need help on how can I prevent MetaTrader 5 from updating? I am running MetaTrader 5 terminal from a VPS running ubuntu, using WINE, and, currently, the latest version is known to crash on startup on setups such as mine. I've blocked both
Hi I have browsing the mt5 market web page for useful products. https://www.mql5.com/en/market/mt5 And when i select to download a product , it asks if i have mt5 , i click yes. !!!! And then it does the alarming thing !!!!, it opens up any of my 8 mt5 terminals and installs the new untested product
Hi All So I am trying to code an EA using and indicator called "FL11" but I seem to be getting about 7 errors. What I want is for the indicator to show then buy or sell, maybe I'm missing some code as well. Code attached #property copyright "Copyright 2022, MetaQuotes Software Corp." #property link

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.