OPEN-SOURCE SCRIPT

Trending Bar SR

Trending Bar SR is a simple script define a Bar called "Trending Bar".
Depend on direction of Trending Bar, if Trending Bar is UpTrend then this indicator plot Bar's Low Price as Support and if Trending Bar is DownTrend then it plot Bar's High Price as Resistance.
Beside, this indicaor also plot 4 levels retracement of Trending Bar for trading.
1. Define Trending Bar
1.1 Uptrend Bar
+ Close Price higher than previous High Price
+ Body greater than sum of shadows (up and down)
+ Color: A green dot is plotted at bottom chart.
1.2 Downtrend Bar
+ Close Price lower than previous Low Price
+ Body greater than sum of shadows (up and down)
+ Color: A red dot is plotted at bottom chart.
2. Retracement Level
+ Trending Bar Retracement 0.5 is called Equerium.
+ Trending Bar Retracement 0.618 is called Perfect Entry.
+ Trending Bar Retracement 0.705 is called Optimal Entry.
+ Trending Bar Retracement 0.79 is called Max Entry.
3. Trading
+ When Price crossed Equerium, consider open position at Perfect Entry, Optimal Entry with stoploss place at Max Entry.
+ If place order at Max Entry, stoploss can place at Support or Resistance.
Breadth IndicatorsHigh-Low Index

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer