Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Single Indicator, multiple plots Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
jayman54
Posted : Wednesday, January 26, 2011 4:45:29 PM
Registered User
Joined: 10/16/2005
Posts: 2
I am trying to create my own channel using realcode. Does realcode allow you to have multiple plots?  U want a single Indicator that will plot upper and lower channel.
Bruce_L
Posted : Wednesday, January 26, 2011 4:55:31 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
If you are outputting a Line, you can output one Value per DateValue. If you are outputting a Bar, you can output exactly four Values per DateValue. I guess the simplest example would be to output Price:

OpenValue = Price.Open
HighValue = Price.High
LowValue = Price.Low
Plot = Price.Last

You will only see these extras values when Plotting using the Candlestick, HLC Bar or OHLC Bar Plot Styles. You could create another Indicator that references the Open, High or Low of the Indicator to Plot them as Lines or reference them in other calculations however to avoid doing the calculations of the original indicator multiple times.

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
wpalermo
Posted : Thursday, February 24, 2011 9:04:58 AM
Registered User
Joined: 5/4/2010
Posts: 18

How about writing three different indicators and overlaying them?

Bruce_L
Posted : Thursday, February 24, 2011 9:48:11 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
You can certainly create multiple Indicators to output multiple Values. Difficulties only arise when you wish to output multiple Values from a single Indicator.

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.