IV. Editable Parameters & Interpretation
The AL/AI Agent Ranger Reversor v1 is highly modular and was designed to give you full control over its behavior β without needing to code.
Each input represents a lever of control over how the agent reads the market, reacts to signals, and manages open positions. While the default configuration is battle-tested, advanced users can fine-tune it to fit their risk appetite and strategy style.

π― Trailing Logic
β’ trailLevel β Trailing Target %
trailLevel β Trailing Target %Defines how far above or below the current price the trailing stop will sit. Higher values = more space for trend to grow before locking profit. Lower values = tighter profit capture.
π‘ Useful for adjusting aggressiveness in volatile markets.
β’ trailPoints β Trailing Activation Threshold
trailPoints β Trailing Activation ThresholdDetermines how much price must move in your favor before the trailing begins. This acts like a buffer β giving space for the trade to βbreathe.β
π Range Filter Smoothing
β’ per β Filter Smoothing Period
per β Filter Smoothing PeriodThe number of candles used to detect range behavior. Shorter periods = more reactive filter. Longer periods = smoother, more stable signals.
β’ mult β Filter Sensitivity Multiplier
mult β Filter Sensitivity MultiplierControls how βwideβ or βtightβ the range band is. Affects how fast the bot reacts to breakouts.
π Trend Filter Option
β’ RestrictToEMA200 β Enable/Disable Long-Term Filter
RestrictToEMA200 β Enable/Disable Long-Term FilterWhen enabled:
Longs are only taken when price is above the EMA200
Shorts only below
Helps filter signals in strong trending conditions.
β±οΈ Time-Based Controls
β’ maxBarsOpen β Maximum Bars in Trade
maxBarsOpen β Maximum Bars in TradeDefines how long (in bars) the bot can hold a position. Once this is exceeded, the agent force-closes the trade.
β οΈ Prevents trades from stalling or going stale during sideways conditions.
β’ minProfitTarget β Minimum Profit %
minProfitTarget β Minimum Profit %If the trade reaches this profit, itβs closed automatically β even if the trailing or time limits arenβt hit. A useful layer for conservative profit-taking.
π§ͺ Backtest Range
β’ startdate & enddate
startdate & enddateLet you define the exact range of candles for testing and simulation. This ensures clarity when running clean backtests, avoiding historical noise or data overlap.
π¨ Visual Settings
While most visuals are optimized by default, you can tweak:
Line thickness of bands and filter base
Colors of the channel:
Green for upper band (profit zone)
Red for lower band (risk zone)
White for base filter
Yellow for EMA200
Opacity of shaded zones for visual clarity

π§ All visuals are designed to be minimal, elegant, and informative β just like a trading cockpit.
π Default Configuration Snapshot
trailLevel
0.6%
trailPoints
0.3%
per
30 candles
mult
1.8
RestrictToEMA200
false
maxBarsOpen
25 bars
minProfitTarget
0.3%
β οΈ If you're not an advanced user, we recommend keeping these values as-is. The agent was optimized for ETH/USDT on the 45M timeframe.
βοΈ Strategy Simulation Settings (Properties Tab)
The following options affect how the bot behaves inside TradingViewβs strategy tester:
β’ Initial Capital
Default:
$100Set this to simulate portfolio size. It does not affect strategy logic.
β’ Order Size
Default:
$100Determines how much virtual capital the agent uses per trade.
β’ Commission
Default:
0.045%Reflects the trading fee used by most centralized exchanges like OKX, Binance, or Bybit.
β’ Slippage
Default:
3 ticksIntroduces execution friction to reflect real-world conditions.

π Execution Logic (Fill Settings)
β’ Recalculation
After order is filled: β OffOn every tick: β OffDesigned for consistency β not micro noise.
β’ Fill Orders
β
On bar close: enabledβ
Using bar magnifier: disabledβ
Using standard OHLC: disabled
π We recommend keeping these defaults unless you are testing an ultra-high-frequency variation.

Last updated