OPEN-SOURCE SCRIPT
Mis à jour

Stochastic EMA, SMA, VWMA + Divergence

3 386
Every MetaTrader User knows the function to switch the stochastic calculation from simple to exponential.

So i took the original Stochastic code from TV and enhanced it for the SMA, EMA, and VWMA smoothing. If you are using a longer K Smoothing interval you will recognize a notable difference between SMA and EMA.

  • Standard Stochastic Calculation that is well kown
  • Option to switch smoothing calculation
  • Choice between Simple Moving Average, Exponential Moving Average, Volume Weighted Moving Average


If you have more wishes regarding the smoothing, just leave a comment i can add a lot more...

On my to-do list is also the divergence lines known from the "divergence indicator" (RSI).

I hope this helps to get better entries ;-)

Have fun!
Notes de version
If you are daytrader, you want to have an set lines for slow and fast stochastic. Added an switch to active a 2nd pair of lines for stochastic so you can scalp with slow and fast lines.

The embedded screenshot shows our preferred settings from MT4.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.