Automated MSB OTE Fibs and Premium Discount

It does this by finding a pivot, checking if it has been broken by a candle body, then drawing a line for that MSB.
The premium /discount range and fib levels are taken from the high/low before and after the MSB, with the most recent MSB being used.
What is particularly great is that the levels and boxes move in realtime, so there is never any need to redraw things manually, drawing is fully automated and updates with every change in price or MSBs.
Settings:
Left and Right bars for Pivot - this determines the strength of the pivot that has been broken. The stronger the pivot, the stronger the MSB.
Max Lookback - How far to look back for MSBs.
Various aesthetic options to show bullish / bearish MSBs independently, as well as colour and line settings for the MSB, Fibs and Premium/Discount.
Added a new option to move the drawings left/right by an amount of bars.
The result is that bearish and bullish MSBs occurring at the same time are likely to have the same premium/discount range.
- Added support for custom time frames. Use your own settings 2m, 10m, 6H, etc.
- Better visual customisation so you can edit the individual fib levels, change position of bearish / bullish drawings independently.
- More options to choose the premium/discount range, using either the most recent MSB, the oldest MSB or the full lookback distance.
With this update there are some big new features.
- ChoCh (change of character). You can now choose to identify ChoCh. Show these lines in a different colour. Choose a sensitvity level to determine if there is ChoCh of the current trend.
- Set a minimum price change % to display the premium/discount range. The premium/discount and fibs will not show if the range is not at least this percentage difference.
- Line repainting has been reduced with some additional deletion for when a new bar/candle is drawn
Please Note - Due to the complexity of what the script is looking for, it can take up to 30 seconds to load following a refresh or settings change. However once loaded, every new bar will update the indicator instantly.
As always please DM me for support, requests and for trial access.
Updated the default timeframe to be the same as the chart. Added a tooltip that chart timeframe must be lower than indicator.
Changed default colours to better suit light and dark themes
- fib levels can each be customized to a user defined value
- each fib level can be easily and independently hidden
- the fib levels and the range boxes can be shown even when there is no MSB, allowing more flexibility for range traders
Updated example chart image
Script sob convite
Somente usuários autorizados pelos autores tem acesso a esses scripts, e isso normalmente requer pagamento. Você pode adicionar o script aos seus favoritos, mas você será capaz somente para usar ele depois de solicitar permissão e permiti-lo do seu autor — saiba mais aqui. Para mais detalhes, siga as instruções dos autores abaixo ou contate Texmoonbeam diretamente.
O TradingView NÃO recomenda pagar ou usar um script ao não ser que você confie totalmente no seu autor e compreende como isso funciona. Você pode também encontrar alternativas gratuitas e de código aberto em nossa comunidade de scripts.
Instruções do autor
Aviso: leia nosso guia para scritps somente sob convite antes de solicitar acesso.
Aviso legal
Script sob convite
Somente usuários autorizados pelos autores tem acesso a esses scripts, e isso normalmente requer pagamento. Você pode adicionar o script aos seus favoritos, mas você será capaz somente para usar ele depois de solicitar permissão e permiti-lo do seu autor — saiba mais aqui. Para mais detalhes, siga as instruções dos autores abaixo ou contate Texmoonbeam diretamente.
O TradingView NÃO recomenda pagar ou usar um script ao não ser que você confie totalmente no seu autor e compreende como isso funciona. Você pode também encontrar alternativas gratuitas e de código aberto em nossa comunidade de scripts.
Instruções do autor
Aviso: leia nosso guia para scritps somente sob convite antes de solicitar acesso.