OPEN-SOURCE SCRIPT

Point and Figure Displacement Indicator

1 249
The PnF Displacement indicator is my custom script for TradingView, designed to analyze Point and Figure (PnF) charts with displacement features.

Key components of the script include:

User Inputs:

Require FVG: A boolean input to determine if a Fair Value Gap (FVG) is required for displacement calculations.

Displacement Type: Allows users to choose between "Open to Close" and "High to Low" for column range calculations.

Displacement Length: Defines how far back to look for calculating the standard deviation of the column range.

Displacement Strength: Multiplier for the standard deviation to adjust sensitivity.

Box Size: Sets the size of each box in the PnF chart.

Number of Boxes for Minimum Displacement: Specifies how many boxes to consider for calculating the minimum displacement.

Displacement Logic:
The script calculates the column range based on the selected displacement type.

It computes a standard deviation of the candle range and determines a minimum displacement based on user-defined box size and count.

The displacement condition combines the FVG check and the column range against the calculated minimum.

Visual Representation:
The bars are colored based on displacement conditions, enhancing visual analysis on the chart.

This indicator aids traders in identifying significant price movements in PnF charts while incorporating user customization options for better analysis.

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.