Forum

Is it not possible to display indicators during backtesting in MT5?

Hello there! Is it not possible to display indicators during backtesting in MT5? In MT4, indicators could be displayed on the backtest screen. However, it is not possible with MT5. MA could be displayed on the backtest screen by applying the following code. int handle = iMA(....) double buf[] copy

What economic indicators drive crude oil?

Hello there! I have questions. What economic indicators drive crude oil? Also, when will it be announced in US time? I would appreciate it if you could also tell me about the sites that will be helpful

Order cannot be closed.

Hello. I am backtesting. I've made it to the point where I have a position. However, the position cannot be closed. I have the ticket number.(#1) The error number is 4753. I would be happy if you could tell me. ... Improperly formatted code removed by moderator. Please EDIT your post and use the

How can I orderclose with mql5?

How can I orderclose with mql5? Sorry for a basic question. I searched for an hour and couldn't find it. It's too different from 4 and I can't understand it well

About description in function of mql5

Note:I'm using the translation tool. There may be wrong expressions. please excuse any inaccuracies or unnatural expressions. In the case of mql4, double testMA(){ double ma = ima(); return ma; } I write like. In mql5, you use "handle". int maHandle = ima() I heard that I don't need to create a

Is scalping also a basic tactic of following trends?

Note:I'm using the translation tool. There may be wrong expressions.please excuse any inaccuracies or unnatural expressions. Is scalping also a basic tactic of following trends? I've been doing reverse tension near the horizon. I kept losing. The risk reward value was 2. It was a plan that the money

About sorting two arrays

Note:I'm using the translation function. There may be wrong expressions. In that case, I'm sorry. string name[] // get name of horizontal line datetime time[] // get the time of the horizontal line I want to sort the time in descending order. At that time, I want to rearrange the array of names as

Does a function called InputDialogCreate exist?

Hello everyone. I am studying MQL using chat GPT. I asked ChatGPT if I wanted to create a dialog where I could enter a number. At that point, I was introduced to a function called [InputDialogCreate]. This function was not available in my development environment. Does such a function exist? Answer

I would like to know how to get the object by number

Hello. I would like to draw a trend line in the strategy tester and obtain its value. I'm going to do something like this: Stop the strategy tester. Draw a trend line. Let the EA search for that trendline. Get the value of the trendline. Enter when the rate hits the trend line. that's all I think

About the relationship between randomness and volatility

Hello everyone. Suppose there is a trend in the market. How do you know it's a real trend and not random? If the volatility is high, will it be easy for a trend to emerge even with random price movements? If the volatility is low, is the trend likely non-random? Or is there some other way to