Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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.
    Brandon H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by fx.practic, 10-15-2013, 12:53 AM
    5 responses
    5,404 views
    0 likes
    Last Post Bidder
    by Bidder
     
    Started by Shai Samuel, 07-02-2022, 02:46 PM
    4 responses
    95 views
    0 likes
    Last Post Bidder
    by Bidder
     
    Started by DJ888, Yesterday, 10:57 PM
    0 responses
    7 views
    0 likes
    Last Post DJ888
    by DJ888
     
    Started by MacDad, 02-25-2024, 11:48 PM
    7 responses
    159 views
    0 likes
    Last Post loganjarosz123  
    Started by Belfortbucks, Yesterday, 09:29 PM
    0 responses
    8 views
    0 likes
    Last Post Belfortbucks  
    Working...
    X