Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

normalized price

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

    normalized price

    is it possible to have the normalized price from 0 to 100?

    tks
    bebbus

    #2
    Hello bebbus,

    Thanks for your first post on the forums!

    This is certainly possible to do by programming your own math to normalize the price or set a plot value to be between 0-100. Algebra would be involved to convert the price to a normalized range and then you could freely use that value in the indicator.

    If you are looking for more information on indicators and how information gets plotted, I may suggest referencing the AddPlot() section of the help guide which demonstrates using AddPlot() and setting the plot's Value in OnBarUpdate(). I may also suggest referencing our open source indicators like the EMA as well for a simple example on an indicator that plots.

    AddPlot() - https://ninjatrader.com/support/help...us/addplot.htm

    If you would like further information on NinjaScripts and the basic methods used with strategies and indicators I may suggest viewing the NinjaScript Editor 401 tutorial.

    NinjaScript Editor 401 - https://www.youtube.com/watch?v=BA0W4ECyVdc

    The information provided is publicly available. If you have any additional questions, please let us know.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    561 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    325 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    547 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    547 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X