Skip to content
All library documents

Combining Follow Line, STC, MACD, and EMA Signals for Entries and Exits

Article TradingView scripts

Summary

This strategy combines a Follow Line trend signal with optional EMA, Schaff Trend Cycle (STC), and MACD confirmations. The Follow Line derives upper and lower bands from a moving average and standard deviation, then updates a trend line using price and an optional ATR adjustment. Entry strictness and confirmation modes can be configured, including choices based on indicator crosses, slopes, or turns from threshold zones. The code also supports long and short entries, with exits selectable from ATR distances, a fixed risk-reward target, a trailing stop, or an opposing Follow Line flip.

The script exposes many parameter choices, plots signals and indicators, and includes alert conditions. Its settings specify simulated commission, slippage, and position sizing, but the supplied text gives no strategy report, tested market, timeframe, or performance results. Consequently, these details describe an implementation rather than evidence that the combined signals are profitable. Results would depend on instrument, data, parameter choices, and execution assumptions.

Key ideas

  • The Follow Line uses volatility bands to identify directional changes and maintain a trend level.
  • EMA, STC, and MACD can act as optional directional confirmations.
  • Entry modes let users combine indicator turns, threshold crossings, and slopes with different strictness.
  • Exits can use volatility distances, fixed risk-reward levels, trailing stops, or trend flips.
  • The document provides configurable code but no evidence of out-of-sample or live performance.

Tags

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