Search This Blog

Tuesday, March 31, 2015

Defining a Trade Setup using Crossovers with Ninjatrader

Hello Traders !

Today we are reviewing several Indicators that can be used to define a Crossover Trade Setup.

There are some Indicators that produce only one line, like EMA, SMA, HMA, etc.

Then we can use 2 Instances of same Indicator with different settings and check its Crossovers.

Examples : 

Crossovers of an EMA(14) vs EMA(7)

Note : The places where the Blue Line crosses above the Cyan Line there is a Long Entry Signal. Where the Blue Line crosses below the Cyan Line there is a Short Entry Signal.

On these type of Setups the Best Results can be obtained with faster Indicators like the HMA. 
The HMA produces faster and less lagged results as we can see on this Chart

Crossovers between an HMA(26) and an HMA(12) :

Note : On this example the Crossovers are indicated with Arrows using the Custom Indicator TIS_HMA_XO
The Entry Signals produced by the TIS_HMA_XO Indicator can be automated using the The Markers System.

Some other Indicators produce 2 lines like MACD, RSI, Stochastics, etc.
On those cases we can check the Crossovers of the 2 Lines produced by the Indicator.

Examples using 2 lines Indicators :

On this Chart we can see the Stochastic, MACD and RSI on the lower panes

Stochastic and RSI are Indicators that plot its lines in a defined range from 0 to 100, so we can define overbought and oversold zones.
MACD has no defined limit for its plots, so not suitable for overbought/oversold analysis but we can use it to trigger signals when the MACD crosses the AVERAGE lines as we can see on this Chart :

MACD Crossover ( MACD vs Average Line ) :

The Blue and Red Arrows indicate where the Macd crosses the Average Line.
These arrow signals can be painted by the Custom Indicator TIS_MACD_XO and automated using the The Markers System.

More info on this YouTube Video

RSI Crossover ( RSI vs Average Line )

As we can see the RSI produces a good amount of signals but it is very fast without lag. 
The values of RSI are limited between 0 and 100, so if we optimize its settings we can take only longs on the oversold area and only shorts on the overbought area. But the overbought/oversold level on RSI is not its best feature.
It should be used with some additional filter to select only Longs or Shorts depending on the trend. The trend can be defined by the last signal produced by some of the previously seen indicators, like the EMA's Crossover.
The Arrows signals shown on this chart are produced by the custom Indicator TIS_RSI_XO and can be automated using the The Markers System.

Stochastics Crossover ( K vs D Line )

The Stochastic has a very fast response and also a very precise determination of overbought and oversold levels so we can look at K vs D line Crossovers only on the OverBought and OverSold Areas.
On this example Chart, the  OverSold level is 10 and Overbought is 90, so a Blue Arrow ( Long Entry Signal ) is shown when K lines crosses above the D line and its was coming from below 10.
Red Arrows ( Short Entry Signals ) are shown when K line crosses below the D line and it comes from above 90.
These signals are produced by the TIS_STO_XO Custom Indicator. And the Entries can be automated using the The Markers System.

More info about this trade Setup on YouTube :

Hope you find these Trade Setup ideas useful for your use.
These are just simple pieces that we can use to create a more complex Setup.
As example, we can use any of the explained logic rules to define the trend, other to trigger an entry and then a different rule to trigger an exit.

Please post any questions, sugestions or ideas you wish to share...

Thanks and please share this post !

Pablo Maglio
Skype Skype id : pmaglio