Cuban's Candle Colouring

Using a complex combination of bullish / bearish candle structure (such as engulfings and breakouts) and moving averages, this indicator attempts to illustrate weakness and strength within a trending market.

Included are labels that highlight important breaks of micro structure levels.

The beauty of this script lies in the discretionary trading of 'mid-candle' colour changes, giving the trader a simple micro structure bias.

The white ( bullish ) and dark red ( bearish ) colours are the higher confluence indications of candle structure breakout and breakdown, with the grey (semi-bullish) and pink (semi-bearish) showing trend weakness.
Release Notes:
  • Pine runtime fix
Release Notes:
  • Extended max bars back
Remove from Favorite Scripts Add to Favorite Scripts


Hi, Thank you for creating an amazing indicator. Today mine is not working suddenly saying: "Price cannot determine the referencing length of series. Try using max series"

Please can you help with what that is?

Many Thanks
+7 Reply
@dani_4x, the same with mine and I really appreciated this script - it was so well done. Any thoughts on the issue @cubantobacco ? Thank you.
+5 Reply
dani_4x SelousScoutTrades
@SelousScoutTrades, is yours working? Mine isn’t still. Quite annoying it isn’t being fixed :(
Great indicator, thank you @cubantobacco . Looks like the script is down on LTF, any chance you can have a look at it? Thanks again!
+6 Reply
Goodmorning Cuban
+6 Reply
@lmaoscav, GM
Hi, please help.
How do I add and use this with my trading view account? I have clicked the Add to gavorite scripts but cant find it.
Thanks in advance for your help
+5 Reply
Trader_52 Trader_52
Found it... Thanks
+1 Reply
simple and beautiful my friend
+2 Reply
muito obrigado. já me foi util hoje. o indicador tem uma bela taxa de acerto. Parabéns and thank you!
+2 Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Referred friends Coins My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out