Using Basic Arithmetic (+, -, *, and /)

The “Basic Arithmetic (+, -, *, and /)” expression allows you to add, subtract, multiply, or divide two or more numeric expressions together, and includes the ability to use parentheses to ensure that the expressions are added, subtracted, multiplied, or divided in a different order than the standard arithmetic “order of operations”.

For your safety, it is highly advised to use parentheses whenever you are operating on more than two terms in a “Basic Arithmetic (+, -, *, and /)” expression that are being combined with mathematical operators that aren’t either all addition operators or all multiplication operators. This ensures that the order in which the terms are combined together will be exactly what you would expect based on a quick visual inspection of the “Basic Arithmetic (+, -, *, and /)” expression in the Quagensia® Desktop Application’s user interface.

When dividing two numbers together, remember these things:

  1. On some trading platforms, such as NinjaTrader® 8 and NinjaTrader® Desktop, if both numbers are whole numbers, any decimal portion of the result is truncated. For example, 8 / 5 = 1, not 1.6. This is called “integer division”. On other trading platforms, such as TradeStation® 9.5 and 10, the decimal portion of the division of two whole numbers is maintained, so 8 / 5 = 1.6 in TradeStation® 9.5 and 10.
  2. On some trading platforms, such as NinjaTrader® 8 and NinjaTrader® Desktop, if either one of the two numbers is a decimal, the result maintains its decimal portion.
  3. Division by 0 is an invalid operation and will cause an error to occur when you attempt to run your trading strategy in the trading platform.

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.