Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 786
![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
Hello. There is a virtual stop. Which closes part of the lot at a certain distance from the price. How to make it close each time the price moves further bystep1 pips. That is, if the price moves one morestep1 point, it will close again and so on...
Just put Ask in the SL_VirtualBuy variable which should be at the level of global variables when closing part of the order.
The problem is different. In your drawings, there is no unambiguity. Between MIN2 in the first figure and MIN2 in the second figure I see at least five similar lows. How do you explain that these minima have to be ignored?
Otherwise as I suggested at first CopyLow and from the resulting array ArrayMinimum and ArrayMaximum. Then change from which bar and how much to copy and again look for maximum and minimum.
Good afternoon.
Please advise. I am opening a position:
How can I set the position comment to display theMagic value after the word number?
I.e. in this case: Number 20781
Good afternoon.
Please advise. I am opening a position:
How can I set the position comment to display theMagic value after the word number?
I.e. in this case: Number 20781.
StringConcatenate would help.
StringConcatenate will help.
I have a question, how to do the following: go through all orders that are currently in place, select orders with my magician and if the order is one and it is a limitpending (buy_stop or sell_stop), then delete it. Please advise.
What kind of happiness is there in a compilation error?
Well, that's the only way
and it should show up without a comma:Number 20781