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

An indicator with two ScaleJustificarion

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

    An indicator with two ScaleJustificarion

    Is it possible to to have an indicator that has a right justification for the data series and the left justification for an internal calculation??

    #2
    Hello efeuvejota01,

    Thank you for your post.

    ScaleJustification is set up on a per-indicator basis. If your indicator adds a data series, it would be plotted on the same scale as the indicator value. As a workaround, you could set up multiple indicators with separate scale justifications to achieve your desired outcome or you could look into normalizing the values so they are relative to each other on the same scale. Here is a publicly available link I found regarding normalizing values:

    I have a number range -100 to 100. I'm trying to Normalize it to 0 to 3 with decimal places. -100 = 0 -50 = 0.75 0 = 1.5 50 = 2.25 100 = 3 I want to create a program function to normalize...


    Please let us know if we may be of further assistance.
    Emily C.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by RaddiFX, Today, 10:15 AM
    2 responses
    14 views
    0 likes
    Last Post RaddiFX
    by RaddiFX
     
    Started by patrickmlee007, Today, 09:33 AM
    2 responses
    17 views
    0 likes
    Last Post patrickmlee007  
    Started by magnatauren, 08-15-2020, 02:12 PM
    5 responses
    206 views
    0 likes
    Last Post RaddiFX
    by RaddiFX
     
    Started by rene69851, 05-02-2024, 03:25 PM
    1 response
    22 views
    0 likes
    Last Post rene69851  
    Started by ETFVoyageur, Yesterday, 07:05 PM
    5 responses
    45 views
    0 likes
    Last Post ETFVoyageur  
    Working...
    X