OPEN-SOURCE SCRIPT

ka66: Bar Range Bands

Von ka66
This tool takes a bar's range, and reflects it above the high and below the low of that bar, drawing upper and lower bands around the bar. Repeated for each bar. There's an option to then multiply that range by some multiple. Use a value greater than 1 to get wider bands, and less than one to get narrower bands.

This tool stems out of my frustration from the use of dynamic bands (like Keltner Channels, or Bollinger Bands), in particular for estimating take profit points.

Dynamic bands work great for entries and stop loss, but their dynamism is less useful for a future event like taking profit, in my experience. We can use a smaller multiple, but then we can often lose out on a bigger chunk of gains unnecessarily.

The inspiration for this came from a friend explaining an ICT/SMC concept around estimating the magnitude of a trend, by calculating the Asian Session Range, and reflecting it above or below on to the New York and London sessions. He described this as standard deviation of the Asian Range, where the range can thus be multiplied by some multiple for a wider or narrower deviation.

This, in turn, also reminded me of the Measured Move concept in Technical Analysis. We then consider that the market is fractal in nature, and this is why patterns persist in most timeframes. Traders exist across the spectrum of timeframes. Thus, a single bar on a timeframe, is made up of multiple bars on a lower timeframe. In other words, when we reflect a bar's range above or below itself, in the event that in a lower timeframe, that bar fit a pattern whose take profit target could be estimated via a Measured Move, then the band's value becomes a more valid estimate of a take profit point.

Yet another way to think about it, by way of the fractal nature above, is that it is essentially a simplified dynamic support and resistance mechanism, even simpler than say the various Pivot calculations (e.g. Classical, Camarilla, etc.).

This tool in general, can also be used by those who manually backtest setups (and certainly can be used in an automated setting too!). It is a research tool in that regard, applicable to various setups.

One of the pitfalls of manual backtesting is that it requires more discipline to really determine an exit point, because it's easy to say "oh, I'll know more or less where to exit when I go live, I just want to see that the entry tends to work". From experience, this is a bad idea, because our mind subconsciously knows that we haven't got a trained reflex on where to exit. The setup may be decent, but without an exit point, we will never have truly embraced and internalised trading it. Again, I speak from experience!

Thus, to use this to research take profit/exit points:

  1. Have a setup in mind, with all the entry rules.
  2. Plot your setup's indicators, mark your signals.
  3. Use this indicator to get an idea of where to exit after taking an entry based on your signal.



Credits:

  • ICT_ID for providing the idea of using ranges to estimate how far a trend move might go, in particular he used the Asian Range projected on to the London and New York market sessions.
  • All the technicians who came up with the idea of the Measured Move.

Bands and ChannelsFractalSupport and Resistance

Open-source Skript

Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun das Script auch andere Trader verstehen und prüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden. Die Nutzung dieses Codes in einer Veröffentlichung wird in unseren Hausregeln reguliert. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Möchten Sie dieses Skript auf einem Chart verwenden?

Haftungsausschluss