View Full Version : Can DrawRay be modified such that is displays the projected price?
ojohnson
07-12-2009, 09:11 AM
I'm using DrawRay to display trend lines. It works as expected. However, I would like to see the projected price.
NinjaTrader_Ben
07-12-2009, 10:14 AM
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.
ojohnson
07-12-2009, 10:38 AM
I would like to set PaintPriceMarkers = true and see the price where the ray intersects the y-axis.
NinjaTrader_Ben
07-12-2009, 04:27 PM
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:
http://www.ninjatrader-support.com/HelpGuideV6/DrawTextFixed.html