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

A way to normalize an indicator

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

    A way to normalize an indicator

    Hello, is there a way to normalize an indicator in Strategy Builder? In other words the indicator changes based percent rather than ticks or points change? That way I can compare a list of symbols with wide range of prices in Market analyzer. Any suggestions welcomed. Thank you.

    #2
    Hello designer01,

    Thanks for your post.

    This could be possible using C# solutions. Note that in the support department we do not provide C# programming education services. This is so that we can maintain a high level of service for all of our clients as well as our partners.

    See the publicly available resource linked below for a possible C# solution.

    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...


    Let us know if we may assist further.
    Brandon H.NinjaTrader Customer Service

    Comment


      #3
      Hi Brandon, Thanks yes I can do it in Script Editor ok but was wondering if it could be done within the Strategy Builder environment. Thanks.

      Comment


        #4
        Hello designer01,

        Thanks for your note.

        This would not be possible to accomplish using the Strategy Builder.

        You would need to unlock the strategy from the Strategy Builder and manually code your C# solution in a New > NinjaScript Editor window.

        Let us know if we may assist further.
        Brandon H.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by gbourque, Today, 06:39 AM
        0 responses
        0 views
        0 likes
        Last Post gbourque  
        Started by cmtjoancolmenero, Yesterday, 03:58 PM
        1 response
        17 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by benmarkal, Yesterday, 12:52 PM
        3 responses
        23 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by helpwanted, Today, 03:06 AM
        1 response
        20 views
        0 likes
        Last Post sarafuenonly123  
        Started by Brevo, Today, 01:45 AM
        0 responses
        12 views
        0 likes
        Last Post Brevo
        by Brevo
         
        Working...
        X