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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    156 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    90 views
    1 like
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    140 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    130 views
    1 like
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    107 views
    0 likes
    Last Post CarlTrading  
    Working...
    X