often, the input length is determined by brute force. the input length in this update is a variable that configures its own input using metrics involving a measure of the volatility from the range of standard deviations that is normalized, like an oscillator, to further filter out whipsaws and market chop.