Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 431
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Good afternoon. I am a newbie. Something strange has happened to my account. Please help me with advice.
Stop loss did not trigger in demo. The loss on the set SL should be about 50, but in fact it bit off 158. How did this happen?
The set SL does not guarantee that the loss will be closed exactly at this price.
In your case, the price seems to have jumped over your SL and another 100+ points and the order was closed at the first occurring quote.
I can not make that when you reach a loss equal to UbitokSize Martin reset lot, or rather, it resets, but then stops filling, because Delta remains with zero, and why it remains with zero I do not understand, because there is a condition Delta = 100000;
When you reach the set loss the piece starts to trigger all the time:
If you want to restart Martin - it would be logical to add something like:
You have a chunk that is triggered all the time when you reach a set loss:
If you want to restart Martin - it would be logical to add something like this chunk:
Thank you, so restarts
Where can I read about it please!!! I don't feel like having a real account now)
Search for the words slippage/gap/cookie. A real account is needed when you don't feel sorry for the money, it may be drained or it may just not be given back.
Search for the words slippage/gap/cookie. A real account is needed when you don't feel sorry for the money, they may drain it or they may just not give it back.
Hello. Do you know if there is an EA that cancels a pending stop order (buy-stop/sell-stop) when the price reaches a certain level? Example: I put a buy-stop at the price level of 1.300, the price moves in the range of 1.250-1.295. But when the price reaches the level of 1.240, I have to delete the order. Can this be done automatically (not manually)?
Looking for OrderDelete() function
Looking for OrderDelete() function