http://m.getsatisfaction.com/topics/7827351 Can someone help me with Pine? Trying to highlight bars that close X$ +/- 2018-12-09T02:54:50Z 2018-12-08T20:52:13Z 7827351 http://m.getsatisfaction.com/topics/7827351 7827351 Can someone help me with Pine? Trying to highlight bars that close X$ +/- 2018-12-09T02:54:50Z 2018-12-08T20:52:13Z ChandlerQuintin http://m.getsatisfaction.com/people/6970790 https://www.gravatar.com/avatar/a05c4874d8888009807439e92d9f62e1?d=identicon&s=55&r=PG chandlerquintin Hi, <br /><br /> I was wondering if anyone could assist me, or provide me with script that will allow me to highlight a bar that closes up or down a set percentage or dollar value? <br /><br /> I really cannot understand pine for the life of me, and after 9+ hours of trial and error, I'm nowhere. <br /><br /> Any help would be appreciated - happy to tip! question 1 2 1 comment http://m.getsatisfaction.com/topics/7827351/replies/19895474 http://m.getsatisfaction.com/topics/7827351 19895474 midtownsk8rguy responded to "Can someone help me with Pine? Trying to highlight bars that close X$ +/-" 2018-12-09T02:54:50Z 2018-12-09T02:54:50Z midtownsk8rguy http://m.getsatisfaction.com/people/9850473 https://www.gravatar.com/avatar/fcd82f44f3aa5180d90b807526c8c304?d=identicon&s=55&r=PG midtownsk8rguy This would probably use barcolor() with plotcandles(). The highlight would use the barcolor(close > predeterminedFactor + closeTwentyBarsAgoValue ? color(lime,0) : na). A very bright green bar should appear overlaying the plotcandle() indicating close is greater than a calculated percentage or value higher than a former close. predeterminedFactor and closeTwentyBarsAgoValue algorithms are up to your wild imagination and expectations. It's takes more than 9 hours to become fluent with Pine and it's very different compared to other languages. The indicator public library scripts are a great source of code snippets for understanding. 0