Questions from Beginners MQL5 MT5 MetaTrader 5 - page 1563
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
Why GV if a variable at the global level is enough? Or even just static
...variable is saved and it can be compared with the current balance...
File Functions
Why GV if a variable at the global level is enough? Or even just static
This is for real work, after reinitialisation we will lose the maximum balance that was achieved before. Lights out, all that)
...need to throw the current balance into some variable before each check of the conditions for entering a position...
If I were to do it for myself for real trading, then instead of saving the balance, I would check the history (HistoryDealsTotal()) and calculate the previous balance.
Good day everyone!
I have never thought about this topic, but today something prompted me. The question is actually this: I understand how bars and candlesticks are drawn in MT5 terminal. But how a broken line is drawn, I don't understand at all. Maybe someone knows the formula for calculating the inflection point (actually the price) of this line on each bar?
Regards, Vladimir.
Good day, everyone!
I have never thought about this topic, but today something prompted me. The question is actually this: I understand how bars and candlesticks are drawn in MT5 terminal. But I don't understand how a broken line is drawn. Maybe someone knows the formula for calculating the inflection point (actually the price) of this line on each bar?
Regards, Vladimir.
At the closing price of the candle\bar.
At the closing prices of the candle bar.
Hi, Alexey, a big THANK YOU.
Regards, Vladimir.