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 Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    576 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    334 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    553 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    551 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X