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

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 ttrader23, 05-08-2024, 09:04 AM
    9 responses
    42 views
    0 likes
    Last Post ttrader23  
    Started by ZeroKuhl, Yesterday, 04:31 PM
    8 responses
    43 views
    0 likes
    Last Post ZeroKuhl  
    Started by reynoldsn, Today, 07:04 PM
    0 responses
    8 views
    0 likes
    Last Post reynoldsn  
    Started by puapwr, Today, 06:09 PM
    0 responses
    4 views
    0 likes
    Last Post puapwr
    by puapwr
     
    Started by franciscog21, Today, 05:27 PM
    0 responses
    13 views
    0 likes
    Last Post franciscog21  
    Working...
    X