OPEN-SOURCE SCRIPT
Jackfx Trendlines Machine

Jackfx Trendlines Machine
The Jackfx Trendlines Machine is an advanced, automated technical analysis tool designed to eliminate the subjectivity and noise associated with manual trendline drawing. Built for traders who rely on structural breakouts and retests, this indicator dynamically identifies high-probability zones by filtering out volatile market spikes.
Core Mechanics
Instead of relying on standard candlestick wicks, the indicator calculates major market pivots using background Heikin Ashi (HA) data. Because Heikin Ashi averages price action, the resulting swing highs and lows represent true structural turning points rather than momentary liquidity sweeps. The indicator then connects these definitive pivots on your standard candlestick chart to draw accurate, objective trendlines.
Key Features
Noise-Free Pivot Detection: By sourcing high/low pivots from Heikin Ashi data, the indicator ignores "fakeout" wicks, anchoring trendlines strictly to validated market structure.
Dynamic Auto-Drawing: The script automatically isolates the two most recent and significant swing highs (for downtrends) and swing lows (for uptrends), connecting them and projecting the line forward to anticipate future touches.
ATR-Filtered Breakouts: To protect against false breakouts, the indicator incorporates an Average True Range (ATR) buffer. A breakout signal (indicated by visual triangles) is only generated when the price closes across the trendline with sufficient momentum.
Retest Validation: The extended trendlines act as forward-looking support and resistance levels. When a breakout occurs, traders can use the extended lines to stalk high-probability retest entries.
Customizable Sensitivity: Users can adjust the "Pivot Length" inputs to tailor the indicator to their trading style. Lower values plot minor, short-term trendlines, while higher values isolate major, macro-structural trendlines.
Ideal Use Case
This tool is highly effective for price action traders looking to automate their structural analysis. It excels in identifying clean breakout setups and providing objective zones for pullback/retest entries across all timeframes.
The Jackfx Trendlines Machine is an advanced, automated technical analysis tool designed to eliminate the subjectivity and noise associated with manual trendline drawing. Built for traders who rely on structural breakouts and retests, this indicator dynamically identifies high-probability zones by filtering out volatile market spikes.
Core Mechanics
Instead of relying on standard candlestick wicks, the indicator calculates major market pivots using background Heikin Ashi (HA) data. Because Heikin Ashi averages price action, the resulting swing highs and lows represent true structural turning points rather than momentary liquidity sweeps. The indicator then connects these definitive pivots on your standard candlestick chart to draw accurate, objective trendlines.
Key Features
Noise-Free Pivot Detection: By sourcing high/low pivots from Heikin Ashi data, the indicator ignores "fakeout" wicks, anchoring trendlines strictly to validated market structure.
Dynamic Auto-Drawing: The script automatically isolates the two most recent and significant swing highs (for downtrends) and swing lows (for uptrends), connecting them and projecting the line forward to anticipate future touches.
ATR-Filtered Breakouts: To protect against false breakouts, the indicator incorporates an Average True Range (ATR) buffer. A breakout signal (indicated by visual triangles) is only generated when the price closes across the trendline with sufficient momentum.
Retest Validation: The extended trendlines act as forward-looking support and resistance levels. When a breakout occurs, traders can use the extended lines to stalk high-probability retest entries.
Customizable Sensitivity: Users can adjust the "Pivot Length" inputs to tailor the indicator to their trading style. Lower values plot minor, short-term trendlines, while higher values isolate major, macro-structural trendlines.
Ideal Use Case
This tool is highly effective for price action traders looking to automate their structural analysis. It excels in identifying clean breakout setups and providing objective zones for pullback/retest entries across all timeframes.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.