OPEN-SOURCE SCRIPT

Contraction Levels

Telah dikemas kini
A contraction candle is a candle whose body engulfs both left and right candlesticks' bodies. This indicator shows those contraction candlestick patterns which consists of successive candles. Then draws a horizontal level line to its defined % of its body size and also draws +/- filter lines which are shown as dashed lines, also with an option to define those filters' percentage.

Bullish Contraction:
Whenever a new candle closes above the maximum high of 3 contraction candles pattern, that contraction is called bullish contraction and its lines are shown as green lines ( you can change the color as well)

Bearish Contraction:
Whenever a new candle closes below the maximum low of 3 contraction candles pattern, that contraction is called bearish contraction and its lines are shown as red lines ( you can change the color as well)
Nota Keluaran
Options to show/hide:
- Contraction Candles
- Center Lines
- Filter Lines
Nota Keluaran
Colors all 3 contraction candles instead of last candle
Nota Keluaran
Added Alerts and their options to show/hide for:
- New contraction candle
- New bullish and breakout
- Cross for center line and +/- filter lines
Nota Keluaran
Fixed a bug in breakout alerts
Nota Keluaran
Added some details to comments
Nota Keluaran
Fixed some bug about barstate for contraction bars
contractionPivot points and levels

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?

Penafian