Note: This project is no longer maintained. There are no plans to migrate to NT8.
EmBars 2.x is the version-2 rewrite of the popular MomentumBars, created and released in February 2011 to the BMT Elite community and then re-released in 2012 with the GNU-GPL free and open-source license.
- Download the latest NinjaTrader zip import.
- Clone repo: https://github.com/coroin/embars.git
- Open NinjaTrader
- Click File > Utilities > Import NinjaScript...
- Browse to EmBars zip file location (eg. your desktop)
- Select EmBars zip file
- Click Open
- Select OK to complete the import Note: It is recommended to restart NinjaTrader after install.
- Follow the same instructions for INSTALLATION
- You MUST restart NinjaTrader after importing.
- Open NinjaTrader
- Connect to your data provider (File > Connect > Your-Data-Provider)
- File > New > Chart
- Select an Instrument or enter one in the box
- In the right-pane, under Period, change Type to EmBars
- Set the config # (1 is the default)
- Click OK
- Open the EmBars Configuration Tool
- Make note of the Config # (1 is the default) Note: DO NOT open more than one chart with the same config #
- Change values (Open, Close, Min, Max)
- Click [apply]
- Open the EmBars Configuration Tool
- Click [save as]
- Browse to the folder where you wish to save
- Select a file or type a name
- Click Save Note: Changes are automatically saved to the EmBars Config file used by the chart. This feature is only for saving your favorite parameter sets to archive or share.
- Open the EmBars Configuration Tool
- Click [open]
- Browse to the folder with the config file to load
- Select the file
- Click Open
- Make changes, as needed
- To apply the setitngs, click [apply]
- Open the EmBars Configuration Tool
- Click [apply]
- Open NinjaTrader
- Click File > Utilities > Remove NinjaScript Assembly
- Select Coroin.Embars
- Click Remove
- Click Yes to remove the assembly
- Click Ok Note: It is recommended to restart NinjaTrader after uninstall.
Note: Please follow steps for UNINSTALLATION / REMOVAL before proceeding with the following!
- ensure NinjaTrader is shut down
- delete the following files, if they exist
- NT7\bin\Custom\Coroin.EmBars.dll
- NT7\bin\Custom\Indicator\EmSamples.cs
- [optional] NT7\bin\Custom\EmBars-Config-#.xml (where # is the config Id)
- open NinjaTrader (you may get errors)
- click File | New | Workspace
- close all other workspaces, leaving just the new blank one open
- save the workspace with a name of your choosing, such as debug
- click Tools | Edit | NinjaScript Indicator |
- right-click in the whitespace and select References
- if there is an entry for Coroin.EmBars.dll, click that row and press Delete
- click OK
- compile the indicator by pressing F5
- if you get errors at this point, it's not related to EmBars;
- fix that error(s) before proceeding with step 10
- shut down NinjaTrader
- follow INSTALLATION procedure above
- restart NinjaTrader after installation
- click File | New | Chart
- select EmBars as the Bar Type
- open your previous workspace
- you can switch back and close the debug workspace so it won't open in the background if you made it this far with no errors, then it's time to celebrate :-)
- Do NOT open more than one chart with the same Config #. You may get unexpected results. Always use a separate Config # for each chart.
- There are no other known issues at this time.
Please review the license file.