jmikes

MarketSmith Stochastic

jmikes Diupdate   
version=5
This version of the stochastic produces the identical stochastic as used in MarketSmith
The three primary differences from a classic stochastic are as follows:
1. Close values only
2. 5-day ema instead of 3-day simple moving averages for smoothing the fast and slow lines
3. Slow and fast lines are truncated to integer values

by Mike Scott
2023-09-11
Catatan Rilis:
This is an update to a previously published script. The purpose of the script is to replicate the MarketSmith stochastic indicator which is implemented differently than mainstream implementations. The comments section of the code describes the differences. This update is because I noticed that the internal ta.ema() function that computes exponential moving averages behaves differently than I expected. Thus I hand coded the ema algorithm in this update. I believe this update faithfully replicates the behavior of the MarketSmith indicatior.
Skrip open-source

Dalam semangat TradingView, penulis dari skrip ini telah mempublikasikannya ke sumber-terbuka, maka trader dapat mengerti dan memverifikasinya. Semangat untuk penulis! Anda dapat menggunakannya secara gratis, namun penggunaan kembali kode ini dalam publikasi diatur oleh Tata Tertib. Anda dapat memfavoritkannya untuk digunakan pada chart

Pernyataan Penyangkalan

Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Persyaratan Penggunaan.

Inggin menggunakan skrip ini pada chart?