Hello, does anyone happen to know how I can delete an HLine at a specific price? I understand about iterating over and deleting all objects, as well as about the name that you can specify to search for and/or delete an object. As far as I know, the object delete function only has the parameters "Chart, Name"..
You must iterate through the list of all objects. For each object you get its type (line, circle, rectangle...) and its price.
No, you cannot do this. You must first select an object from the list. After that you should get the name of the object. And only by the name of the object you can access the properties of the object.
At a minimum, you should know: this object is of type "Horizontal Line" and this object has "Price" properties.
After that, you must go through the entire list:
You first select an object from the list.
After that you should get the name of the object.
And only by the name of the object you can access the properties of the object.
No, you cannot do this. You must first select an object from the list. After that you should get the name of the object. And only by the name of the object you can access the properties of the object.
At a minimum, you should know: this object is of type "Horizontal Line" and this object has "Price" properties.
After that, you must go through the entire list:
You first select an object from the list.
After that you should get the name of the object.
And only by the name of the object you can access the properties of the object.
ok, thanks a lot for the help!
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello, does anyone happen to know how I can delete an HLine at a specific price? I understand about iterating over and deleting all objects, as well as about the name that you can specify to search for and/or delete an object. As far as I know, the object delete function only has the parameters "Chart, Name"..