ExtDepth=12; Number of bars for the next high or low when calculating ExtDeviation. ExtDeviation=5; Number of pips higher or lower than previous high or low. ExtBackstep=3; Minimal amount of bars between highs and lows.