boitoki

N Pattern

boitoki 已更新   
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.
版本注释:
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.
版本注释:
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.
版本注释:
  • Added labels "OP" "COP" "XOP"
版本注释:
  • Added P point.
版本注释:
Codes refactoring
版本注释:
  • Migrated to pine script v5
  • Updated the debug messages.
版本注释:
  • Added C-P line

受保护脚本
该脚本是闭源发布的,您可以自由使用它。您可以收藏它以在图表上使用。您无法查看或修改其源代码。
免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?