Skip to content

Instantly share code, notes, and snippets.

View i7fx-ux's full-sized avatar

i7fx-ux

  • Joined Oct 4, 2025
View GitHub Profile
// @version=5
indicator("RSI Divergence Zones + MA + S/R (Compatibile)", overlay=true, max_lines_count=500, max_boxes_count=200)
// === Inputs
rsiLen = input.int(14, "RSI Length", minval=1)
rsiSrc = input.source(close, "RSI Source")
maLen = input.int(20, "MA Length", minval=1)
maType = input.string("SMA", "MA Type", options=["SMA","EMA"])
pivotLeft = input.int(5, "Pivot Left", minval=1)
pivotRight = input.int(5, "Pivot Right", minval=1)