Swordfish Trading Systems
Ninja Trading System - Version 2

Ninja comes to us courtesy of trader Justin O.  Justin primarily uses it on the Dow and FTSE futures and we have coded it for use on Swordfish.  Version 2 has been updated to be easier to read and much smaller, allowing it to be tagged to the top or bottom of any chart.  It allows you to modify all the parameters, but I have also included a no parameter version which uses Justin's standard settings.
Insert the system as a Custom Indicator as shown below and add it as a new chart area on a 5 minute ALSI chart.

Create the Ninja Trading System on your Swordfish by following the instructions below:
Follow the detailed instructions for the Custom Indicator Installation Example if you are unsure of how to add an indicator or watch our YouTube video.

Create a new custom FML script like the one shown below. Mine is named: CSJO_Ninja2
Remember that Swordfish FML does not allow spaces or many other characters in the name. Stick to alphanumerics and underscores.

Download the Swordfish indicator script file. Use Ctrl-V to paste the code from the downloaded file into the script area.
Use the CSJO_Ninja2NoP.txt if you want to use the standard settings and not add the parameters. This is much easier.

Swordfish Indicator:
CSJO_Ninja2.txt CSJO_Ninja2.txt
Size : 0.935 Kb
Type : txt
CSJO_Ninja2NoP.txt CSJO_Ninja2NoP.txt
Size : 0.891 Kb
Type : txt

The new standard version uses 9 parameters that have to be added manually:

MAP
RSIP
MTMP
StoP
StoPK
StoPD
MACDLongP
MACDShortP
MACDSignalP

Moving Average Periods
RSI Periods
Momentum Periods
Slow Stochastic Periods
Slow Stochastic K Smoothing Periods
Slow Stochastic D Smoothing Periods
MACD Long or Slow Periods
MACD Short or Fast Periods
MACD Signal Periods

MAP

Ninja Trading System Parameter

RSIP

Ninja Trading System Parameter

MTMP

Ninja Trading System Parameter

StoP

Ninja Trading System Parameter

StoPK

Ninja Trading System Parameter

StoPD

Ninja Trading System Parameter

MACDLongP

Ninja Trading System Parameter

MACDShortP

Ninja Trading System Parameter

MACDSignalP

Ninja Trading System Parameter

The sample shows CSJO_Ninja2 in the top chart area on a 5 minute chart on the 11th of October 2012.
There are three colour phases to the green and red dots, from light to dark.
The dark red denotes a short and the dark green shows when the system buys long.

Ninja Trading System Chart