Questions from Beginners MQL5 MT5 MetaTrader 5 - page 569
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
At what price do the stop orders open?
To buy at Asc, to sell at Bid
They don't open, you have to go through the specified distance.
Do you want to set two stop orders next to the price? If I understand correctly.
They do not open, they need to open at a specified distance.
Orders OP_BUYSTOP and OP_SELLSTOP are not opened by Ask and Bid, but by the set price.
Activated by these prices.
Artyom, look at the code carefully...
Hello.
Please advise how to calculate the lot using MT4 tools for the following example.
A position with 0.1 lot was closed with a loss of -$15.
How much should I open a position with, if I reach 20 pips T/P = 20, the profit will be 20$ + 15$.
That is, how to calculate that the lot should be 0.175 and round up?
Hello.
Please advise how to calculate the lot using MT4 tools for the following example.
A position with 0.1 lot was closed with a loss of -$15.
How much should I open a position with, if I reach 20 pips T/P = 20, the profit will be 20$ + 15$.
That is, how to calculate that the lot should be 0.175 and round up?
There was such a question some time ago:
How to calculate, based on available funds and lot, how many points (in points) the price can pass in minus?
And there was already such an answer:
link formula: Lot=Money/(Stoplos*Tick)
Money - earned/lost
Stoplos - in broker points
Tick - MarketInfo(MODE_TICKVALUE), or SymbolInfoDouble(Symbol(),SYMBOL_TRADE_TICK_VALUE);
From here, spin as you like:
Stoplos=Money/(Lot*Tick)
Money=Lot*Stoplos*Tick