OPEN-SOURCE SCRIPT

Sigmoidal Candle Count Risk (SCCR)

已更新
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)


  • Additionally, it uses a symmetrically weighted moving average for smoothing.

版本注释
Made a mistake in the previous description. Here is the corrected sigmoid function:


Also updated the RiskMeasure() parameters from close>open,open>close to close>close[1],close[1]>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.
Moving AveragesTrend Analysis

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明