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 sjsj2732, Yesterday, 04:31 AM
    0 responses
    31 views
    0 likes
    Last Post sjsj2732  
    Started by NullPointStrategies, 03-13-2026, 05:17 AM
    0 responses
    286 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    283 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    133 views
    1 like
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    91 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Working...
    X