OPEN-SOURCE SCRIPT

Volume, Neckline, Min/Max Bars, Risk/Reward (No Negative Index)

Script 2: “Volume, Neckline, Min/Max Bars, and Risk/Reward Demo”

Purpose: Provide a single script that deals with Volume Divergence detection, a Neckline line, a Min/Max bar concept, and an example of Risk/Reward lines.

How It’s Organized:

Each feature has a separate boolean toggle (showVolumeDiv, showNeckline, etc.).
Each feature has its own input parameters (volLookback, neckLookback, lsMin/lsMax, riskReward).
The script is purely an indicator: no actual trades, just lines and shapes for demonstration.

Penafian