Skip to content
All library documents

Daily GBP/JPY Strategy with ATR Stops and Williams %R

Article Strategy library · Author: SoftKill21

Summary

This daily foreign-exchange strategy combines a Kijun Sen baseline with Williams Percent Range confirmation. It can calculate signals from regular or Heikin-Ashi candles. A long signal occurs when the candle crosses upward through the baseline and Williams %R is in the specified stronger range; a short signal uses the downward cross and a weaker reading. Positions exit when price crosses back through the baseline. The script also calculates position size from account balance, a user-set risk percentage, and an ATR-based stop distance.

Additional controls include a floating-loss equity protector, a configurable point target, and date-window inputs. The supplied document contains strategy code and settings but no strategy report or measured performance, so it provides no evidence that the rules are profitable. Its fixed indicator settings, currency-specific sizing assumptions, and reliance on daily signals may limit transfer to other instruments or execution conditions. The excerpt ends partway through the trade-execution logic, leaving the complete order behavior unavailable.

Key ideas

  • The entry rules combine a Kijun Sen cross with Williams Percent Range confirmation.
  • Baseline crosses in the opposite direction trigger exits for long and short positions.
  • Position sizing uses account balance, a selected risk fraction, and an ATR-derived stop distance.
  • An equity protector can close trades when floating losses exceed a set fraction of balance.
  • The document contains no performance report, and its execution logic is truncated.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.