Skip to main content

Configuration

3.2 Configuration

The following parameters are user-configurable:

ParameterDescription
marketTypeInstrument class (Crypto, Forex, Stocks, Futures)
tradeDirAllowed direction (Long, Short, Both)
stopMultiplierATR multiple used to calculate stop distance
targetMultiplierATR multiple used to calculate target distance
requireSidewaysBaseEnables compression filter
requireGreenBarsEnables bullish candle filter
greenBarsRequiredNumber of prior bullish candles required

Several internal parameters (lookback length, ATR length, volume thresholds, and compression thresholds) adjust automatically based on marketType and chart timeframe.

3.2.1 Timeframe Policy

The reference implementation is evaluated primarily on the following timeframe for stocks:

  • Primary timeframe: 1 Day

Secondary experimentation has been conducted on:

  • Secondary timeframe: 4 Hour

The daily timeframe is treated as the baseline for screening alignment and breakout structure. The 4-hour timeframe is used for comparative testing and higher-frequency signal evaluation.

Dynamic parameter presets are applied for supported timeframe values. Other timeframes fall back to manual input defaults.