FourC

4C Inside/Outside Bar

FourC Cập nhật   
This indicator colors the candle body based on whether it closed as an Inside Bar (IB) or an Outside Bar (OB).
Inside and outside bars can be powerful triggers to enter or exit trades from, when price breaks above or below the candle.
The coloring of only the body and not the border of the candle makes it possible to still know whether the candle was bullish/bearish.

This indicator has the unique ability to add/hide labels for each IB and OB.
Small labels are printed on the chart directly below the candle. (See below)

It also has the unique ability to paint the chart background when an IB forms directly after an OB.
This is a special combination of the two, and can also be a powerful signal.
This feature can be turned on/off. (See below)

Thanks to Craig Stine, as some parts of this indicator were adapted from Custom Candle color Inside/Outside candles, Highwave, Star Patt. by Craig_Stine
Phát hành các Ghi chú:
04/07/22 Version Update
Updated script to include a chart signal when the combination of an Outside Bar + Inside Bar occurs.
This can be another powerful signal, similar to the Inside Bar + Outside Bar occurs.
Ability to turn the chart signal on/off.
Phát hành các Ghi chú:
Update 04/08/22

Indicator updated to show 2 new candle combination chart signals:

1) Double Inside Bar: When a 2 inside bars form back to back, the chart paints a background color signal
2) Double Outside Bar: When a 2 outside bars form back to back, the chart paints a background color signal

Double inside and double outside bar combinations can be powerful price action signals.
The double inside bar combination is now the only signal that is turned on by default.

The indicator code was also organized a bit with the addition of these new signals
Phát hành các Ghi chú:
This new Update (04/11/22) includes several new features.
1) Updated to include labels on the chart for Inside/Outside bar combinations (can still turn on/off).
2) Updated to include labels in the Style Settings for the bar combinations and their background colors (see screenshot in comments)
3) Slightly changed default coloring schemes
4) Refined and reduced the code a bit
Mã nguồn mở

Với tinh thần TradingView, tác giả của tập lệnh này đã xuất bản nó dưới dạng mã nguồn mở, vì vậy các nhà giao dịch có thể hiểu và xác minh nó. Chúc mừng tác giả! Bạn có thể sử dụng mã này miễn phí, nhưng việc sử dụng lại mã này trong một ấn phẩm chịu sự điều chỉnh của Nội quy nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

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 đồ?