OPEN-SOURCE SCRIPT
Aggiornato

Best Fracktals

194
Key Features:
Fractal Detection: The script detects both top and bottom fractals using custom logic based on candle body highs and lows, not wicks.

Customizable Parameters:

Number of candles (len) to check on each side of the central bar to determine if it forms a fractal.

Number of fractals (fractalCount) to remember and draw lines for.

Visual Indicators:

A red downward triangle marks top fractals above the bar.

A green upward triangle marks bottom fractals below the bar.

Fractal Lines:

Draws up to fractalCount horizontal lines across the chart at the levels of the most recent fractals.

Lines update dynamically as new fractals are detected.

Logic Overview:
Top Fractal: The central candle has a higher body high than surrounding candles.

Bottom Fractal: The central candle has a lower body low than surrounding candles.

Ensures no duplicate fractals are marked on equal highs or lows.
Note di rilascio
"Best Fractals" Indicator – Modified Version
This updated version of the "Best Fractals" TradingView indicator introduces the following improvements:

✅ Changes Implemented:
Line Color Changed to Black:

The horizontal lines that represent recent fractal levels are now drawn in black instead of red (for tops) and green (for bottoms).

This helps ensure better visibility across various chart backgrounds.

Fractal Marker Position Adjusted (Bottom Fractals):

The bottom fractal triangle markers are now positioned closer to the candles by reducing the offset from -len to -1.

This provides a more visually aligned and natural placement relative to price action.

🔧 Unchanged Features:
Top and bottom fractals are still identified using custom logic based on the candle body highs and lows (not wicks).

Triangular markers are shown above or below bars.

Up to a specified number (fractalCount) of recent fractals are used to draw persistent horizontal lines.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.