OPEN-SOURCE SCRIPT
已更新

Three-Bar Reversal Signal

1 812
This indicator is a simple setup of Three Bar Reversal. Logic of the code is as below.

Rules :
Long Setup
Bar 1 closes down
Low of Bar 2 is below the low of Bar 1 (and Bar 3)
Bar 3 closes above the high of both Bar 1 and Bar 2
Buy at the close of Bar 3

Short Setup
Bar 1 closes up
High of Bar 2 is above the high of Bar 1 (and Bar 3)
Bar 3 closes below the low of both Bar 1 and Bar 2
Sell at the close of Bar 3
版本注释
Updated title and username
版本注释
Updated the Script to generate indicator only when the bar is closed.
版本注释
Updating the current script by changing the detection method from high to close. Hence reducing unwanted signals.
版本注释
Updated visible marker on the chart to highlight 3-Bar setup for better recognition and decision making on 3 Bar reversal.

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。