OPEN-SOURCE SCRIPT

Apollo Wave X-Lunar

383
Apollo Wave X-Lunar

Apollo Wave X-Lunar is a momentum and directional indicator based on the movement and slope of three independent waves: F1, XA, and AK. Each source uses a different price calculation to provide complementary readings of market movement.

The indicator displays three “lights” on the panel:

▲ Lime: wave slope is equal to or above zero, indicating upward momentum.
▼ Orange: wave slope is below zero, indicating downward momentum.

In addition to the lights, the indicator displays a Wave Line whose source can be selected by the user.

⚙️ Parameters
Base Period — len

Defines the period used to filter the waves.

Lower periods: higher sensitivity to price changes and more frequent directional changes.
Higher periods: greater smoothing and lower sensitivity to short-term fluctuations.

The default value is 21.

There is no universally optimal period. The appropriate setting may vary depending on the asset, timeframe, and trading style.

Line Source — lineSource

Selects which of the three sources is used to construct the main chart line.

F1 — HLCC4
Uses the average of High, Low, and twice the Close.

XA — HLC3
Uses the average of High, Low, and Close.

AK — OHLC4
Uses the average of Open, High, Low, and Close.

The three sources are calculated independently for the lights. This parameter only changes the Wave Line displayed on the chart.

📊 How to Interpret

The indicator compares the current wave movement with its previous slope.

▲ F1

Shows the slope direction of the wave based on HLCC4.

▲ XA

Shows the slope direction of the wave based on HLC3.

▲ AK

Shows the slope direction of the wave based on OHLC4.

When all three lights point upward simultaneously, there is greater directional agreement between the three price sources. When all three point downward, there is greater agreement toward the downside.

Differences between the lights may indicate that the different price sources are producing different momentum readings.

🌊 Wave Line

The main line uses the source selected under Line Source.

F1: HLCC4
XA: HLC3
AK: OHLC4

The line color follows its slope:

Lime: positive or neutral slope.
Orange: negative slope.
🔧 Suggested Configuration

The default value of 21 can be used as a starting point.

For a faster reading, try lower periods.

For a smoother reading, try higher periods.

The appropriate configuration should be evaluated according to the asset and timeframe being analyzed. It is recommended to test different settings before using the indicator as part of trading decisions.

⚠️ Disclaimer

Apollo Wave X-Lunar is a technical analysis tool and does not constitute investment advice, an offer, or a guarantee of results.

The indicator's signals and readings should be used together with other analysis tools, risk management, and overall market context.

No technical indicator can guarantee future results.

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.