OPEN-SOURCE SCRIPT
已更新

Super Cycle Low Finder

396
How the Indicator Works
1. Inputs
Users can adjust the cycle lengths:
Daily Cycle: Default is 40 days (within 36-44 days).

Weekly Cycle: Default is 26 weeks (182 days, within 22-31 weeks).

Yearly Cycle: Default is 4 years (1460 days).

2. Cycle Low Detection
Function: detect_cycle_low finds the lowest low over the specified period and confirms it with a bullish candle (close > open).

Timeframes: Daily lows are calculated directly; weekly and yearly lows use request.security to fetch data from higher timeframes.

3. Half Cycle Lows
Detected over half the cycle length, plotted to show mid-cycle strength or weakness.

4. Cycle Translation
Logic: Compares the position of the highest high to the cycle’s midpoint.

Output: "R" for right translated (bullish), "L" for left translated (bearish), displayed above bars.

5. Cycle Failure
Flags when a new low falls below the previous cycle low, indicating a breakdown.

6. Visualization
Cycle Lows: Diamonds below bars (yellow for daily, green for weekly, blue for yearly).

Half Cycle Lows: Circles below bars (orange, lime, aqua).

Translations: "R" or "L" above bars in distinct colors.

Failures: Downward triangles below bars (red, orange, purple).

發行說明
How the Indicator Works
1. Inputs
Users can adjust the cycle lengths:
Daily Cycle: Default is 40 days (within 36-44 days).

Weekly Cycle: Default is 26 weeks (182 days, within 22-31 weeks).

Yearly Cycle: Default is 4 years (1460 days).

2. Cycle Low Detection
Function: detect_cycle_low finds the lowest low over the specified period and confirms it with a bullish candle (close > open).

Timeframes: Daily lows are calculated directly; weekly and yearly lows use request.security to fetch data from higher timeframes.

3. Half Cycle Lows
Detected over half the cycle length, plotted to show mid-cycle strength or weakness.

4. Cycle Translation
Logic: Compares the position of the highest high to the cycle’s midpoint.

Output: "R" for right translated (bullish), "L" for left translated (bearish), displayed above bars.

5. Cycle Failure
Flags when a new low falls below the previous cycle low, indicating a breakdown.

6. Visualization
Cycle Lows: Diamonds below bars (yellow for daily, green for weekly, blue for yearly).

Half Cycle Lows: Circles below bars (orange, lime, aqua).

Translations: "R" or "L" above bars in distinct colors.

Failures: Downward triangles below bars (red, orange, purple).

發行說明
How Cycle Translation Works in the Indicator
Key Logic
Cycle Midpoint: For each cycle (e.g., 40 days for daily), the midpoint is calculated as half the cycle length (e.g., 20 days).

Cycle High: The highest high between two consecutive cycle lows is identified.

Translation Determination:
Right Translated (RT): If the cycle high occurs after the midpoint (fewer bars since the high than the midpoint), it’s bullish.

Left Translated (LT): If the cycle high occurs before the midpoint (more bars since the high than the midpoint), it’s bearish.

發行說明
bugs fixed
發行說明
fixed
發行說明
update

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。