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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    44 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    54 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    34 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    94 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    56 views
    0 likes
    Last Post PaulMohn  
    Working...
    X