INVITE-ONLY SCRIPT
업데이트됨 Eclipse Trend Oracle

📌 Overview
The Eclipse Trend Oracle is a trend-following tool used to gauge the direction of the trend, built off the volatility-calibrated ATR. It uses a Lévy Process framework to account for sudden market jumps and fat-tailed distributions that traditional Gaussian models miss.
Modes:
Features:
🔬 Calculation of Eclipse Trend Oracle
The indicator calculates adaptive bands around price using a modified ATR that incorporates jump components - specifically employing a Variance Gamma process to model both continuous price diffusion and discontinuous jumps. When price breaks above the upper band, it signals an upward trend with momentum sufficient to overcome the jump-adjusted volatility threshold. Conversely, breaks below the lower band indicate downward trending conditions.
The volatility calibration adjusts the ATR multiplier based on the estimated jump intensity parameter from the Lévy process, making the bands tighter during stable periods and wider when jump risk increases. This creates a self-adjusting trend filter that expands and contracts based on the market's structural volatility characteristics rather than just recent price movement.
Pine Script®
where
🔍 How to use it
There are 2 ways to trade it.
Method 1: Using the Trend Oracle. You simply decide your mode, then wait for a trend change. Once the trend becomes bullish with a 'Longs' symbol, you wait for dips. Use our other Eclipse Tools like Eclipse Reversals or LLNR to locate dips effectively.

Method 2: Using the Trend Oracle's Reversals (checked in 'General Settings'). This allows you to directly use reversals near the Eclipse Trend Oracle to find dips in a downtrend and failed rallies in an uptrend.

✨ Why it's original
A trend-following script using a Lévy process is original because it addresses fundamental limitations in traditional indicators. Most trend tools assume continuous, smooth price movements following Gaussian distributions, which causes them to fail during market crashes, gaps, and sudden reversals.
The Lévy process framework explicitly models discontinuous jumps and fat-tailed distributions, capturing the reality that extreme market events occur far more frequently than normal distributions predict. This makes the indicator inherently more robust during the volatile conditions where traders need reliable signals most.
The key innovation lies in separating jump components from drift components. While traditional ATR-based indicators treat all volatility the same way, the Lévy framework distinguishes between normal trending movement (continuous diffusion) and abnormal market shocks (jump events).
🚨 Alerts
The script contains 4 alerts:
⚙️ Inputs
The Eclipse Trend Oracle is a trend-following tool used to gauge the direction of the trend, built off the volatility-calibrated ATR. It uses a Lévy Process framework to account for sudden market jumps and fat-tailed distributions that traditional Gaussian models miss.
Modes:
- Self-Tuning: Tunes to the timeframe you are currently on. No need to fiddle with numbers
- Rapid: Responds rapidly to price movements while not whipsawing out of trades constantly
- Absolute: If you want a clear interpretation of the trend without any fakeouts, absolute is your man
- Manual: Choose a manual length
Features:
- Trend Line: This is the Levy-Process calculated ATR. A long/short signal does not mean to long/short. It simply is informing the user there is an official change in trend
- Oracle Reversals: Shows reversals near the trend oracle, denoted by 'TO-R'
🔬 Calculation of Eclipse Trend Oracle
The indicator calculates adaptive bands around price using a modified ATR that incorporates jump components - specifically employing a Variance Gamma process to model both continuous price diffusion and discontinuous jumps. When price breaks above the upper band, it signals an upward trend with momentum sufficient to overcome the jump-adjusted volatility threshold. Conversely, breaks below the lower band indicate downward trending conditions.
The volatility calibration adjusts the ATR multiplier based on the estimated jump intensity parameter from the Lévy process, making the bands tighter during stable periods and wider when jump risk increases. This creates a self-adjusting trend filter that expands and contracts based on the market's structural volatility characteristics rather than just recent price movement.
returns = log(price / price_previous)
volatility = stdev(returns, period)
threshold = volatility * jump_sensitivity
if |returns| > threshold:
jump = returns
continuous = 0
else:
jump = 0
continuous = returns
levy_process += drift + continuous + jump
where
- returns - The logarithmic return measuring percentage change from previous price to current price
- volatility - The standard deviation of recent returns, capturing typical market fluctuation size
- threshold - The boundary value that separates normal price movements from abnormal jumps
- jump_sensitivity - User-defined parameter controlling how easily movements are classified as jumps (higher = fewer jumps detected)
- jump - The component of returns attributed to sudden discontinuous price movements
- continuous - The component of returns attributed to normal gradual price diffusion
- drift - The directional bias or trend component added to the process
- levy_process - The cumulative sum tracking the total path of drift, continuous moves, and jumps over time
🔍 How to use it
There are 2 ways to trade it.
Method 1: Using the Trend Oracle. You simply decide your mode, then wait for a trend change. Once the trend becomes bullish with a 'Longs' symbol, you wait for dips. Use our other Eclipse Tools like Eclipse Reversals or LLNR to locate dips effectively.
- Self-Tuning: Best fit overall. Tunes to the timeframe
- Rapid: If you want the script to respond quickly, at the expense of more fakeouts
- Absolute: Our favourite. If you want a no-nonsense trend, this is your go-to
- Manual: Choose a manual length
Method 2: Using the Trend Oracle's Reversals (checked in 'General Settings'). This allows you to directly use reversals near the Eclipse Trend Oracle to find dips in a downtrend and failed rallies in an uptrend.
✨ Why it's original
A trend-following script using a Lévy process is original because it addresses fundamental limitations in traditional indicators. Most trend tools assume continuous, smooth price movements following Gaussian distributions, which causes them to fail during market crashes, gaps, and sudden reversals.
The Lévy process framework explicitly models discontinuous jumps and fat-tailed distributions, capturing the reality that extreme market events occur far more frequently than normal distributions predict. This makes the indicator inherently more robust during the volatile conditions where traders need reliable signals most.
The key innovation lies in separating jump components from drift components. While traditional ATR-based indicators treat all volatility the same way, the Lévy framework distinguishes between normal trending movement (continuous diffusion) and abnormal market shocks (jump events).
🚨 Alerts
The script contains 4 alerts:
- Trend Oracle Long Trend Alert: Denoted by 'Longs'. Shows when the trend has flipped bullish
- Trend Oracle Short Trend Alert: Denoted by 'Shorts'. Shows when the trend has flipped bearish
- Trend Oracle Long Reversal Alert: Shows bullish reversals near the Trend Oracle
- Trend Oracle Short Reversal Alert: Shows bearish reversals near the Trend Oracle
⚙️ Inputs
- Mode: Allows you to choose whether you'd like it to respond rapidly, depend the length on the timeframe, have an absolute interpretation of trend or manual length
- Manual Length: The higher the value for the manual length, the smoother the signals. The lower, the more responsive
- Show Oracle Reversals: Displays price reversals near the Eclipse Trend Oracle
- Bullish Color: Color of the bullish plot and label. Lime by default
- Bearish Color: Color of the bearish plot and label. Purple by default
- Label Size: Change the size of the label
릴리즈 노트
Changed thumbnail.초대 전용 스크립트
이 스크립트는 작성자가 승인한 사용자만 접근할 수 있습니다. 사용하려면 요청 후 승인을 받아야 하며, 일반적으로 결제 후에 허가가 부여됩니다. 자세한 내용은 아래 작성자의 안내를 따르거나 EclipseCharts에게 직접 문의하세요.
트레이딩뷰는 스크립트의 작동 방식을 충분히 이해하고 작성자를 완전히 신뢰하지 않는 이상, 해당 스크립트에 비용을 지불하거나 사용하는 것을 권장하지 않습니다. 커뮤니티 스크립트에서 무료 오픈소스 대안을 찾아보실 수도 있습니다.
작성자 지시 사항
Get access: https://www.eclipse.trade
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
초대 전용 스크립트
이 스크립트는 작성자가 승인한 사용자만 접근할 수 있습니다. 사용하려면 요청 후 승인을 받아야 하며, 일반적으로 결제 후에 허가가 부여됩니다. 자세한 내용은 아래 작성자의 안내를 따르거나 EclipseCharts에게 직접 문의하세요.
트레이딩뷰는 스크립트의 작동 방식을 충분히 이해하고 작성자를 완전히 신뢰하지 않는 이상, 해당 스크립트에 비용을 지불하거나 사용하는 것을 권장하지 않습니다. 커뮤니티 스크립트에서 무료 오픈소스 대안을 찾아보실 수도 있습니다.
작성자 지시 사항
Get access: https://www.eclipse.trade
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.