Tradehook — Trading Automation Service
mediumAdvanced Scalping

AutoFibAlgo

The AutoFib Algorithm automatically identifies swing points and generates Fibonacci retracement and extension levels, then trades reactions at these mathematically significant price points. The system removes the subjectivity of manual Fibonacci drawing.

TradingView Preview
See this algorithm in action on real charts
AutoFibAlgo TradingView chart
Performance Metrics
Historical backtesting results
77.9%
Win Rate
3.31
Profit Factor
1.1%
Max Drawdown
$158
Avg Trade
Based on 748 trades

About This Algorithm

AUTOMATED FIBONACCI TRADING

Quick Facts:

  • Category: Fibonacci / Retracement
  • Markets: All markets
  • Timeframes: 15min, 1H, 4H, Daily

Overview

The AutoFib Algorithm automatically identifies swing points and generates Fibonacci retracement and extension levels, then trades reactions at these mathematically significant price points. The system removes the subjectivity of manual Fibonacci drawing.

Fibonacci levels (38.2%, 50%, 61.8%, 78.6%) represent natural retracement points where buyers/sellers often step in.


How It Works

SWING DETECTION Automatically identify significant swings:

  • Use pivothigh/pivotlow for swing points
    • Filter for minimum swing size (ATR-based)
    • Track last completed swing (high to low or low to high)

FIB CALCULATION Generate levels from detected swing:

  • 0%: Swing start
    • 38.2%, 50%, 61.8%, 78.6%: Retracement levels
    • 100%: Swing end
    • 127.2%, 161.8%, 261.8%: Extension levels

LEVEL TRADING Enter at Fib levels:

  • Bullish swing: Buy at retracement levels
    • Bearish swing: Sell at retracement levels
    • Target: 0% or extension levels

Key Parameters

SWING DETECTION:

  • swingLookback (10): Bars for swing detection
    • minSwingATR (2.0): Minimum swing size as ATR ratio

FIB LEVELS:

  • useFib382/useFib50/useFib618/useFib786: Enable each level
    • useExtensions (false): Trade extension levels too

ENTRY:

  • entryType ("Touch"): "Touch" or "Rejection"
    • levelTolerance (0.1): ATR buffer around level

Best Use Cases

✅ AUTOMATED Fibonacci trading ✅ RETRACEMENT ENTRIES in trends ✅ EXTENSION TARGETS for profit taking ✅ OBJECTIVE level identification

Customer Reviews

No reviews yet. Be the first to review this algorithm!
Advanced Scalping
Requires Advanced Scalping Plan

Subscribe to Advanced Scalping or higher to access

Subscription Access

Get access to this indicator/strategy on TradingView through our invite-only system. Your TradingView account will be granted access.

One-Time Purchase

Own the complete Pine Script source code forever. Modify, customize, and use it on your own TradingView account.

$2,250
Subscribe to any tier to unlock one-time purchases

What you get with source code:

  • Complete Pine Script v5 source code
  • Lifetime ownership - no recurring fees
  • Full customization rights
  • Use on your own TradingView account
PlatformTradingView
Subscription AccessTradingView Invite
One-Time PurchaseSource Code
LicensePersonal Use

We Value Your Privacy

We use cookies to enhance your browsing experience, analyze site traffic, and personalize content. By clicking "Accept All", you consent to our use of cookies. Read our Privacy Policy for more information.