OPEN-SOURCE SCRIPT
Telah dikemas kini

Fixed Gap Price Levels

495
Indicator Description:
The Fixed Gap Price Levels indicator draws horizontal price levels at user-defined intervals on the chart.

Users can select a starting price level (e.g., 71 or 2.1).
Lines are drawn at fixed gaps (e.g., if 71 is chosen, lines appear at 71, 142, 213, etc.).
An optional midpoint line can be enabled to appear halfway between the main levels.
Customizable colors for both main and midpoint lines.
Lines extend across the entire screen for easy visualization of price levels.
This tool helps traders quickly identify key price levels based on predefined spacing, aiding in technical analysis.
Nota Keluaran
The base price to be drawn from added - in the works will update
Nota Keluaran
corrected
Nota Keluaran
Indicator: Fixed Gap Price Levels 1.2
Overview
This TradingView indicator automatically plots horizontal price levels at fixed intervals (gaps) above and below a user-defined base price. It allows traders to visualize structured price levels, which can be useful for support/resistance zones, range trading, and breakout strategies.

Features & Customization
Base Price Selection

Users specify a base price where the first level is drawn.
Gap Size Between Levels

The user sets a fixed gap size, determining the distance between each horizontal level.
Customizable Number of Levels

Users can specify how many levels to draw above and below the base price.
Main Price Levels

Drawn at equal intervals based on the gap size.
Fully customizable with:
Color
Line width
Line style (solid, dashed, dotted)
Midpoint Levels (Optional)

Users can enable midpoint levels between each gap.
These are also customizable with:
Color
Line width
Line style
Automatic Extension of Levels

Levels extend across the entire chart for easy reference.
How It Works
The indicator calculates price levels at equal intervals (above and below) from the user’s base price.
If enabled, midpoint levels are also plotted halfway between each price level.
The lines automatically update as new price data comes in.
Use Cases
✅ Scalping & Range Trading – Identify fixed price zones for short-term trades.
✅ Support & Resistance Analysis – Visualize key levels at equal price intervals.
✅ Grid Trading – Helps in automated strategies using fixed price increments.
Nota Keluaran
added a cart with a gap of 0.0001
Nota Keluaran
Key Features and Functionality
Base Price and Gap Size:

The user specifies a basePrice (e.g., 100) and a gapSize (e.g., 10).

The indicator calculates price levels above and below the basePrice at intervals equal to the gapSize.

Number of Lines:

The user defines how many lines (numLines) to draw above and below the basePrice.

For example, if numLines = 5, the indicator will draw 5 lines above and 5 lines below the basePrice.

Midpoint Lines:

If enabled (showMidpoint = true), the indicator will draw additional horizontal lines at the midpoint between the main levels.

For example, if the gap between two main levels is 10, a midpoint line will be drawn at 5 units above the lower level.

Customizable Line Styles:

The user can customize the appearance of the main and midpoint lines:

Line Width: Thickness of the lines.

Line Style: Solid, dashed, or dotted.

Line Color: Color of the lines.

Dynamic Line Drawing:

The lines are drawn dynamically across the chart, extending 500 bars to the left and right of the current bar (bar_index - 500 to bar_index + 500).

The lines are extended in both directions (extend=extend.both), ensuring they span the entire chart.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.