Based on the request.
https://fxcodebase.com/code/viewtopic.php?f=27&p=151869Sell Signal - if price closes above upper line 2 and Stochastics K and D line are above 80 and stochastic K line crosses below D line = Sell
Buy Signal - if price closes below lower line 2 and stochastics K and D line are below 20 and stochastic K line crosses above d line = Buy.
ATR_Channels.lua
https://fxcodebase.com/code/viewtopic.php?f=17&t=11900