OPEN-SOURCE SCRIPT

[JRL] Market Structure Bias

This script provides three different methods to detect and visualize market structure (swing highs and swing lows) on your chart:

  • Dynamic Method: Updates swing highs/lows whenever the close breaks above/below the most recent structure, then scans back to find recent lows/highs.
  • Zigzag Method: Uses a configurable zigzag approach to track recent highs and lows. You can optionally display the zigzag lines for clarity.
  • Pivot Method: Looks left and right the specified number of bars to define swing highs and swing lows


The script highlights where market structure changes occur, helping traders visualize the and confirm current market structure bias.

免責聲明