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

Can DrawRay be modified such that is displays the projected price?

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

    Can DrawRay be modified such that is displays the projected price?

    I'm using DrawRay to display trend lines. It works as expected. However, I would like to see the projected price.

    #2
    Hello,

    You want to draw it so it extends into the space to the right of the most recent bar? You should be able to. Provide a screen shot of what you are getting and some code and I will attempt to assist you.
    DenNinjaTrader Customer Service

    Comment


      #3
      Can DrawRay be modified such that is displays the projected price?

      I would like to set PaintPriceMarkers = true and see the price where the ray intersects the y-axis.
      Attached Files
      Last edited by ojohnson; 07-12-2009, 01:33 PM. Reason: posting screen shot and code

      Comment


        #4
        Hello,

        This is not supported. I suggest you put a linear equation (y = mx + b) in your indicator to determine the intercept of the y axis at some point in the future then use DrawTextFixed() to print it on your screen:
        DenNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Jimmyk, 01-26-2018, 05:19 AM
        6 responses
        835 views
        0 likes
        Last Post emuns
        by emuns
         
        Started by jxs_xrj, 01-12-2020, 09:49 AM
        6 responses
        3,291 views
        1 like
        Last Post jgualdronc  
        Started by Touch-Ups, Today, 10:36 AM
        0 responses
        10 views
        0 likes
        Last Post Touch-Ups  
        Started by geddyisodin, 04-25-2024, 05:20 AM
        11 responses
        62 views
        0 likes
        Last Post halgo_boulder  
        Started by Option Whisperer, Today, 09:55 AM
        0 responses
        9 views
        0 likes
        Last Post Option Whisperer  
        Working...
        X