Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Building a Database

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

    Building a Database

    I am about to embark on the daunting task of building a database to work with an NT8 strategy. I am very limited on my coding abilities, so please be patient and excuse the ignorance. I am looking to build a database of certain candlestick patterns that I would like my strategy to refer to in order to paint a signal and/or enter a trade.

    The goal is at the close of each candle I would like the strategy to reference the database to verify if the current candlestick pattern is found within the database. If so, I would like the strategy to paint a signal and/or enter a trade.

    Can you recommend an easy-to-use database creation program that would work with NT8? Also, can you recommend an easy-to-use program that would communicate between the database and NT8? Hopefully, this makes sense. If not, I would appreciate any directions or guidance.

    #2
    Hello gregarious13,

    Thanks for your post.

    You could consider creating a custom NinjaScript indicator that uses the NinjaTrader CandleStickPattern indicator to check for certain candlestick patterns. That indicator could then be used in a NinjaScript strategy to draw objects on a chart or place trades. Or, the indicator could draw objects on the chart when a certain candlestick pattern occurs.

    To create a NinjaScript indicator, open a New > NinjaScript Editor window, select the '+' tab at the bottom of the Editor window, select 'New Indicator'. Then, you could set up as much of the indicator as possible in the Indicator Builder. This will create the framework of the indicator or strategy

    Once you finish setting up as much as possible in the Indicator Builder, you must manually program the rest of the indicator.

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

    See this help guide page for more information about accessing the CandleStickPattern indicator in a NinjaScript: https://ninjatrader.com/support/help...ickpattern.htm

    Let me know if I 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
    62 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    134 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    75 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
    50 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X