Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Core Concept

1. The Market Philosophy

This script’s investment thesis is rooted in Momentum Persistence. It operates on the principle that once a directional trend is established and filtered for noise, it is more likely to continue than to reverse. The strategy’s raison d’être is not to predict tops or bottoms but to quantify the “pressure” and “health” of an existing trend. It uses Heikin Ashi candles as its foundational input, subscribing to the theory that their averaging mechanism effectively smooths price action, revealing the underlying directional bias by filtering out the chaotic noise of investor indecision in choppy markets. This provides a cleaner signal from which to measure momentum.

2. The Trade Narrative

The script is engineered to engage when the market tells a story of emerging, confirmed directional strength. The ideal setup is not a sudden event but a developing regime shift. It begins with price action consolidating its direction enough to flip the Heikin Ashi trend. This initial shift is captured by the oscillator crossing its zero line. For a high-conviction signal, this nascent momentum must then be validated by a confluence of factors: the oscillator’s value must accelerate (evidenced by its own internal moving average crossovers), and this movement should ideally align with the broader trend context provided by the higher-timeframe oscillator plot. The narrative is one of a groundswell, not a flash flood.

3. Trigger Logic & Mechanics

The script’s brilliance lies in its layered, multi-stage analysis of a single, robust input.