PROTECTED SOURCE SCRIPT
Artharjan Heiken Ashi Super Trend

Artharjan Heiken Ashi SuperTrend (AHAST)
The Artharjan Heiken Ashi SuperTrend (AHAST) indicator is a refined version of the classic SuperTrend tool, designed for traders who wish to blend trend-following logic with the smoothing effects of Heiken Ashi candles. This script not only highlights market trends but also introduces multi-timeframe filtering, visual cues, and alerts for sharper decision-making.
🔑 Key Features
Heiken Ashi Integration
Option to calculate trends using standard candles or Heiken Ashi candles.
Provides smoother visualization, reducing noise.
Flexible ATR Calculation
Choose between RMA (default) and SMA for ATR computation.
Option to switch between traditional ATR and Heiken Ashi-based ATR.
Customizable Inputs
ATR length, multiplier factor, trend colors, and higher-timeframe filters are all user-configurable.
Debug mode available for internal verification.
Visual Enhancements
Dynamic background highlighting to clearly distinguish bullish vs bearish phases.
Fill plots that emphasize ongoing trends.
Buy and Sell signal markers with optional on/off toggle.
Multi-Timeframe (MTF) Filter
Fetches higher timeframe (e.g., Weekly) Heiken Ashi values.
Detects bullish and bearish flips on higher timeframe trends.
Overlay highlights to align lower timeframe trades with broader market direction.
Alerts & Automation
Alerts available for:
Buy / Sell triggers
Direction changes
Higher timeframe bullish or bearish flips
Compatible with TradingView alerts for automated workflows.
⚙️ How It Works
Core Trend Logic
The script calculates the median price of Heiken Ashi highs and lows.
SuperTrend bands (up and dn) are adjusted using ATR.
A bullish or bearish state is determined based on price closing above or below these bands.
Signal Generation
Buy Signal: Trend flips from bearish (-1) to bullish (+1).
Sell Signal: Trend flips from bullish (+1) to bearish (-1).
Signals can be plotted as circles, labels, or both depending on configuration.
MTF SuperTrend
Parallel SuperTrend calculation on a higher timeframe (user-selected).
Detects bullish flip (HTF ↑) or bearish flip (HTF ↓).
Highlights the chart background with higher timeframe color filters when enabled.
Debug Mode
Turns on background shading to indicate whether Heiken Ashi or regular candles are in use.
Helps verify internal logic for advanced users.
🎨 Visualization Example
Green Highlight / Fill → Active bullish trend
Red Highlight / Fill → Active bearish trend
Light Blue / Gray Highlights → Higher timeframe bullish / bearish alignment
Buy / Sell Labels → Clear entry or exit cues, aligned with the trend
🚨 Practical Usage
Swing Traders: Use higher timeframe filters (e.g., Weekly) to align intraday signals with broader market direction.
Intraday Traders: Focus on Heiken Ashi smoothing to avoid whipsaws in volatile sessions.
Options Traders: Combine bullish/bearish flips with option strategies (e.g., Calls/Puts) to gain directional exposure.
✅ Final Thoughts
The Artharjan Heiken Ashi SuperTrend (AHAST) is not just another SuperTrend indicator—it’s a versatile trading companion. By merging classic ATR-based logic with Heiken Ashi smoothing and multi-timeframe confirmation, this tool equips traders with early signals, trend clarity, and strong alignment across timeframes.
Use it with discipline, combine it with your trading framework, and let it sharpen your edge in the markets.
With Thanks,
Rrahul Desai
Artharjan
The Artharjan Heiken Ashi SuperTrend (AHAST) indicator is a refined version of the classic SuperTrend tool, designed for traders who wish to blend trend-following logic with the smoothing effects of Heiken Ashi candles. This script not only highlights market trends but also introduces multi-timeframe filtering, visual cues, and alerts for sharper decision-making.
🔑 Key Features
Heiken Ashi Integration
Option to calculate trends using standard candles or Heiken Ashi candles.
Provides smoother visualization, reducing noise.
Flexible ATR Calculation
Choose between RMA (default) and SMA for ATR computation.
Option to switch between traditional ATR and Heiken Ashi-based ATR.
Customizable Inputs
ATR length, multiplier factor, trend colors, and higher-timeframe filters are all user-configurable.
Debug mode available for internal verification.
Visual Enhancements
Dynamic background highlighting to clearly distinguish bullish vs bearish phases.
Fill plots that emphasize ongoing trends.
Buy and Sell signal markers with optional on/off toggle.
Multi-Timeframe (MTF) Filter
Fetches higher timeframe (e.g., Weekly) Heiken Ashi values.
Detects bullish and bearish flips on higher timeframe trends.
Overlay highlights to align lower timeframe trades with broader market direction.
Alerts & Automation
Alerts available for:
Buy / Sell triggers
Direction changes
Higher timeframe bullish or bearish flips
Compatible with TradingView alerts for automated workflows.
⚙️ How It Works
Core Trend Logic
The script calculates the median price of Heiken Ashi highs and lows.
SuperTrend bands (up and dn) are adjusted using ATR.
A bullish or bearish state is determined based on price closing above or below these bands.
Signal Generation
Buy Signal: Trend flips from bearish (-1) to bullish (+1).
Sell Signal: Trend flips from bullish (+1) to bearish (-1).
Signals can be plotted as circles, labels, or both depending on configuration.
MTF SuperTrend
Parallel SuperTrend calculation on a higher timeframe (user-selected).
Detects bullish flip (HTF ↑) or bearish flip (HTF ↓).
Highlights the chart background with higher timeframe color filters when enabled.
Debug Mode
Turns on background shading to indicate whether Heiken Ashi or regular candles are in use.
Helps verify internal logic for advanced users.
🎨 Visualization Example
Green Highlight / Fill → Active bullish trend
Red Highlight / Fill → Active bearish trend
Light Blue / Gray Highlights → Higher timeframe bullish / bearish alignment
Buy / Sell Labels → Clear entry or exit cues, aligned with the trend
🚨 Practical Usage
Swing Traders: Use higher timeframe filters (e.g., Weekly) to align intraday signals with broader market direction.
Intraday Traders: Focus on Heiken Ashi smoothing to avoid whipsaws in volatile sessions.
Options Traders: Combine bullish/bearish flips with option strategies (e.g., Calls/Puts) to gain directional exposure.
✅ Final Thoughts
The Artharjan Heiken Ashi SuperTrend (AHAST) is not just another SuperTrend indicator—it’s a versatile trading companion. By merging classic ATR-based logic with Heiken Ashi smoothing and multi-timeframe confirmation, this tool equips traders with early signals, trend clarity, and strong alignment across timeframes.
Use it with discipline, combine it with your trading framework, and let it sharpen your edge in the markets.
With Thanks,
Rrahul Desai
Artharjan
สคริปต์ที่ได้รับการป้องกัน
สคริปต์นี้ถูกเผยแพร่เป็นแบบ closed-source อย่างไรก็ตาม คุณสามารถใช้ได้อย่างอิสระและไม่มีข้อจำกัดใดๆ – เรียนรู้เพิ่มเติมได้ที่นี่
I am a professional trader and have passion for teaching and programming. In case anyone is interested to know more then feel to drop me a line at rahul30m@gmail.com / +91-9136096161
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน
สคริปต์ที่ได้รับการป้องกัน
สคริปต์นี้ถูกเผยแพร่เป็นแบบ closed-source อย่างไรก็ตาม คุณสามารถใช้ได้อย่างอิสระและไม่มีข้อจำกัดใดๆ – เรียนรู้เพิ่มเติมได้ที่นี่
I am a professional trader and have passion for teaching and programming. In case anyone is interested to know more then feel to drop me a line at rahul30m@gmail.com / +91-9136096161
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน