Skip to content
All library documents

Trend Entries with TTM Squeeze, PSAR, EMA, and High-Low Exits

Article TradingView scripts

Summary

This strategy combines a TTM Squeeze momentum calculation, a parabolic SAR, and an exponential moving average to generate directional entries. The visible rules require price to be on the relevant side of the EMA, a price crossover of PSAR, and the squeeze oscillator to cross its zero line. The script supports ordinary or adaptive PSAR settings and can calculate signals from a selected timeframe.

For trade management, it can use recent highs and lows for stop placement and derive an automatic take-profit level from the stop distance and a configurable reward ratio. It also exposes a repainting option; when enabled, signals may use the current bar, while the non-repainting setting shifts data to a prior bar. The provided excerpt contains no results or robust validation, and its use of higher-timeframe data and lookahead settings warrants careful inspection before interpreting backtests.

Key ideas

  • Long and short signals combine EMA direction, PSAR crossover, and a zero-line crossing of the squeeze oscillator.
  • The script offers standard and adaptive PSAR calculations with configurable sensitivity and filters.
  • Stops can reference recent highs or lows, with take-profit levels derived from stop distance.
  • A repainting option changes whether signals use current-bar or prior-bar data.
  • The excerpt supplies strategy logic but no performance evidence, and higher-timeframe handling needs scrutiny.

Tags

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