Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Ninjascript coding 2 indicators but with 2 different values

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

    Ninjascript coding 2 indicators but with 2 different values

    I have 2 indicators on the same panel with1 justification left and 1justification right.One plot is in the hunderd of thousands while the other is in the thousands. When the plots do cross I want a flag to notify me. Visualy on the screen it works well but how can one do it in ninjascript since the values are so much off.

    #2
    Hello ballboy11,

    Thank you for your note.

    There wouldn't really be a supported way to set this up in NinjaScript without normalizing the values between a range and then comparing those normalized values. You would need to normalize or translate one indicator's values so they are relative on the same scale in order to detect the cross and fire an alert.

    Please let us know if we may be of further assistance to you.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    571 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    330 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    548 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    548 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X