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)
Multi-plots of the same oscillator in one panel, how?
How do you get (or edit) an oscillator (i.e, CCI, etc.) to plot itself twice in the same panel, let's say once as a line and anther time as a histogram without applying the indicator twice? All other setting are the same. The idea is to add a boundary to the histogram.
Thanks a bunch!
Can you help answer these questions from other members on NexusFi?
If you don't want to simply add the indicator twice, and delete the duplicate plots (make them transparent), while leaving the useful plot and setting it how you want (histogram) --- then the only other option is to make a new indicator and add the Plots to the code.
Thanks Mike. I actually did try to modify, as an example, the default fisher transform indi by adding an extra add new plot statement for a second plot of the indicator, however, it plotted the end "Value" only once. Also, tried to use the Value.Set() twice and did not worked either.
Do I need to add a new data series also for the second plot?
Just add a second plot in Initialize() and add a property for the that plot in the Properties section. When you add a plot, the plot series is added automatically, you do not need to define a separate variable for the data series.
Set the values for the second plot in OnBarUpdate() exactly as you have set them for the first plot and the plot should display correctly.