Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Exit Bollinger Before Bar Close

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

    Exit Bollinger Before Bar Close

    I am attempting to code my strategy to take profit as soon as it hits the top Bollinger band before the bar closes. Is this possible? Thanks!

    #2
    Hello joeyfreshwater,

    Thanks for your post.

    If you run your strategy with Calculate mode OnBarClose, the strategy will process only at the close of each bar.

    To have the strategy process more frequently, you could use Calculate mode OnPriceChange or OnEachTick. This will allow the strategy to process data for each change in price or each incoming tick.

    See this help guide page for more information about Calculate: https://ninjatrader.com/support/help...?calculate.htm

    Let us know if we may assist further.
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Yesterday, 05:17 AM
    0 responses
    56 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    133 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    73 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    45 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    49 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X