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 trilliantrader, 04-18-2024, 08:16 AM
        5 responses
        22 views
        0 likes
        Last Post trilliantrader  
        Started by Davidtowleii, Today, 12:15 AM
        0 responses
        3 views
        0 likes
        Last Post Davidtowleii  
        Started by guillembm, Yesterday, 11:25 AM
        2 responses
        9 views
        0 likes
        Last Post guillembm  
        Started by junkone, 04-21-2024, 07:17 AM
        9 responses
        70 views
        0 likes
        Last Post jeronymite  
        Started by mgco4you, Yesterday, 09:46 PM
        1 response
        14 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Working...
        X