The Quagensia Runtime Dll Setup Wizard has been replaced with the Quagensia N Edition Runtime Setup Assistant starting with version 25.3.212.0 of Quagensia N Edition, which was released on March 25, 2025.
The most powerful features of Quagensia® N Edition, such as the ability to read and write tables of data to and from tabular data files from within your Quagensia N Edition strategies, only work if the proper version of the QuagensiaRuntime.dll file is present in the NinjaTrader® 8 Bin-Custom folder.
If the proper version of the QuagensiaRuntime.dll file is not present in the NinjaTrader® 8 Bin-Custom folder when you generate the code for a Quagensia Strategy that uses the Quagensia Table System, the Quagensia Runtime Dll Setup Wizard window will automatically open and will guide you through the quick and easy process of copying the proper version of the QuagensiaRuntime.dll file into the NinjaTrader® 8 Bin-Custom folder.
Additionally, it will guide you through adding a reference to QuagensiaRuntime.dll from within your current installation of NinjaTrader® 8 if you have never done so.
Video Transcript: Using the Quagensia Runtime Dll Setup Wizard in Quagensia N Edition
Hi, I’m Brook from Quagensia,
And in this video, I will show you how to use the Quagensia Runtime Dll Setup Wizard, which opens automatically the first time you generate the code for a Quagensia N Edition Strategy that uses the Quagensia Table System, such as the three Quagensia Strategies here.
For instance, if you have never completed this wizard before and you open the Quagensia Strategy named “Analyze Actual Trades (Uses Table of Data Loaded from a Tabular File on Disk)” and generate its code by clicking this button, this wizard will appear.
Step 1 of this wizard just tells you to watch the video you are currently watching and explains what this wizard does and why it is so important.
This wizard will guide you through the quick and easy process of copying the QuagensiaRuntime.dll file into the NinjaTrader® 8 Bin-Custom folder and adding a reference to the QuagensiaRuntime.dll file from within your current installation of NinjaTrader® 8 if you have never done so.
Once you complete this wizard you will be able to use the most powerful features of Quagensia N Edition, such as the ability to read and write tables of data to and from tabular data files from within your NinjaTrader® 8 strategies and you will be able to use the three Quagensia Strategies here.
Let’s get started.
Click “Next” to go to step 2, which tells you to close all instances of NinjaTrader® 8 and wait 15 seconds to ensure that they are no longer running.
If any instances of NinjaTrader® 8 are running, you will likely be unable to copy the QuagensiaRuntime.dll file into the proper folder because running instances of NinjaTrader® 8 may cause the QuagensiaRuntime.dll file in the NinjaTrader® 8 Bin-Custom folder to be considered “in use” and therefore not overwritable.
Click “Next” to go to step 3, which allows you to enter a non-default location for the NinjaTrader® 8 Bin-Custom folder.
This is the folder where NinjaTrader® 8 expects third party dlls to be located.
In the rare event that you changed the folder path of the NinjaTrader® 8 Bin-Custom folder from its default location, you will need to enter the folder path to the NinjaTrader® 8 Bin-Custom folder in the text box below.
Click “Next” to go to step 4, which guides you through the process of manually copying and pasting the QuagensiaRuntime.dll file from a Quagensia N Edition folder into the NinjaTrader® 8 Bin-Custom folder.
Once you’ve done this, this red message will turn green and let you know that the QuagensiaRuntime.dll file was copied successfully.
To copy the QuagensiaRuntime.dll file, click on these two buttons to open up these two folders in two separate instances of Microsoft Windows File Explorer, then copy and paste the QuagensiaRuntime.dll file using File Explorer in the way that you normally copy files between folders.
Note how the red message turned green and says that the QuagensiaRuntime.dll file is present and up to date in the NinjaTrader® 8 Bin-Custom folder.
Note that since the 32-bit edition of NinjaTrader® 8 and the 64-bit edition of NinjaTrader® 8 share the same NinjaTrader® 8 Bin-Custom folder you only need to do this once and it will apply to both editions of NinjaTrader® 8.
Click “Next” to go to step 5, which guides you through adding a reference to the QuagensiaRuntime.dll file from within NinjaTrader® 8 if you have never done this before. Note that you can skip this step if you have ever done it before for your current installation of NinjaTrader® 8, even if you did it for an older version of the QuagensiaRuntime.dll file.
To add a reference to the QuagensiaRuntime.dll file from within NinjaTrader® 8, first open NinjaTrader® 8.
While NinjaTrader® is loading, it should be noted that Quagensia N Edition is a product of Quagensia, Inc., a company which has no affiliation with NinjaTrader, LLC.
Also, NinjaTrader® and NinjaScript® are registered trademarks of NinjaTrader, LLC.
Now that NinjaTrader® has opened, do the following from within it:
First, click on the “New” main menu item in the upper left of the main window of NinjaTrader® 8 and click the “NinjaScript Editor” menu item near the bottom of the list of menu items that appear. This opens the NinjaScript® Editor.
Then, right click on the main area of the “NinjaScript® Editor”, which is the area of the window that takes up the most space, and click on the “References…” menu item in the context menu that appears. This opens up the “References” window.
Then, click on the word “add” in the lower right of the “References” window. This opens up a window that says “Add”.
Then, scroll down through the list of folders and files on the righthand side of this window, select the file named “QuagensiaRuntime.dll”, then click the “Open” button. This closes the “Add” window.
Then, click the “OK” button in the lower right of the “References” window.
You now have successfully added a reference to the QuagensiaRuntime.dll file that your NinjaTrader® 8 strategies will now be able to use from within the current installation of NinjaTrader® 8.
Click next to go to the sixth and final step of the wizard which tells you that your Quagensia N Edition strategies should now be able to use all the most advanced features of Quagensia N Edition from within NinjaTrader® 8 and tells you how to get help if you experience any problems with this wizard.
Click “Close” to close the wizard and you’re done.
Now, when we click this button to generate the code for a Quagensia N Edition Strategy that uses the Quagensia Table System, such as the Quagensia Strategy named “Analyze Actual Trades (Uses Table of Data Loaded from a Tabular File on Disk)” that we opened at the beginning of this video, the Quagensia Runtime Dll Setup Wizard no longer automatically opens because Quagensia N Edition has determined that the QuagensiaRuntime.dll file in the NinjaTrader® 8 Bin-Custom folder is present and is the correct one.
Note that this wizard will automatically appear in the future if you install a newer version of Quagensia N Edition that comes with a newer version of the QuagensiaRuntime.dll file.
Now that you can use Quagensia N Edition Strategies that use the Quagensia Table System, you can now open these three Quagensia Strategies that come free with Quagensia N Edition, generate their code by clicking this button, and use them in NinjaTrader® 8 by following the instructions in each of their “Description & Notes” fields.
If you have a paid subscription to Quagensia N Edition or are in the free trial period, you can also customize these three strategies without code and create your own Quagensia N Edition Strategies that use the Quagensia Table System.
Quagensia N Edition’s innovative Quagensia Table System makes it easy to load tables of many kinds of data, not just time series data, from tabular data files into in-memory data tables that you can query, modify, and then write back to tabular data files on disk from your strategies. If you have valuable data in Microsoft Excel files, a database such as Microsoft SQL Server, SQLite, or MySQL, if you have access to exotic data via Bloomberg® Terminal®, Refinitiv® Eikon®, or another high end institutional platform, if you have tabular data output from MATLAB® or R, or if you have access to alternative data sources on the internet, it is generally very easy to get these kinds of data into comma-delimited, semicolon-delimited, or otherwise character-delimited tabular data files. And once you do, it is easy to get all of this data, even entire databases of data, into your NinjaTrader® 8 strategies by simply clicking choices on the screen in Quagensia N Edition. You can also create in-memory data tables and populate them with data from scratch, i.e. not from tabular data files, and then create, modify, and delete rows from these in-memory data tables. Regardless of how you create your in-memory data tables, Quagensia N Edition makes it easy to write that data to tabular data files on disk. This allows you to run a backtest or optimization of a NinjaTrader® 8 strategy that outputs a report containing tabular data that you can load into any database, use as input data in MATLAB® or R, or load into Microsoft Excel to manipulate further and use to create visually powerful charts and graphs that answer your questions about the markets in ways that backtest performance reports cannot. All features just described work with data columns of 73 different types of data including: 10 numeric data types, 3 date and time data types, colors, Booleans, text, and 57 “lists of choices” data types such as the months of the year or the days of the week.
That’s the end of our video. Thanks for watching. If you liked it, please let us know by giving this video a like and subscribing to our channel. And if you loved it, please consider sharing this video.
Download the free trial of Quagensia N Edition from quagensia.com to get all our free no-code trading strategies so that you can use them as-is and customize them without code.
And on behalf of our users, thank you to the content creators who customize these three strategies and even create their own that use the Quagensia Table System. Content creators, if you let us know when you’ve published high-quality Quagensia-enhanced content, we will consider promoting it for free on our website.
Have a great day.