Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Getting Current Price of Manually Drawn Ray

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

    Getting Current Price of Manually Drawn Ray

    Hi,

    is there a (supported or unsupported) way to get the x-value of a ray for the current bar into a variable that can be used in an indicator?

    As the Alert function makes use of e.g. "Crosses Below Ray" that should be possible, I just can*t seem to find sample code...

    Thanks for the feedback.

    #2
    Hello scalpingtrader,

    You would need custom calculations for this.

    Below is a link to the LineAlert indicator for NinjaTrader 7 that has similar logic you could adapt from.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

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