Using a Quagensia Function’s Internal Variables Section (N Edition Only)

The Internal Variables Section of a Quagensia® N Edition Function

The “Internal Variables (Including Secondary Price Bars, Indicators, Plots, etc.)” section of a Quagensia® N Edition Function contains variable definitions that are used to store values that are part of the internal logic of the function.

To learn more about any item in this section of a Quagensia N Edition Function, place your mouse pointer over any of the following things to view information about the item both in a tooltip that appears and in the Context-Sensitive Help panel:

  1. The icon to the right or upper right of any item
  2. The label next to any editable field
  3. Any list of data types (Information about a data type appears in the Context-Sensitive Help panel only. No tooltip will be displayed.)
  4. Any column header of the main grid in this section
  5. Any button on the right side of any row

How To Create Variables in Quagensia T Edition Functions

Quagensia T Edition Functions do not have an “Internal Variables” section where you can define internal variables.

Instead, Quagensia T Edition allows you to define special kinds of variables in a Raw Code Output (Single or Multiple Statements) action’s text box by right clicking in the text box and selecting the variables to define. This method of defining variables becomes absolutely essential when creating Quagensia T Edition Functions, because the only way to create variables that store information in Quagensia T Edition Functions is by using this method in a Quagensia T Edition Action Function.

Quagensia T Edition Expression Functions only have input parameters. They do not have internal variables and you cannot create the special kinds of variables just described in Quagensia T Edition Expression Functions like you can for Quagensia T Edition Action Functions. Workaround: If you need to create a Quagensia T Edition Function that does calculations that must be stored in internal variables and then returns a result, you can create a Quagensia T Edition Action Function instead of an expression function, create an input parameter that can be set by reference, create variables in a Raw Code Output (Single or Multiple Statements) action’s text box by right clicking in the text box and selecting the variables to define, then store the results of the calculations in the variables, then return the final result of the complex calculation by setting the value of the input parameter by reference rather than returning the result as the return value of a Quagensia T Edition Expression Function.

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.