How to retrieve the price of a horizontal line named according to the schema: prefix + number + "SL". But the number and price will change and I do not know what values. Example: The first line is called "#3 SL", the next "#9 SL", the third is "# 15 SL". How to take the price of each of these lines? I note that I have other lines with "#" in the graph, but there are not more than one of the "SL" at one time.
I can also set individual color for these lines. So can i identify the price by line color? I'm trying to fix a stop loss in this ea https://www.mql5.com/en/code/10296 Sometimes trailig stop don't active. And stop loss don't works to! It only works when the price goes in the direction of the order. Sorry for my english.
- How I assemble my advisor by trial and error
- [WARNING CLOSED!] Any newbie question, so as not to clutter up the forum. Professionals, don't go by. Can't go anywhere without you.
- Stop Loss error
You can use the ticket number then you can always use
ObjectFind()
in a loop with known order tickets.
Marco vd Heijden:
You can use the ticket number then you can always use
in a loop with known order tickets.How to known order tickets?
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