Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Drawing rays at the projected closing price of a Renko bar

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

    Drawing rays at the projected closing price of a Renko bar

    Hello and PLEASE HELP!!!

    This is the first indicator I have ever tried to create and I am just not able to get it to work.

    The goal is to be able to draw 2 dashed rays extending to the right of the current bar. Their positioning would be determined by the previous bar's direction. Here are the details. I know it's not written in the NinjaScript code, but I thought it would be the easiest way to explain it.

    Variables: Reversal and Trend

    If (Close[1] > Open[1]) then (Draw a Ray "Trend" ticks above Close [1] and Draw a Ray "Reversal" Ticks below Close[1])

    The opposite would be true if Close[1] < Open[1]..

    I'll take any and all help you can give.

    Thank you so much,
    Eddie


    #2
    Hi eddie0816, thanks for your post.

    If you are having trouble with the syntax of the indicator consider making the condition in the Strategy Builder. This will provide a GUI to create this condition and draw the ray onto the chart. We have tutorials on creating conditions and actions in the builder here:

    https://ninjatrader.com/support/helpGuides/nt8/?strategybuilder_condition_builder.htm - Conditions
    https://ninjatrader.com/support/help...8/?actions.htm - Actions

    Please let me know if I can assist any further.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    68 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    151 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    162 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    100 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    288 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Working...
    X