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 NullPointStrategies, Yesterday, 05:17 AM
        0 responses
        71 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        143 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        76 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        47 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        51 views
        0 likes
        Last Post TheRealMorford  
        Working...
        X