Session-Filtered SSL and MACD Trend Strategy with ATR Exits
Summary
This strategy combines Supertrend direction, an SSL channel crossover, MACD sign, and candle color to identify long or short entries. Signals are accepted only when the bar closes and falls within one of up to five configurable trading sessions, with a selectable time zone. The listed default sessions include two enabled windows and three optional windows.
At entry, the script places a stop and target at configurable ATR multiples and estimates order quantity from a fixed dollar risk amount, stop distance, and an assumed contract size. It adjusts the risk calculation for JPY-denominated symbols using a USD/JPY quote and treats gold symbols as having a smaller contract size. The document describes the rules and code but provides no performance results or validation. Contract assumptions, currency conversion, and the effects of pyramiding and concurrent entries may limit how reliably the sizing reflects actual risk across instruments.
Key ideas
- Long entries require a positive candle, bullish Supertrend, an upward SSL crossover, positive MACD, and an enabled session.
- Short entries require the corresponding bearish conditions and a negative candle.
- The session filter supports five user-configurable time windows and a selectable time zone.
- Stops and targets use ATR multiples, while order quantity is estimated from risk per trade and stop distance.
- The source gives no backtest evidence, and sizing depends on instrument-specific contract assumptions.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.