The SwamiWave and related indicators, as discussed in “Setting Strategies With SwamiCharts” by John Ehlers & Ric Way in this issue, has been implemented as an indicator available for download at www.ninjatrader.com/SC/April2012SC.zip.
Once you have it downloaded, from within the NinjaTrader Control Center window, select the menu File → Utilities →Import NinjaScript and select the downloaded file. This file is for NinjaTrader version 7 or greater.
You can review the indicator source code by selecting the menu Tools → Edit NinjaScript → Indicator from within the NinjaTrader Control Center window and selecting SwamiWave, BPF, or MarketMode.
NinjaScript uses compiled DLLs that run native, not interpreted, which provides you with the highest performance possible.
A sample chart implementing the strategy is shown in Figure 6.
FIGURE 6: NINJATRADER, SWAMICHARTS INDICATOR. This screenshot shows the “SwamiWave” indicator applied to a daily chart of the emini S&P (ES 03-12).