Thank you so much for your help! I forgot that my chart was actually heiken ashi. Due to the nature of heiken ashi candles, I needed to tweak the code a bit and came up with the code below and it works with flying colors! Thanks again! def haclose = (open + high + low + close) / 4; def haopen = CompoundValue(1, (haopen[1] + haclose[1]) / 2, (open[1] + close[1]) / 2); def closelower = haoby phule123 - Trading Discussion
Could somebody help me write a code that colors the background of the column to match the color of the current day's candlestick? As you can see the current color of the candlestick on the chart is red, so I would like a code that also changes the background color of the corresponding symbol's column to also be red. I don't need numbers to be on the column. Just a blank column with green or rby phule123 - Trading Discussion
Hi! I really need help with creating a scanner that tells me when a stock's price nears/hits/breaks the Upper Vwap, Vwap, or lower Vwap as shown on the picture. Preferably the scanner will show the percentage that a stock is away from the upper,lower or middle vwap. I know it'll be hard to make a scanner that shows the percentage for the vwap plus it's deviations, so I was wondering if you guys cby phule123 - Trading Discussion