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 SalmaTrader, 07-07-2026, 10:26 PM
    0 responses
    35 views
    0 likes
    Last Post SalmaTrader  
    Started by CarlTrading, 07-05-2026, 01:16 PM
    0 responses
    20 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 06-17-2026, 10:32 AM
    0 responses
    13 views
    0 likes
    Last Post CaptainJack  
    Started by kinfxhk, 06-17-2026, 04:15 AM
    0 responses
    19 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 06-17-2026, 04:06 AM
    0 responses
    21 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X