Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Attach order to indicator with a displacement

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

    Attach order to indicator with a displacement

    Hello,
    I'm looking to attach an order to an indicator using the previously closed bar info. I'm using an indicator that calculates S/R levels during the current bar and want to use the previous closed bar S/R value as an entry point. So if I can attach an order to the previously closed bar levels, that would resolve my issue. I've tried changing the displacement of the indicator to -1, but that's not a viable solution.
    Thanks for your time.

    #2
    Hello ac33trader,

    Thank you for the message.

    The "Offset" setting would offset the order vertically by the specified number of Ticks.
    • For example, if it was the ES where the Tick size is .25, If the indicator was at 1000 and you set the Offset to 5 Ticks, the order would be placed at 1001.25.
    Please see the following link for a more detailed explanation of how the "Attach to Indicator" feature and its settings work:
    There is no way to have an order automatically reference the close of the last bar or attach an indicator to the close of a prior bar.

    You would have to find or create a NinjaScript Strategy that would submit the orders in the manner that you desire.
    • You could reach out to whoever you got the S/R Levels indicator from and ask them if they have a NinjaScript Strategy or Add-on that would add in the ability to place orders from the indicator as desired.

    Please let us know if we may provide any further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Today, 05:17 AM
    0 responses
    20 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    119 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    63 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
    45 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X