Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Custom exit based off of candle High Low Open and Close

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

    Custom exit based off of candle High Low Open and Close

    Hello,

    I am looking to create an exit which executes depending on how a candle's High Low Open and High play out. For example, let's say the price trend is in an upward run and there is a candle which demonstrates a good amount of rebounding pushback (demonstrated by there being SIGNIFICANT distance between the high and the close).

    Has anyone set something like this up before? I have a feeling this would go beyond the strategy builder.

    Thanks for any help you can provide.

    #2
    Hello Kensonprib, thanks for your post.

    You can make conditions that evaluate multiple bars in the strategy builder. Use the Bars Ago property to access previous bars of a series. I do not know of an exact example that already implements this, but I would first recommend defining what exactly your condition translates to in NinjaScript. What exactly does rebounding pushback mean in terms of the price of candles? You would need to define what a significant distance means in the strategy to base any condition off of it i.e. define an exact number of ticks, points, etc. that you are looking for in a signal.

    Please let me know if I can assist any further.
    Last edited by NinjaTrader_ChrisL; 03-16-2021, 11:59 AM.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    581 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    338 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    103 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    554 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    552 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X