♥ 0 |
I want to be able to attach a chart bubble or arrow to a specific bar. For example, I want to attach a bubble to the highest high in the last 21 bars. I use recursion to find the highest high which gives me the bar count back. I try to drop that into the AddChartBubble function for the Price Location as such, addchartBubble ( yes,high [Barcount], “H21”, color.green, yes); but the error message says, ‘Only constants expected here: Barcount CL function indexer of high at 19:28.’ Is there a way to convert this value to an integer and will that work? Is there a way to identify a specific bar and attach an object like a bubble or arrow?
Marked as spam
|