Quantreex Documentation

Crosses with indicators

Crosses with indicators are composed of two indicators crossing each other. These could be used to detect breakouts. For example when a shorter period indicator crosses above/below a longer period indicator to detect a bullish/bearish setup. This concept can be applied to many types of indicators such as moving averages, prices (i.e. OHLC) and oscillators.

In this example a Simple Moving Average (SMA) crossover is shown with its equivalent expression using the Strategy Designer:

Rule: SMA 20 cross above SMA 50.

Legend:

  • SMA 20 Blue Line
  • SMA 50 Green Line

Image 0 Source: Dukascopy

The equivalent logic using the Strategy Designer can be defined as follows:

Image 0