Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Is there a way to use a market order, but prevent buying at the HIGHEST point?

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

    Is there a way to use a market order, but prevent buying at the HIGHEST point?

    Hi All,

    I have a strategy that runs on the 15M chart, it often buys at the highest point of the candle and I'm trying to see if there's a way to avoid it but still ensuring that the trade will execute?
    I want to buy only if I can get a price of the bottom 50% of the candle instead. Example is attached.

    In addition:
    - is there a way to add intra-bar actions? for example, if the price drops but the candle isn't closed yet - exit? if certain open loss is hit - exit?
    Attached Files
    Last edited by darkgreen; 08-24-2020, 09:02 AM.

    #2
    Hello darkgreen,

    When using Calculate.OnPriceChange you could calculate 50% from the high to the low and submit a market order when that price is reached using a custom condition.

    Below is a link to the help guide on the Calculate property.
    https://ninjatrader.com/support/help.../calculate.htm

    See the post below about historical intra-bar granularity as well.
    https://ninjatrader.com/support/foru...377#post773377
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Today, 05:17 AM
    0 responses
    29 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    124 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    64 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    41 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    46 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X