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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    81 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    41 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    64 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    66 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    54 views
    0 likes
    Last Post CarlTrading  
    Working...
    X