for moderator plase not remove my post , cpanel is part of standar library of mql5 ( https://www.mql5.com/en/docs/standardlibrary/controls/cpanel#sample) is possible remove the button resize in tool bar in up right _ (i attach foto for better details) thanks
Hi guys i notice some error but strange error if some one cangive me some suggest , because i want resolve it by my self because the code is too large i attach a video of defect in practical: When I click on the checkbox, at the variable level, the variable changes as if I had clicked it, but the
#include <Trade\Trade.mqh> CTrade trade; I am new to mql. I have seen the code above in *** but there are parts I do not understand. I understand the first line. We are importing the Trade header file from the Trade.mqh library. What does the second line mean? Are we assigning the CTrade class to a
Hi All I am looking to build a screener that I can load onto one pair that can monitor 20+ pairs. A pair should appear on the screener if a level is broken, in this case the high of the previous day, at particular times of day (asia / london / NY). I have seen a few code examples that are able to
Is ALGO trading better with Python or MQL5
Hello everyone, I am new to trading , currently only doing demo accounts , I just installed a EA and would like to know where I can get set files that I can install , for different pairs, mainly for the scalping strategy which is what my EA is supposed to be good at, ANY RECOMENDATIONS ?, Thanks
Hi guys i try to understund how work dll import in mt5 i use this tutorial https://www.mql5.com/en/blogs/post/753426 i create a dll in VS 2022 c++ , dll ,with this code BybitAPI.dll #pragma once #include "pch.h" #include <utility> #include <limits.h> #ifdef BYBITAPIDLL_EXPORTS #define
Sometimes, I need to use a code that will be not attached to a specific chart. I mean, if I use the same EA in 2 charts(for ex EURUSD, GOLD), then the code of this EA runs twice for both charts which is not desirable. For example, orders closing, I want to do once, for all the symbols... not each of
Apologies for any confusion beforehand, I'm pretty new to EA's and Mql5. That being said I made an EA that was seemingly working fine, then after editing a few things, went to test it again, only to find my Sell function not working because of ' Invalid Stops '. I've had this issue before and was
I need of MT5 EA that open unlimited sell positions only on every 5 seconds,or on every new candle with target profit in pips for every single position,I trade xau/usd,please please help me,this is very important for me.Thanks
EA using indicators downloaded for free from mql5. Is it possible
Hi guys i dnot know if i understund a good logic of a checkbox in cpanel i want know if when i flag cjeckbox it must return 1 and when defalg it must rerun zero ? because in my sript return always zero paneldialog.mqh //+------------------------------------------------------------------+ //|
Hi, I'm working on a netting account. As far as I understand: by reversing an existing position the position will be closed and a new one will be opened with a new id and the contrarian type (buy --> sell or sell --> buy). Am I correct here? But I have difficulties to access to the newly opened
Hi, Is there a way to find what the balance was after a deal finished in the OnTester method at the end of a backtesting pass? I noticed when we traverse through the deal and their properties, in the documentation ENUM_DEAL_PROPERTY_DOUBLE doesnt have a resulting balance property. 1. Is there
Hi. I have the following code from the `TrailingMA.mqh` file that comes with Metatrader: //+------------------------------------------------------------------+ //| Checking trailing stop and/or profit for long position. |
I have a easy strategy. How can I create an EA for the same? or where should I ask for this help
Hi ! I have one question, I have a dialog box on the chart, and everutimi I minimize it it goes on the left top corner and it is dificult to drag it because there is also charts trading panel it that location. Is it posibile to change the place where my dialog box will go when minimize it
Dear Coders! I started a backtest. My expert advisor is trying to open a position immediately at time 00:00. I get 'Market is closed' (TRADE_RETCODE_MARKET_CLOSED, error code: 10018) message, because the trading is start only at time 00:01: How can I check in advance if it is possible to open a
Hello, Can anyone tell me why these bands appear in the MT5 strategy tester? Thanks in advance, (No indicator loaded)
Hello everyone, I'm experiencing a critical issue with a custom stepped trailing stop that I've implemented in my MQL5 Expert Advisor (EA). The trailing stop logic should be as follows: Stepped Logic: The trailing stop moves the stop loss in fixed increments of 10 points. Favorable Movement Only
Hi guys, I created a GUI, and when I click a checkbox, it creates two lines on the chart. However, the lines also appear on top of the GUI. Would it be possible to make them appear below the GUI? I tried this, but it doesn't work. Thanks! // Traccia la linea superiore ObjectCreate ( 0
Hi! I just wanted to ask if someone could 'spot' me and double check if my understanding is 100% correct with regards to: 1. Coding an uptrend would be: Open[0] > Open[1] Coding a downtrend would be: Open[0] < Open[1] 2. Coding a IsRising would be: Momentum[1] > Close[1] Coding a IsFalling would be
Hi there guys, i just wanted to share this Expert i've created for buying and selling on semi-auto trading using hotkeys that will allow you to open trades in both direction using only letter "Q" and letter "E" on your keyboard. Lot is fixed to 1.00 but you can adjust that in your code preference
Hi everyone, I am looking for what I feel it's a really simple EA, I basically just want to enter the trade with a fixed SL and TP as a market order. It doesn't even have to calculate the lot size for me, just set the SL and TP based on the amount of pips that I give it... I'd prefer a free one but
hi. I have error in my expert. you can find my codes and errors in below. please advice me. thanks. //+------------------------------------------------------------------+//| crossma.mq5 |//| Copyright 2020, MetaQuotes
Hello, I have a question to the trader who used to trade with self made EA that is coded 100% realisticly and was tested. What was your expierience trading EA in real time, were the results similar to the tested ones ? I am not talking about scalping or speed trading, just normal trading with
Hello! I have trained a neural network and have the MyModel.net file but the EA or Strategy Tester cannot find the file. 1) I am supposed to put the model into the MQL5/Files folder for the EA to work on a chart using the common directory. But the EA cannot find it. 2) Also the strategy tester
Context: This is my second time using MT5 with my python code and it used to work perfectly fine placing trades around 6 months ago. Now when I try connecting via the same exact code I get both of these error codes when I try to place trade depending on which algorithmic trading option is enabled
Hi guys in my program i have part of code that send in chart a limit order i sett it but the strange effect is : when market price touch a limit price , the trade not go in execution and disappear from chart like cancel , why ? ?this this is my code void ExecuteOrders( double lotSize, double
While running an automatic market tester for verification, I encountered an error with my EA that is intended to only trade US330. As I understand that this might violate the market rules for EA limitations, I updated the OnInit function to alert the user instead of returning a non-zero error code
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.