Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
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 ?
Can you help answer these questions from other members on NexusFi?
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?