// I have written a Pine Script to re-paint large candles in a different Color. // You can set the value that you want to use to define what is 'Large', and the script will re-paint any candle whose size is equal to or greater than your value. // The number can be an integer (8) or a decimal (7.5). // You can enable the size measurement to be done in one of two...
Example how to color the trigger bar of the condition and n-1 prior bars using only 1 barcolor() function. Currently when offsets are used in barcolor(), bgcolor(), plot(), plotarrow(), plotchar(), or plotshape(), the offset only works with a simple (static) integer. If series (dynamic) integers are used instead, there is not an error, but the series values are...
This script is similar to the "Hi-Lo" or "Clear" methods of painting bars. Instead of using the tips/edges of the candles like those two, the "(H+L)/2" method uses the change in (high+low)/2 to paint the bars. This gives you some similar results if you were to be binary with the candle coloring. However, my coloring scheme is not entirely binary. There are 5...