Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Simple Indicator

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

    Simple Indicator

    Hello, guys!

    I have 2 indicators, I need to divide one indicator by another and display it as a histogram, how to do it?

    Thanks!

    #2
    Hello U0000999,

    Thanks for your message.

    I suggest going through our indicator tutorials. The second tutorial shows how to implement an indicator in an indicator and plot the result.

    Once adding an indicator inside another indicator is familiar, it will be trivial to assign a plot with the result of one indicator divided by another indicator.

    Indicator tutorials - https://ninjatrader.com/support/help...indicators.htm

    You may create the plot with PlotStyle.Bar to display as a histogram.

    AddPlot(new Stroke(Brushes.Blue), PlotStyle.Bar, "MyPlot");

    We look forward to assisting.
    JimNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Epiphany79, Today, 05:00 PM
    0 responses
    1 view
    0 likes
    Last Post Epiphany79  
    Started by punkiy2111, 08-31-2021, 10:42 AM
    16 responses
    951 views
    0 likes
    Last Post muchacha  
    Started by gbourque, Yesterday, 04:11 PM
    5 responses
    19 views
    0 likes
    Last Post gbourque  
    Started by dtl-saw, 12-29-2022, 09:12 AM
    42 responses
    3,115 views
    1 like
    Last Post aligator  
    Started by AlphaOptions, 06-18-2013, 08:24 AM
    4 responses
    2,162 views
    0 likes
    Last Post ybforex
    by ybforex
     
    Working...
    X