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 llanqui, Today, 03:53 AM
        0 responses
        6 views
        0 likes
        Last Post llanqui
        by llanqui
         
        Started by burtoninlondon, Today, 12:38 AM
        0 responses
        10 views
        0 likes
        Last Post burtoninlondon  
        Started by AaronKoRn, Yesterday, 09:49 PM
        0 responses
        15 views
        0 likes
        Last Post AaronKoRn  
        Started by carnitron, Yesterday, 08:42 PM
        0 responses
        11 views
        0 likes
        Last Post carnitron  
        Started by strategist007, Yesterday, 07:51 PM
        0 responses
        14 views
        0 likes
        Last Post strategist007  
        Working...
        X