Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Need help building a Bollinger Band Strategy.

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

    Need help building a Bollinger Band Strategy.

    Hi all.

    So i trade using BB at set levels etc. What i want is an indicator/ strategy that will alert when price goes above/ below the BB levels. Simple really but i cant code and AI cant seem to get it right either. so an indicator with alerts for manual trading and a strategy for auto trading would be great. I would really appreciate it.

    Happy new year to all.

    #2
    Hello LiamTwine,

    Thanks for your post and welcome to the NinjaTrader Forums!

    The Bollinger() system indicator method could be used to access Bollinger Band indicator values in NinjaScript.

    You could create a condition that checks if the Close price (Close[0]) is greater than or less than the Bollinger().Upper[] or Bollinger().Lower[] values and call the Alert() method to fire an alert.

    See the help guide documentation below for more information.

    Bollinger(): https://ninjatrader.com/support/help...nger_bands.htm
    Close[]: https://ninjatrader.com/support/help.../nt8/close.htm
    Alert(): https://ninjatrader.com/support/help.../nt8/alert.htm

    Below is a link to a forum post with helpful information about getting started with NinjaScript.
    https://ninjatrader.com/support/foru...040#post786040

    " ...but i cant code... "

    This forum thread will be open for other community members to offer their services and share their insights.

    If you need someone to write this script for you and add this method call on your behalf, you can also contact a professional NinjaScript Consultant who would be eager to create or modify this script at your request or assist you with your script.

    You can search our extensive library of NinjaScript consultants through the link below. Simply enter a consultant name or search by using our filter categories. Once you have identified your consultants of choice, please visit each consultant's site for more information or contact them directly to learn more!

    https://ninjatraderecosystem.com/sea...mming-services

    Educators - https://ninjatraderecosystem.com/sea...ures=education

    You can locate the contact information for the consultants on their direct websites for any additional questions you may have. Since these consultants are third-party services for NinjaTrader, all pricing and support information will need to be obtained through the consultant.

    This NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The companies and services listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.
    <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 Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    556 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    324 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    545 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    547 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X