Holy crap!!! So it wasn't a joke !!! I first looked at your poster and without looking I thought you were suggesting that I should SUSPEND THIS bracket there.
I thought it was a funny joke and thanked you for it.
Went back to my place, looked at it for a laugh - holy shit, I've got it there! Wiped it off and there we go!
Started to optimise the Expert Advisor by balance. Then I sorted the results by Profits and chose the one with an acceptable drawdown
(about 20%). I started the tester with these settings and found out at the end of testing that there was a period of time (dozens of trades), according to the chart
There was a sinking - my money decreased twice (something like 1000 -> 500).
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.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Who does - I always add "if() {}" to all brackets when creating something with brackets, and then write inside what I planned.
I don't remember such mistakes :)
We will take it into account. >> Thank you.
And writing in person is like ...
top right corner of any forum page...
Holy crap!!! So it wasn't a joke !!! I first looked at your poster and without looking I thought you were suggesting that I should SUSPEND THIS bracket there.
I thought it was a funny joke and thanked you for it.
Went back to my place, looked at it for a laugh - holy shit, I've got it there! Wiped it off and there we go!
I apologise for my earlier gratitude.
I apologise for the earlier thank you.
In that case, thank you for the apology:)))
Started to optimise the Expert Advisor by balance. Then I sorted the results by Profits and chose the one with an acceptable drawdown
(about 20%). I started the tester with these settings and found out at the end of testing that there was a period of time (dozens of trades), according to the chart
There was a sinking - my money decreased twice (something like 1000 -> 500).
- What does "Drawdown %" mean in optimization results?
- There is a "Drawdown Percent" in the optimization options - how does that work? (what will happen to Profit?)
- How to deal with drawdowns in general? (if there are any recommendations).
Thank you!
- How do you deal with drawdowns in general? (if there are any recommendations)
Cardinally. Don't keep any positions open and then there will be no drawdowns.
Afternoon
I am trying to determine the close price difference between two candlesticks
Close1= NormalizeDouble(Close[1],5);
Close2= NormalizeDouble(Close[2],5);
Kurs = Close1-Close2;
In Alert it says the following: Close[1]=1.43811000, Close[2]=1.43934000, Kurs =0
I WONDER WHY THE PRICES ARE NOT NORMALIZED AND WHY THEIR DIFFERENCE IS ZERO IF IT IS OBVIOUS THAT IT IS LESS THAN ZERO?
Afternoon
Trying to determine the closing price difference between two candles
Close1= NormalizeDouble(Close[1],5);
Close2= NormalizeDouble(Close[2],5);
Kurs = Close1-Close2;
In Alert it says the following: Close[1]=1.43811000, Close[2]=1.43934000, Rate =0
I WONDER WHY THE PRICES ARE NOT NORMALIZED AND WHY THEIR DIFFERENCE IS EQUAL TO ZERO, WHEN IT IS OBVIOUSLY LESS THAN ZERO?
Kurs not int by any chance?
Afternoon
Trying to determine the closing price difference between two candles
Close1= NormalizeDouble(Close[1],5);
Close2= NormalizeDouble(Close[2],5);
Kurs = Close1-Close2;
In Alert it says the following: Close[1]=1.43811000, Close[2]=1.43934000, Rate =0
I WONDER WHY THE PRICES ARE NOT NORMALIZED AND WHY THEIR DIFFERENCE IS ZERO IF IT IS OBVIOUS THAT IT IS LESS THAN ZERO?
Try the other way round in Alert
Alert("Price change= ",DoubleToStr(Close[1]-Close[2],Digits));
The values are truncated to 4 significant digits.