ACSIL: How do I get the time value of a Vertical line that I have drawn on the chart
Welcome to futures io.
(If you already have an account, login at the top of the page)
futures io is the largest futures trading community on the planet, with over 100,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.
At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors – all of which you can find on futures io, utilizing our social trading environment.
With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you don’t need to worry about fake reviews.
We are fundamentally different than most other trading sites:
We are here to help. Just let us know what you need.
We work extremely hard to keep things positive in our community.
We do not tolerate rude behavior, trolling, or vendors advertising in posts.
We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
We expect our members to participate and become a part of the community. Help yourself by helping others.
You'll need to register in order to view the content of the threads and start contributing to our community. It's free and simple.
ACSIL: How do I get the time value of a Vertical line that I have drawn on the chart
I want my study to use the Time value of a Vertical line that I have manually drawn on the chart and the Price value of a Horizontal line that I have manually drawn on the chart. Any idea how I can get those values ?
Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.
Now, if I have a few Horizontal and Vertical lines on the chart and I wish to retrieve those values for a specific line am I correct by assuming that I will have to create this specific line with an ACSIL code and assign to it a "LineNumber" and then I will be able to get its values with sc.GetUserDrawingByLineNumber() ?
Now, if I have a few Horizontal and Vertical lines on the chart and I wish to retrieve those values for a specific line am I correct by assuming that I will have to create this specific line with an ACSIL code and assign to it a "LineNumber" and then I will be able to get its values with sc.GetUserDrawingByLineNumber() ?
Yes, you can do that. Or if you know how many lines you add you can utilize they are numbered sequentially so:
first horizontal line you add (manually on the chart) you get by:
The Ellipse drawing starts and then a couple of bars later, when certain parameters are met, I want to "close" the Ellipse.
How do I call *that* particular Ellipse?
I have this, and works about 90%:
if (sc.LineExists(sc.ChartNumber, uid)
{
blah;
}
many tools are drawn and closed as expected, however one seems to be hanging from the beginning of the chart to the current index. Which leads me to believe the code has missed this particular LineNumber, or something. Which then leads me to believe that I need more control and how to call each generated Ellipse. Any ideas?
The Ellipse drawing starts and then a couple of bars later, when certain parameters are met, I want to "close" the Ellipse.
How do I call *that* particular Ellipse?
I have this, and works about 90%:
if (sc.LineExists(sc.ChartNumber, uid)
{
blah;
}
many tools are drawn and closed as expected, however one seems to be hanging from the beginning of the chart to the current index. Which leads me to believe the code has missed this particular LineNumber, or something. Which then leads me to believe that I need more control and how to call each generated Ellipse. Any ideas?