OPEN-SOURCE SCRIPT

Stochastic/LSMA

This is the Stochastic/LSMA Buy and Sell indicator. The Buy signal is generated when the %K line crosses up above the %D line from the stochastics while the signal candle is green and has come after a red candle. The Sell signal is generated when the %K line crosses down below the %D line from the stochastics while the signal candle is red and has come after a green candle. The default settings are %K Length is 5, the %K Smoothing is 3, and the %D Smoothing is 3 with the LSMA period being 30. I use this indicator to scalp 2 points at a time on the E-Mini (ES) on a 1 minute timeframe. I like to use a stop loss of 2 points and a target of 2 points. The LSMA helps to reduce fake signals and should also be used to see the overall trend. I hope this helps.
buyandsellsignalleastsquaresMoving AveragesmultitimeframeOscillators

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer