PROTECTED SOURCE SCRIPT
Days Without -x% Move (Within x Days)

Days Without X% Move
This indicator tracks consecutive days without a significant price drop, helping traders monitor market stability and potential risk buildup.
How It Works:
- Monitors a rolling window (default: 3 days) for the maximum drawdown
- Resets the counter when price drops by the specified percentage (default: 15%)
- Counts consecutive days where the threshold hasn't been breached
- Higher values indicate extended periods without significant corrections
Key Features:
- Configurable Drop Threshold: Set the percentage drop that resets the counter
- Adjustable Window: Define the lookback period for measuring drawdowns
- Wick Analysis: Option to include or exclude wicks in calculations
- Visual Display: Red area plot shows the current streak length
Use Cases:
- Risk management: Identify when markets are "overdue" for a correction
- Market regime analysis: Compare calm vs volatile periods
- Position sizing: Adjust exposure based on streak length
- Entry timing: Higher streak values may indicate increased correction risk
This indicator tracks consecutive days without a significant price drop, helping traders monitor market stability and potential risk buildup.
How It Works:
- Monitors a rolling window (default: 3 days) for the maximum drawdown
- Resets the counter when price drops by the specified percentage (default: 15%)
- Counts consecutive days where the threshold hasn't been breached
- Higher values indicate extended periods without significant corrections
Key Features:
- Configurable Drop Threshold: Set the percentage drop that resets the counter
- Adjustable Window: Define the lookback period for measuring drawdowns
- Wick Analysis: Option to include or exclude wicks in calculations
- Visual Display: Red area plot shows the current streak length
Use Cases:
- Risk management: Identify when markets are "overdue" for a correction
- Market regime analysis: Compare calm vs volatile periods
- Position sizing: Adjust exposure based on streak length
- Entry timing: Higher streak values may indicate increased correction risk
نص برمجي محمي
تم نشر هذا النص البرمجي كمصدر مغلق. ومع ذلك، يمكنك استخدامه بحرية ودون أي قيود - تعرف على المزيد هنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي محمي
تم نشر هذا النص البرمجي كمصدر مغلق. ومع ذلك، يمكنك استخدامه بحرية ودون أي قيود - تعرف على المزيد هنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.