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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    80 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    40 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    63 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    63 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