Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Help Normalizing value

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

    Help Normalizing value

    Hi all, hope you're doing good, this is the thing, I have two volume sums running and want to merge them into one, but simply adding & dividing by two doesn't work, since their magnitudes are very different,

    eg:
    Indicator A Sum: 3 million
    Indicator B Sum: 100

    So the larger number pollutes the result overrepresenting itself, I don't care about the magnitudes, only about their respective shapes (vectors) and basically I want 50/50 representation of their mix together.

    The question: Can someone help with a math formula to replace their respective magnitudes, so their magnitudes are "X" while keeping their shapes?, I've looked around the web and tried different things but I'm sure doing something wrong, I'm still getting an overrepresentation of A (the larger value)

    Thank you very much in advance!


    Last edited by kabott; 03-02-2021, 04:21 AM.

    #2
    Hello kabott,

    Thanks for your post.

    I would suggest investigating statistical "z-score" as a way to normalize your data. I am not aware of a specific indicator for this but you may want to do an internet search for a z-score indicator for NinjaTrader8 or if you want to write your own, search for z-score definition.



    Paul H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by imalil, Today, 06:07 PM
    0 responses
    1 view
    0 likes
    Last Post imalil
    by imalil
     
    Started by gchan, Today, 05:48 PM
    0 responses
    1 view
    0 likes
    Last Post gchan
    by gchan
     
    Started by herbnderby, Today, 02:29 PM
    5 responses
    13 views
    0 likes
    Last Post NinjaTrader_Kate  
    Started by Neo2020, Today, 01:51 PM
    3 responses
    27 views
    0 likes
    Last Post NinjaTrader_Melissa  
    Started by RFrosty, Today, 01:46 PM
    0 responses
    18 views
    0 likes
    Last Post RFrosty
    by RFrosty
     
    Working...
    X