lord1x

Sigmoidal Candle Count Risk (SCCR)

lord1x Обновлено   
Sigmoidal Candle Count Risk (SCCR)

This indicator is designed to identify potential reversal levels based on the number of consecutive candles moving in the same direction. Its core premise is based on the sequence of consecutive candles moving in uniform. The assumption is that an increasing sequence of consecutive candles heightens the likelihood of a reversal.

Functionality:
  • It uses the sigmoid function to translate the difference between bullish (upward) and bearish (downward) candle counts into a risk value ranging from 0 (low risk, bullish sentiment) to 1 (high risk, bearish sentiment)
1/(1+math.exp(-((usum+dsum)/2)))
  • Additionally, it uses a symmetrically weighted moving average for smoothing.
ta.swma()
Информация о релизе:
Made a mistake in the previous description. Here is the corrected sigmoid function:
1/(1+math.exp(-(usum-dsum)))

Also updated the RiskMeasure() parameters from close>open,open>close to close>close,close>close to better reflect increases/decreases in price.
Информация о релизе:
Added a timeframe option. Larger timeframe readings tend to provide more probable setups.
Информация о релизе:
Changed scale from 0-1 to 0-100 and added middle line.
Информация о релизе:
General script clean up, visual updates, and added description in the script.
Скрипт с открытым кодом

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

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

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

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