Drawing NinjaTrader Drawing Objects In The Future (The Empty Area to the Right of the Current Bar of a NinjaTrader Chart)

You can now draw many of the NinjaTrader “Drawing Objects” in the future, i.e. in the empty area to the right of the current bar on a NinjaTrader chart, using no-code Quagensia N Edition Functions.

All no-code Quagensia N Edition Functions that draw objects on a NinjaTrader chart now allow you to enter negative numbers in their “Bars Ago” parameters to draw all or part of the shape “in the future” with the exception of the following no-code drawing functions that we determined did not work properly on live charts, in Market Replay, and/or in Strategy Analyzer backtests:

  1. Functions in the “Draw Something >> Colors” folder.
  2. Functions that start with “Draw Polygon” in the “Draw Something >> Large Shapes” folder.
  3. Functions that start with “Draw Path” in the “Draw Something >> Lines” folder.
  4. Functions in the “Draw Something >> Channels” folder.

Note that the word “folder” in the four items above is short for “folder in the context menu that opens when a location is clicked where the mentioned functions are allowed”.

An attempt to enter a negative number directly into a “Bars Ago” parameter of any of the functions listed in the exclusion list above will result in the Quagensia N Edition Strategy being invalid and will cause Quagensia N Edition to disallow you to generate the strategy’s code until you enter a number that is greater than or equal to 0 for the invalid “Bars Ago” parameter. Whereas entering a negative number directly into a “Bars Ago” parameter of any of the drawing functions not listed in the exclusion list above is allowed and will not result in a validation error that Quagensia N Edition requires you to fix before you can generate the strategy’s code.

Note that while you are free to use this feature of Quagensia N Edition by entering negative numbers in the “Bars Ago” parameters of no-code drawing functions that allow them, using a negative number as the value of one of the “Bars Ago” parameters of a no-code drawing function in Quagensia N Edition cannot be officially supported by Quagensia, Inc., because NinjaTrader, LLC does not officially support using negative numbers in the respective “Bars Ago” parameters of the respective NinjaScript functions that are used by the no-code Quagensia N Edition Functions. Here is what a scripting support employee at NinjaTrader, LLC emailed us in response to an email we sent them were we asked about using negative numbers in NinjaScript drawing functions (the bold and italic formatting in the quote below was not in the original email and was done by us at Quagensia, Inc.):

On time based bars with predictable intervals using a negative number generally works. When using a bar type that does not have a predictable interval like range, renko, tick, etc, the drawing objects will move in location when the chart is reloaded.

As this behavior is detrimental to some traders, using negative indexes is not supported by the NinjaTrader Support team.

Using unsupported code is your choice to use, though our team will not be able to assist with any undesired behavior as a result.

If you are finding using the unsupported code works consistently for your use case it would be your choice to proceed.

Submit your high-quality Quagensia tutorials for consideration for free inclusion on our website.

If you publish high-quality Quagensia tutorials on a social media platform like YouTube, please consider submitting them to us. We may promote them for free by linking to them from relevant pages on our website.

To submit your Quagensia tutorials for consideration for free inclusion on our website, use the How to Submit Your Quagensia-Enhanced Content page. We are available by phone or email to help you create, publish, and promote Quagensia-enhanced content. You can also get questions answered in our Content Creator Support Center and in the official Quagensia® Discord community’s content-creators channel.

Thanks for Sharing!

Ready to get started?

Download the Quagensia no-code strategy builder free trial and build your trading strategies now.

Under a dollar a day.

Priced to be an easy decision for most traders.

Join Us on Discord

Build point-&-click strategies for NinjaTrader® and TradeStation® using Quagensia®. Collaborate with other traders to get and give help, build and backtest strategies together, and grow your skills.

Subscribe to our Newsletter

We'll send you product updates and company news from Quagensia as well as curated lists of Quagensia-enhanced content.

Welcome
Content Creators

Quagensia enables content creators to make interactive content. We invite you to create Quagensia-enhanced content and share it on YouTube and other social media channels. You may submit your high-quality Quagensia-enhanced content for consideration for free inclusion on our website.

Screenshots

For larger and additional screenshots, see large Quagensia N Edition screenshots (for NinjaTrader®) and large Quagensia T Edition screenshots (for TradeStation®).

For additional screenshots, see the list of Strategies Built into Quagensia N Edition (for NinjaTrader®) and Strategies Built into Quagensia T Edition (for TradeStation®). Select a built-in strategy that interests you and scroll down for the screenshot. Then scroll up to the top of the page and click the “Overview” link to watch the video on how to use that built-in strategy.

This is a screenshot of the point-and-click trading strategy you will build in Quagensia N Edition (for NinjaTrader®) if you follow along with the video titled Create NinjaTrader® Strategies Using Point-&-Click with Quagensia N Edition – Full Tutorial.

This is a screenshot of the point-and-click trading strategy you will build in Quagensia N Edition (for NinjaTrader®) if you follow along with the video titled "Introduction to Quagensia N Edition".

Click the gear icon that appears when you place your mouse pointer over the location to which you would like to add trading logic. A context menu will appear with filtered options to choose from.

Click the gear icon that appears when you place your mouse pointer over the location to which you would like to add trading logic. A context menu will appear with filtered options to choose from.

Thanks for Sharing!

Ready to get started?

Download the Quagensia no-code strategy builder free trial and build your trading strategies now.

Under a dollar a day.

Priced to be an easy decision for most traders.

Join Us on Discord

Build point-&-click strategies for NinjaTrader® and TradeStation® using Quagensia®. Collaborate with other traders to get and give help, build and backtest strategies together, and grow your skills.

Subscribe to our Newsletter

We'll send you product updates and company news from Quagensia as well as curated lists of Quagensia-enhanced content.

Welcome
Content Creators

Quagensia enables content creators to make interactive content. We invite you to create Quagensia-enhanced content and share it on YouTube and other social media channels. You may submit your high-quality Quagensia-enhanced content for consideration for free inclusion on our website.