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 futtrader, 04-21-2024, 01:50 AM
        4 responses
        41 views
        0 likes
        Last Post futtrader  
        Started by Option Whisperer, Today, 09:55 AM
        1 response
        12 views
        0 likes
        Last Post bltdavid  
        Started by port119, Today, 02:43 PM
        0 responses
        8 views
        0 likes
        Last Post port119
        by port119
         
        Started by Philippe56140, Today, 02:35 PM
        0 responses
        7 views
        0 likes
        Last Post Philippe56140  
        Started by 00nevest, Today, 02:27 PM
        0 responses
        7 views
        0 likes
        Last Post 00nevest  
        Working...
        X