Questions from Beginners MQL5 MT5 MetaTrader 5 - page 1057

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
Hello.
Can you tell me how to determine if a position (from the history) has closed on TP? It seems that in MQL4 we read the comment on the presence of "tp". Is it the same in MQL5 or what?
Example ofStop Loss Take Profit implementation in code:
Starting withbuild 1625, a wonderful enumeration ENUM_DEAL_REASON has appeared:
which can be tracked in OnTradeTransaction.
I want to "extend" the trend line to the right
I set
But the whole line is to the right for some reason, not only its right point. The price is the same for both points
What is the problem?
I want to "extend" the trend line to the right
I set
But the whole line is to the right for some reason, not only its right point. The price is the same for both points
What is the problem?
It is an error:
_Period
To prevent this from happening, just run the script:
You want seconds in the timeframe - usePeriodSeconds.
Error:
To prevent this from happening, simply run the script:
You want seconds in the timeframe - usePeriodSeconds.
Thank you!
Does MT5 still turn a limit order into a market order when the price touches it? Isn't the terminal supposed to be a stock exchange?
on the forex or the stock exchange?
on the forex or the stock exchange?
on forex
there are no limits on forex
There are no limits on forex.
Yeah???? 8/
Yes???? 8/
I don't know about the real one, the kitchen one certainly isn't.