Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

pending order 1 tick above or below the bars predicted high / low

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

    pending order 1 tick above or below the bars predicted high / low

    Hello,

    My strategy runs off a Range( 8 ) chart The strategy involves placing Buy/Sell Stop orders one tick above/below the signal bars high/low.

    My problem:

    In fast markets the strategy will often get an invalid order message because the market has moved too fast.

    What I would like to do:

    Before the current bar, closes, if the strategy has a valid signal, I would like to place a pending order 1 tick above/below the bars predicted high/low to get in the trade on the next bar.

    do you know a seller who has this? the ideal would be to just click on a button and the pending order appears 1 tick above or below the bars predicted high / low.


    #2
    Hello gravdigaz6,

    I wouldn't have any advice for predicting the high or low.

    But to add 1 tick to the current bars high or low.

    High[0] + 1 * TickSize.

    To verify the price is valid you can add or subtract to the current ask or bid.

    double limitPrice;

    if (myPrice > GetCurrentAsk() + 1 * TickSize)
    limitPrice = myPrice;
    else
    limitPrice = GetCurrentAsk() + 1 * TickSize;
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hi, I am dealing with something similar. I use 20 range charts along with the Ninzaco bar status indicator (free). As shown in the attached image. I want to have buy and sell buttons for placing an order above or below the indicator which is the high/low of the current bar once it closes. Let me know if you have found a solution.

      Comment


        #4
        Hello jorisje,

        If you have an indicator with a plot, you can use that value rounded to ticksize and add a tick and then use this for a limit or stop price.

        EnterLong(MyIndicatorName().PlotName[0] + TickSize);
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        88 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        134 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        68 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        119 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        69 views
        0 likes
        Last Post PaulMohn  
        Working...
        X