boitoki

N Pattern

boitoki Cập nhật   
This indicator looks for N patterns on the chart and illustrates them.
It predicts the future point D from the most recent point C and the past points A and B.

Settings:
Pivot Right bar / Pivot Left bar
Pivot settings.

Lookback
Go back a specified number of bars to find point A.
When point A is found, the opposite vertex in between is point B.

Nearest Bars Count
If the most recent C point and the previous C point are too close, the previous C point will be hidden.
Specify the number of bars to determine if they are too close.

Objectives
There are three types of D points, which are future prices.
Each can be shown or hidden.

Support/Resistance
Draw a line extending horizontally from point B as a support line or resistance line.
Phát hành các Ghi chú:
Changed the option "nearest_count"
0: All lines will be visible.
1: Lines with point A in common will be hidden.
2~: Lines with point C in the specified period will be hidden.
Phát hành các Ghi chú:
Changed the calculation of line lengths for support and resistance lines.
It is calculated from the longer of the A-B and B-C periods.
Phát hành các Ghi chú:
  • Added labels "OP" "COP" "XOP"
Phát hành các Ghi chú:
  • Added P point.
Phát hành các Ghi chú:
Codes refactoring
Phát hành các Ghi chú:
  • Migrated to pine script v5
  • Updated the debug messages.
Phát hành các Ghi chú:
  • Added C-P line

Mã được bảo vệ
Tập lệnh này được xuất bản mã nguồn đóng và bạn có thể sử dụng một cách tự do. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ. Bạn không thể xem hoặc sửa đổi mã nguồn.
Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?