study(title="EFI", shorttitle="EFI") XLen1 = input(13, minval=1) XLen2 = input(8, minval=1) hline(0, color=gray, linestyle=line) xValue = volume * (close - close ) xSMA1 = ema(xValue, XLen1) xSMA2 = ema(xValue, XLen2) plot(xSMA1, style = columns, color=aqua, title="SlowAvg") plot(xSMA2, color=white, title="FastAvg")
4 Colored Laguerre PPO lime = positive rising green = positive descending red = positive descending maroon = positive rising Enjoy :) www.tradingview.com(PPO) The Laguerre Filter is a smoothing filter based on Laguerre polynomials.
Working MACD Histogram which colors bars based on the slope from the previous. The default colors will work for both Deuteranopia and Protonopia color-blind people but can be modified. There is a bug with 'MACD 4C' by vkno422 + signal line - squattter and 'MACD for colour blind people' by cfhrtd in that it draws the MACD line itself as a histogram, rather than...
Welcome to Pine Script Tutorial #4 This is more complex than the previous 3 tutorials. This one builds upon the first 3 tutorials. What does this code do?: It plots on a histogram (at the bottom), the difference between closest round number and the close. So for example 84 -close = 16 pips. It shows the 16 pips on the histogram. First off, it is actually Two...
The related article is copyrighted material from Stocks & Commodities 2009 Oct