Multitimeframe 200-Moving-Average Breakout Filters and Risk Sizing
Summary
This script describes a moving-average breakout approach using a configurable 200-period EMA, SMA, or HMA, with a 15-minute EMA as a higher-timeframe filter. Inputs allow adaptive filters, distance limits from the averages, and a slope filter. The visible code compares current and lagged 15-minute EMA values, converts their percentage change over the selected interval into an angle, and uses minimum positive or negative angles to qualify long or short signals. It also includes chart lines to illustrate the slope measurement.
The inputs expose relative-volume thresholds, EMA-distance rules, optional custom reward-to-risk settings, risk per trade, and leverage. However, the supplied source ends partway through drawing logic, before the entry and exit rules are shown, so the complete breakout conditions and actual use of these filters cannot be confirmed. It provides no backtest results in the excerpt. The configured thresholds and risk settings are examples, not evidence of returns, and the geometric slope calculation depends on chosen time intervals and normalization.
Key ideas
- The strategy offers EMA, SMA, and HMA choices for its main moving average.
- A 15-minute EMA supplies higher-timeframe distance and direction filters.
- A slope angle derived from current and lagged EMA values can screen for directional movement.
- Inputs include relative volume, reward-to-risk, risk-per-trade, and leverage controls.
- The excerpt does not show full trade execution rules or performance evidence.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.