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)
First off I would like to thank all the intelligent generous people on this site. Secondly, let me apologize, I know this sections is reserved for programmers and I probably the furthest thing from one. So please keep that in mind in your responses. On my charts I have the ColorZone3 Indicator and I have right margin of 100. So the indicator only plots to the current bar and I would like it to plot all the way to the end of the chart. I did some research and I think this is the line in the code that I need to modify,
"DrawRegion("Zone1", CurrentBar, 0, myDataSeries1, myDataSeries2, zone1ClrBdr, zone1Clr, opacity );"
I've tried replacing the term "CurrentBar" with some ridiculous laymen terms that I thought might work, to no avail. Any help would be appreciated.
I've attached a screenshot of what I mean.
Cheers.
Can you help answer these questions from other members on NexusFi?
This will be difficult to achieve with DrawRegion(). However, as you want to draw a rectangle, you might try DrawRectangle(). It uses variables of type double , so something like
should do the trick. The negative value - in bold - should extend your rectangle to the right border of the chart.
That was a long time ago. actually, I do not know whether is works, but so far have had no problems. Just did it.
That's good to know. Man! I had to jump thru so many hoops a couple of years ago just to do something simple like that, and I made sure to give Ray at NT a good piece of my mind about it I guess that is progress. Now, I have to go back and change all my code