OPEN-SOURCE SCRIPT

Contraction Levels

Mis à jour
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)
Notes de version
Options to show/hide:
- Contraction Candles
- Center Lines
- Filter Lines
Notes de version
Colors all 3 contraction candles instead of last candle
Notes de version
Added Alerts and their options to show/hide for:
- New contraction candle
- New bullish and breakout
- Cross for center line and +/- filter lines
Notes de version
Fixed a bug in breakout alerts
Notes de version
Added some details to comments
Notes de version
Fixed some bug about barstate for contraction bars
contractionPivot points and levels

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?

Clause de non-responsabilité