Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 824
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Thanks to Igor Makan. I made the function yesterday so the function the day before yesterday I made it so Can I make it not reset to zero on weekends? i.e. Monday yesterday was Friday for it. i.e. how do I get rid of weekends?
use bar open time on D1 timeframe
you can define the day of the week using TimeDayOfWeek()
You can also "collect / parse" datetime using StructToTime() and TimeToStruct()
Hello. What is wrong? The condition is that the first candle closed below the low of the 10 candles, but the candle closed above the low and puts the arrows.
NULL - symbol
0 - current timeframe
period - number of bars
2 - 1st bar (if 1, it is the current bar)
https://www.mql5.com/ru/docs/series/ilowestNULL - symbol
0 - current timeframe
period - number of bars
2 - 1st bar (if 1, it is the current bar)
https://www.mql5.com/ru/docs/series/ilowestit is not correct
correct
Thank you Igor)
How do I write in Russian where the variables are? To write notStopNewOrder but"Drawdown to stop trades"
Thank you Igor)
How do I write in Russian where the variables are? To write notStopNewOrder but"Drawdown to stop trades"
I heard that it works in MQL5. It does not work on MQL4.
works, you can experiment with this script:
That's not right.
That's right.
Isn't your version and what I have written the same?
In any case, nothing has changed on the graph.