Trend, Break of Structure, and Volume Filters for Limit Entries
Summary
This Pine Script strategy combines a moving-average trend filter, a volume condition, fair value gap patterns, and swing break signals. Long setups require price above the selected simple and exponential moving averages, a bullish break of a recent swing high, a recent bullish gap, and volume above its recent average by a configurable multiple. Short setups use the corresponding bearish conditions. A state machine tracks pending and active trades, while the visible inputs configure risk-reward targets, fixed stop distance, execution buffers, order expiration, and break-even behavior.
The document shows only an excerpt, ending as pending order handling begins, so the complete entry, exit, and position management rules are unavailable. The “institutional” label is not evidence of institutional order flow; the code uses price and volume proxies. No backtest results, tested market, or performance metrics are supplied, and pivot and gap rules may behave differently across instruments and timeframes.
Key ideas
- Entries combine trend alignment, a swing structure break, a recent fair value gap, and above-average volume.
- The trend filter compares price with a configurable SMA and EMA.
- The strategy exposes fixed stop, reward target, order expiration, execution buffer, and break-even settings.
- A state machine is intended to track pending orders and open positions.
- The supplied excerpt is incomplete and contains no backtest evidence; its volume condition does not establish institutional activity.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.