Skip to content
All library documents

ADX and Supertrend Entries with Support, Resistance, and Trailing Stops

Article Strategy library · Author: fullmax

Summary

The available script excerpt combines a Supertrend indicator with directional movement calculations used to derive an ADX-style strength value. It adjusts the Supertrend lines into buy and sell zones, then checks those zones alongside recent support and resistance conditions to form long and short signals. Inputs allow the trader to choose trade direction, set separate long and short take-profit percentages and trailing-loss percentages, and adjust indicator and lookback settings. The visible exit logic calculates profit targets from average position price and updates trailing stop levels while a position is open.

The document provides source code but no strategy explanation, backtest configuration, performance report, or evidence that the rules are profitable. The supplied excerpt ends before the complete order and exit logic can be reviewed, limiting conclusions about how signals are executed or how all risk controls interact. Its settings and indicator combinations describe a testable rule set, not validated results; implementation details and behavior across market conditions would need independent examination.

Key ideas

  • The visible entry logic combines Supertrend-derived zones with recent support and resistance checks.
  • Directional movement calculations supply a strength value used to adjust the buy and sell zones.
  • Separate take-profit and trailing-loss settings are provided for long and short positions.
  • The excerpt is incomplete and does not include backtest results or a performance assessment.

Tags

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