SymbolInfoSessionTrade works only for the symbol of the current chart How can I get info about other symbols
I would like to make a EA of the arrow that appears on the arrow from the custom indicator. Please recommend a place where you can view the codes using the icustom function, instead of the manual.
Could I possibly ask for clarification about something. Suppose you were doing a backtest on a particular time interval and you were on the very first bar of that time interval, and then your code called a function trying to look at the previous bar. Does that mean that MT5 would get data from
Hello, I wrote a review about some EA I tought lack a feature... The author PM me and showed me that the feature is really included... I apologized to him, but when I wanted to edit my review, couldn't let me do it... How can I change my review about an EA that I purchased? Thanks in advance
Hi, I have successfully Migrated my first 3 EAs to my first VPS (running on MQL5). This works well and Im pleased with the reduced latency. However, there is something I dont understand: How do I change the lot size on the EAs running on the VPS ? I have tried to change them locally and then tried
Hello friends, I want to save the highest price after opening a new position. This is easy when only one position is open, but it is difficult for me to implement it when several positions are open. In Python, I use a dictionary for a similar situation, for example, the { tiket : highPrice}. But
If you would make an EA with the EA wizard, and chose parabolic sar for the trailing stop loss, it adds something like this code with nothing in OnTick: #include <Expert\Trailing\TrailingParabolicSAR.mqh> // global variables input double Trailing_ParabolicSAR_Step = 0.1 ; // Speed increment
In this topic, I propose to either create some list of rules for choosing between a structure and a class, or state that both options are equivalent in terms of performance
[Invalid volume]. I get this error when trying to pass the Automatic validation for EAs. Any idea?
(3)
test on EURUSD,H1 (netting) 2021.02 . 26 06 : 34 : 40 failed buy stop 0.15 EURUSD at 1.21636 sl: 1.21297 tp: 1.26825 [Invalid volume] 2021.02 . 26 06 : 34 : 59 failed buy stop 0.15 EURUSD at 1.21636 sl: 1.21297 tp: 1.26825 [Invalid volume] 2021.02 . 26 06 : 35 : 00 failed buy stop 0.15 EURUSD
Im trying to convert an indicator in an EA and the arrays are giving me an issue cause mt4 gives an out of size error at one of the arrays double pv[], s1[], r1[], s2[], r2[], s3[], r3[]; then set here Oninit SetIndexBuffer ( 0 , pv); SetIndexBuffer ( 1 , s1); SetIndexBuffer ( 2 , r1);
Is there anyway to create an obj with custom prop, rather than using objectsetxxx function
How to add a string with specific size, to structure
Is it possible to change code while debugging and continue run it
Hey guys, long time since I've been on here.... English is not my native language, so I'm sorry in advance if my phrasing aren't clear enough. I've encountered some weird issue today with following built-in MAs- DEMA, TEMA, FrAMA. It seems that whenever I try to set a long period on them, I can't
Hello, I have a structure that I summarize here and that, in this case, generates 3 sales on each tick once the first trade is made. I need to program: - That only 1 trade is performed in each cycle, and - That only 3 trades are made, one for each if: Only one with comment "C", one with comment "D"
I'm sorry if the question looks stupid and it might be discussed a lot of times on the forum. I just don't figure out what should I ask the forum to get the answer.... I passed through a lot of examples and threads and most of them use some permutation of the following code: _tickValue =
Hi everyone, I am seeking for a bit of help again as I could not find any related topics. (I may have missed it...). I am currently working on a panel to help me to visually track profit, daily drawdown... of different charts. So far so good, but I have encountered a minor issue. I am creating
Hi, I wonder if anyone experiencing or knowing the issue that I faced. I just backtest a strategy and resulting in loss, then I start the optimization with a result like image below, From that result I kind of skeptic with the 0 trade result. After optimization I tried to do a single backtest for
I just code the EA to trade the patterns of the market, market keeps repeating these patterns, patterns that have worked consistently over decades. i see these patterns on weekly, daily charts and monthly charts. Anything less than daily charts is considered market noise, noise is like singer...
I've been experiencing an unusual issue with my trading system related to position sizing. While the system generally operates smoothly, there's an intermittent occurrence, happening about once or twice a month, where it attempts to place an order with a 100-lot size. My position size is determined
I have a function I'm trying to convert to MQL5 from MQL4, it works perfectly in MQL4 but MQL5 for some reason breaks without finding the string. The complier shows no errors, I think something is wrong with one of the strings. I attached the file I'm trying to read as txt as well. Any help would be
I'm facing one weird problem. I notice the EA i wrote is way slower than EA generated using EA generator wizard. I'm trying to troubleshoot and eventually removed all codes and it is still slower than EA generated using the generator. does anyone have the same problem? the "Empty EA" literally does
Hello, I’m sure others have asked this question but I can’t seem to find them. Is there an existing EA that operates on the same principles as the Machine Learning Lorentzian Classification indicator on Trading View? Thanks
Since yesterday I can't debug my main EA because the debug button is disabled (grayed out). I am able to debug indicators, but not the EA. Any body knows the reason for that to happen
Hello everyone, hope everyone is keeping well. Just have an issue with the following functions code. All I am trying to do is get a load of data sent to a CSV file from a strategy test. I run the function in the OnTester() function once the strategy test has completed. I have managed to get
How to disable showing object name while hovering mouse over objs
Hello all, Should I backtest every EA I want to try with every tick or every tick based on real ticks for accuracy ? Is there any upside or scenario in which I would want to use every tick instead? If so what exactly? I'm currently optimizing the EA parameters using cloud agents with every tick
Hi, Please note I am not a core programmer/developer as my profession having not coded in decades so not too conversant with programming thus my code is of a beginner. I created a script to export some parameters of my horizontal lines into a csv file and sample data from csv is as below H1
My question is in the context of this discussion: https://stackoverflow.com/questions/2052017/ravioli-code-why-an-anti-pattern The code that I come across on MQL often lacks levels of abstraction and modularity. I would be interested to see an example of code with an excessive level of abstraction
Hi all! I scalp while watching 20-30 charts and when I get into positions on a few of them, I find myself needing to manually adjust the window sizing or minimising all others to then arrange windows (tiled). Is there a way to run a script which minimises all non-open-position charts & then arrange
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.