jmikes

MarketSmith Stochastic

jmikes Обновлено   
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
Информация о релизе:
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.
Скрипт с открытым кодом

В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения. Вы можете добавить этот скрипт в избранное и использовать его на графике.

Отказ от ответственности

Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.

Хотите использовать этот скрипт на графике?