Exponential Average of Stochastic(5,3,3)
Author: rangineni949
Creation Date: 4/12/2020 4:18 PM
profile picture

rangineni949

#1
Hi, I am new to the platform and trying to code for Stochastics Full with Exponential Average.

below is the code I used to get to StochD (the slow) :

CODE:
Please log in to see this code.


Which gave me a StochD with a simple moving average.

But how do I get to the Exponential Moving Average of the same? Other platform that I use ThinkorSwim provides StochasticsFull (with exponential average). I am trying to port the strategy from there to here and I am stuck with this piece.

Any help with ideas is much appreciated.

Thanks
Sunil R
profile picture

Eugene

#2
Hi,

QUOTE:
But how do I get to the Exponential Moving Average of the same?


Like this...
CODE:
Please log in to see this code.

...or that:
CODE:
Please log in to see this code.
profile picture

rangineni949

#3
That worked. Thanks!!
profile picture

Eugene

#4
You're welcome.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).