Skip to content
All library documents

UT Bot Entries Filtered by MACD and EMA with Timed Exits

Article Strategy library · Author: farshad_hamidi1011

Summary

This four-hour strategy combines UT Bot signals with MACD and a 50-period exponential moving average to filter entries. A long setup requires an upward UT Bot crossover, bullish MACD alignment, and price above the EMA; a short setup applies the inverse conditions below it. The script tracks the signal bar and enters when its confirmation conditions are met. It also closes an open position after a configured holding period or when a confirmed opposite signal occurs.

The publication describes the script as using ATR levels for take profit and stop loss, but the supplied code does not implement ATR-based profit or stop exits. Its exits are based on elapsed bars and opposite signals. The script sets position size as a percentage of equity, but the document supplies no backtest settings or performance evidence. Its indicator and timing choices are configurable only in part, and the source does not specify transaction costs or show how the method behaves across assets or market regimes.

Key ideas

  • UT Bot crossover signals are filtered by MACD alignment and price relative to an exponential moving average.
  • Long and short entries require matching direction across the signal and confirmation indicators.
  • Open positions close after the configured holding period or after a confirmed opposite signal.
  • The publication mentions ATR-based exits, but the supplied code uses time-based and opposite-signal exits instead.
  • No backtest results or transaction-cost assumptions are provided.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.