This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// @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) |