FINGER TRADER

Hands-on tutorials

Tutorial: MACD entry with an RSI filter

Modify a template, connect an AND condition and verify each order against the chart.

Updated 18 November 2026

Goal and prerequisites

Build a long-only example: open when MACD Line crosses above Signal Line AND RSI is below 70; close when MACD Line crosses below Signal Line. This is a teaching example, not an investment recommendation. Prepare historical OHLCV for one instrument and timeframe and a simulated account.

Build the entry filter

  1. Apply MACD Cross from Strategy Templates and name the copy “MACD + RSI filter”. Keep MACD 12/26/9 and the existing downward-cross exit.
  2. Add an RSI node with period 14, using the same Close series as MACD. Add a numeric comparison: RSI value < 70. Use a compatible ratio input type.
  3. Add an AND group. Connect the existing upward-cross condition and the RSI comparison to its two inputs. Reconnect the entry action’s condition to this group.
  4. Read the condition summary: only the entry requires both tests. Leave the exit connected to the downward cross. Do not add RSI to the exit accidentally.

Configure the simulated order

  1. In Trade Settings review the entry’s order, position and protection tabs. Choose a quantity or funds percentage within the simulated budget. Use positive integer contracts.
  2. Keep long-only and the flat-position entry guard. Retain or set the intended percentage stop loss and take profit; review the full-position reduce-only exit.
  3. Set replay capital, leverage and fee percentage explicitly. Save the project and replay settings.

Verify the rule at the execution timestamp

Run the backtest and pause at the first fill. Match the strategy parameters on the chart, inspect the confirmed signal bar and the actual fill timestamp, and read order logs. Depending on execution timing, a fill can occur after the signal bar; a stop or take-profit exit does not require a MACD cross. If there are no fills, distinguish a valid filter from warm-up or rejected orders.

For the current Desktop workflow. Labels and available capabilities can vary by application version and connected provider.