Please paste code properly. You should know this by now ...
EDIT: And please copy it from the original source code and not from the posted text.
Forum on trading, automated trading systems and testing trading strategies
salitos, 2022.11.03 18:07
Please attach the code properly if you have it, you may have noticed a </> icon on the ribbon toolbar at the top of the comment/post box.
Rami Khattab: Hello Guys, I'm new to coding, and I have this question; I'm trying to create support resistance expert; it draws 2 lines on 5minTF if the conditions are met; however, the lines keep moving ( I want the lines fixed, and if there is another signal, I want to draw extra line , and so on). How can I keep the lines fixed on chart, so that I can have multiple lines for every time the conditions are met! much appreciated for any help <3
It keeps shifting because you are continuously updating the existing objects.
If you want extra new lines for new signals, then you have to create new objects and not just update the same ones.
Use unique names for each of those line objects. Don't reuse the names.

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 Guys, I'm new to coding, and I have this question; I'm trying to create support resistance expert; it draws 2 lines on 5minTF if the conditions are met; however, the lines keep moving ( I want the lines fixed, and if there is another signal, I want to draw extra line , and so on). How can I keep the lines fixed on chart, so that I can have multiple lines for every time the conditions are met! much appreciated for any help <3