ATM Strategy Template (Complete Example, Can Be Used As-Is) (Uses NinjaTrader® ATM Strategies) (“Calculate” Should Be “On Each Tick”) (Point-and-Click NinjaTrader® Strategy)
Original Trading Strategy
Peer Reviews, Modifications & Responses
Thanks for Sharing!
Trading Strategy Summary
ATTENTION: PLEASE READ
The Quagensia help page titled How to Use Your NinjaTrader® ATM Strategies in Quagensia N Edition Strategies covers a lot of material, MOST OF WHICH YOU SHOULD LEARN BEFORE YOU USE YOUR OWN CUSTOMIZED COPIES OF THIS QUAGENSIA N EDITION STRATEGY to become as much of an expert about using your strategy, first and foremost for your own safety, but also to save yourself time in the long run that you would otherwise spend troubleshooting issues that are discussed on the help page whose link is above.
What This Strategy Enables You to Do
You can use your pre-existing NinjaTrader® ATM Strategies in Quagensia N Edition Strategies completely without code using this pre-built strategy template. It takes only a few minutes and no code is required.
If you are a discretionary trader or semi-automated trader and would like to create a Quagensia® N Edition Strategy that enters a position based on automated entry logic you create without code and then manages the open position using one of your pre-existing NinjaTrader® ATM Strategies that you can manually interact with the way you normally interact with ATMs, you can do this with ease in just a few minutes in Quagensia N Edition.
With the instructions on the Quagensia help page titled “How to Use Your NinjaTrader® ATM Strategies in Quagensia N Edition Strategies” at https://www.quagensia.com/help/use-your-ninjatrader-atm-strategies-in-quagensia-n-edition-strategies, you can do the following powerful things with your pre-existing NinjaTrader® ATM Strategies in Quagensia N Edition Strategies in just a few minutes and without any code.
1. You can create long-only, short-only, or long-short Quagensia N Edition Strategies that use your pre-existing NinjaTrader® ATM Strategies, and this can all be done in the same Quagensia N Edition Strategy, not separate Quagensia N Edition Strategies for the long-only, short-only, and long-short use cases. When you apply your strategy to a NinjaTrader® chart, you will be able to set it to only consider automated long entries, only consider automated short entries, or consider both automated long and short entries, allowing you to decide at the time you apply the strategy to a chart if you want to trade with a long or short bias or no long or short bias. You can even toggle your strategy’s consideration of automated long and/or short entries on or off (starting with the next possible automated long or short entry) by checking or unchecking check boxes on the chart. You can even start with both of the check boxes unchecked so that neither automated long nor short entries will be considered, and then after watching the chart for a while either check one or both of the check boxes that are on the chart when you want your strategy to start considering automated long and/or short entries.
2. You can use one NinjaTrader® ATM Strategy to manage your long positions and a different NinjaTrader® ATM Strategy to manage your short positions. You can even change the NinjaTrader® ATM Strategy that should be used to manage your long and/or short positions (starting with the next manual or automated long or short entry) directly from text boxes on the chart.
3. You can use completely different no-code entry signals to enter long and short positions.
4. Your automated entry signals can be very simple, highly complex, or anywhere in between, and you can build them in a few minutes without code by simply clicking choices on a screen as you would verbally describe your trading ideas. You can even make many separate “toggleable” long or short entry conditions that can be turned on or off individually from check boxes in the NinjaTrader® user interface when you apply your strategy to a NinjaTrader® chart and even make them toggleable even after the strategy is applied to a chart using toggle buttons or check boxes that the strategy adds to the NinjaTrader® chart on which it is applied, allowing you to change your strategy’s long or short entry conditions throughout the trading day in real-time directly from the chart instead of needing to leave the chart window and disable the strategy to toggle its entry conditions on or off.
5. You can choose to enter a long or short position manually by clicking a button on the chart if you don’t want to wait for your strategy’s long or short entry signals to trigger.
6. You can choose to exit the current long or short position before your NinjaTrader® ATM Strategy’s rules would normally exit the position by clicking a button on the chart.
7. Once your strategy enters a long or short position and the NinjaTrader® ATM Strategy is activated, you can manually interact with its protective stops and profit targets using their horizontal order level lines on the NinjaTrader® chart the way you normally would do it when you enter a position manually with an attached NinjaTrader® ATM Strategy. Once your customized Quagensia N Edition Strategy enters a long or short position either because your custom entry signal’s criteria evaluated to True or because you clicked a button on the NinjaTrader® chart to enter the position manually, you have full manual control over your NinjaTrader® ATM Strategy because the Quagensia N Edition Strategy passes control from itself to the NinjaTrader® ATM Strategy over which you have full manual control.
How To Acquire This Strategy and How It Differs from the Strategy Titled “ATM Strategy Template (Empty, Without Example Entry Signals) (Uses NinjaTrader® ATM Strategies) (‘Calculate’ Should Be ‘On Each Tick’) (Paid)”
This strategy is built into Quagensia N Edition. It is located in the “Algos from Quagensia >> Strategies >> Strategy Templates (Click & Copy to Start Fast)” folder of the Algo Explorer on the left side of Quagensia N Edition’s main application window.
This strategy, titled “ATM Strategy Template (Complete Example, Can Be Used As-Is) (Uses NinjaTrader® ATM Strategies) (‘Calculate’ Should Be ‘On Each Tick’) (Paid)”, is one of two nearly identical strategies built into Quagensia N Edition that allow traders to use their pre-existing NinjaTrader® ATM Strategies in Quagensia N Edition Strategies completely without code.
This strategy is the “complete example” version that is a complete working example that you can send to NinjaTrader® as-is without needing to add your own custom entry conditions first.
The other strategy, titled ATM Strategy Template (Empty, Without Example Entry Signals) (Uses NinjaTrader® ATM Strategies) (“Calculate” Should Be “On Each Tick”) (Paid), is the version that lacks example entry conditions. Instead, its long and short entry conditions are mere placeholders that read “True Is Equal To False”.
This complete example strategy might be the best one to start with because you can open it in Quagensia N Edition, send it to NinjaTrader®, and apply it to a chart in a Sim account to get a quick idea of how this strategy works without needing to spend the time required to add your own custom entry conditions.
The empty template strategy is a good strategy to make copies of when you want to add your own custom entry conditions because you won’t need to spend time deleting all the sample trading logic that is in this complete example strategy. That said, if your trading logic happens to include moving average cross over and cross under conditions, then you will likely prefer copying this complete example strategy instead because its sample logic happens to use moving average cross over and cross under conditions, and its input parameters include the two moving average periods as well as styling information for the plots of the moving averages.
The Quagensia help page titled How to Use Your NinjaTrader® ATM Strategies in Quagensia N Edition Strategies explains how to use this strategy, as well as the other version of this strategy.
Scroll down on this web page to see a large screenshot of this strategy in Quagensia N Edition with red annotations next to the two locations where you can add your own entry conditions. The topmost annotated location is where you can add your custom long entry conditions, and the bottommost annotated location is where you can add your custom short entry conditions. When you open this strategy from within Quagensia N Edition and scroll down to the “When Bar Updates” section of the strategy you will see the same customizable locations as annotated in the screenshot lower down on this web page.
Copyright © 2025 Quagensia, Inc. All rights reserved.
How to Get the Quagensia Strategies
This point-and-click trading strategy is built into Quagensia N Edition (for NinjaTrader®).
Customize Quagensia Strategies with Your Own Ideas
Tweaking Quagensia Trading Strategies using point-and-click with the Quagensia Desktop Application is easy for non-programmers. If you get stuck you can usually find the answer you need in our online help documentation or you can ask a question in our friendly Discord community.
If you don’t want to tweak a Quagensia Trading Strategy with point-and-click to add your own proprietary trading logic, you can still download a Quagensia Trading Strategy file, open it up in the Quagensia Desktop Application, and generate its code, then backtest and optimize the trading strategy on different instruments, different bar periods (weekly bars, daily bars, hourly bars, 15-minute bars, etc.), or different bar types (time-based bars, volume-based bars, tick-based bars, etc.), and use different start and end dates.
Some tweaks you can make to the Quagensia Trading Strategies you download include:
Modify the entry & exit logic.
- Add more conditions, remove conditions, or change them by choosing from among a very large number of components, including many exotic indicators.
- Add or modify stop losses, trailing stops, and profit targets. Make them tighter, less tight, or based on an entirely different calculation.
- Add or modify time stops. For example, exit after a certain number of bars either unconditionally or only if the post-entry price action did or did not exhibit certain characteristics.
Enhance the output of the strategy to go beyond simply placing orders.
- Draw lines, shapes, and text on the chart. For instance, you can mark times or prices where each entry or exit condition of a multi-condition entry or exit was true, even if all the necessary entry or exit conditions were not true at the same time so an entry or exit did not occur.
- Write information to NinjaTrader®’s NinjaScript® Output window or TradeStation®’s EasyLanguage® Print Log window.
- Write information to a file. You can even output a report that can be opened in Microsoft Excel or consumed by another application that reads comma-delimited, semicolon-delimited, or otherwise character-delimited tabular data files.


