More Ways of Adding a Trading Hours Filter to a Strategy for NinjaTrader® by Strategy Apex (Quagensia® N Edition)
Original Educational Resource
In this video by Strategy Apex you will learn some other ways of adding a trading hours filter to a no-code strategy for NinjaTrader® that uses LizardIndicators’ SuperTrend U11 using Quagensia N Edition, the Quagensia no-code strategy builder for NinjaTrader®. You will also learn how to set a Boolean (True or False) variable with a condition and then replace a condition in an IF block’s “Set of Conditions” with the Boolean variable to make a large set of conditions easier to read by making it less cluttered and complicated, and you will see how an experienced user uses copy-and-paste to greatly reduce the time it takes to build his no-code trading logic.
Peer Reviews, Modifications & Responses
Thanks for Sharing!
How to Get Quagensia Strategies
This educational resource does not have a point-and-click trading strategy for NinjaTrader® or TradeStation® associated with it but there are many downloadable point-and-click trading strategies for NinjaTrader® and TradeStation® on our website which you can open in Quagensia® N Edition (for NinjaTrader®) or Quagensia® T Edition (for TradeStation®) and there are many point-and-click trading strategies built into Quagensia® N and T Edition as well.
View the most recent point-and-click trading strategies and education for NinjaTrader®.
View the most recent point-and-click trading strategies and education for TradeStation®.
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.

