Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Plotting Stochastics over Bill Williams' AC

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • NinjaTrader_Ray
    replied
    You have to create data series that holds the data that is used to render the plots. Take a look at any indicator (Tools > Edit NinjaScript) and review the source code to see how this is done. Specifically, look at the Properties section and the OnBarUpdate() method to see how values are set.

    Leave a comment:


  • egonline
    replied
    Ray,

    I have created two new plots in the AC indicator by adding the following code:

    Add(new Plot(Color.Green, "D"));
    Add(new Plot(Color.Orange, "K"));
    Add(new Line(Color.DarkViolet, 20, "Lower"));
    Add(new Line(Color.YellowGreen, 80, "Upper"));

    How do I draw these plots? I don't see a method in Plots[] to do so, and I also cannot reference them as a "D" and "K" in the code to access the methods and properties and such.

    Thanks,

    egonline

    Leave a comment:


  • NinjaTrader_Ray
    replied
    Yes you can create a custom indicator in that fashion. Here is a link to a tutorial as an example of how this can be done.

    http://www.ninjatrader-support.com/H...Indicator.html

    Leave a comment:


  • egonline
    replied
    Originally posted by NinjaTrader_Ray View Post
    Unfortunately we do not support overlaying of indicators on indicators at this time. This is on our list to support with our next major release.
    Would it be possible to modify the AC indicator and run Stochastics() function on the AC values and plot them?
    Last edited by egonline; 04-15-2008, 02:53 PM.

    Leave a comment:


  • NinjaTrader_Ray
    replied
    Unfortunately we do not support overlaying of indicators on indicators at this time. This is on our list to support with our next major release.

    Leave a comment:


  • egonline
    started a topic Plotting Stochastics over Bill Williams' AC

    Plotting Stochastics over Bill Williams' AC

    Is there a way to plot Stochastics over the Bill Williams' Accelerator Oscillator (AC) indicator? I cannot find an option to enable this.

    Thanks in advance,

    egonline

Latest Posts

Collapse

Topics Statistics Last Post
Started by ldjaisohy, Today, 12:59 AM
0 responses
5 views
0 likes
Last Post ldjaisohy  
Started by TheCatTrader, Yesterday, 04:52 PM
1 response
9 views
0 likes
Last Post s.kinra
by s.kinra
 
Started by oreameon, Today, 12:41 AM
0 responses
6 views
0 likes
Last Post oreameon  
Started by tff2011, Today, 12:11 AM
0 responses
5 views
0 likes
Last Post tff2011
by tff2011
 
Started by Imnarjowps, Yesterday, 10:55 PM
0 responses
4 views
0 likes
Last Post Imnarjowps  
Working...
X