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.
סקריפט קוד פתוח

ברוח TradingView אמיתית, מחבר הסקריפט הזה פרסם אותו בקוד פתוח, כך שסוחרים יכולים להבין ולאמת אותו. כל הכבוד למחבר! אתה יכול להשתמש בו בחינם, אך שימוש חוזר בקוד זה בפרסום כפוף לכללי הבית. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.

רוצה להשתמש בסקריפ זה בגרף?