I use Labels a lot. I like to put direction and percentages in a Label rather then taking up valuable screen space as a bottom indicator.
Yesterday I ran into a problem. Pretty simple code. But it just wouldn't work.
So I changed all my def variable definitions to plot definitions. This of course totally messed up the indicator's rendering; as these Label variables were near the zero range. But that didn't matter, as I was not interested in the indicator's plot. From the Style drop down, I tuned on the Floating Data Box, and suddenly all my def variables, (now rendered as plot variables), were visibly available in the Data Box, bar by bar.
Once I saw them in action like this, it was fairly simple to figure out the error in my code.
So... if you're ever stuck, temporarily convert the def variables in question to plot variables, so the show up in the Data Box.
Yesterday I ran into a problem. Pretty simple code. But it just wouldn't work.
So I changed all my def variable definitions to plot definitions. This of course totally messed up the indicator's rendering; as these Label variables were near the zero range. But that didn't matter, as I was not interested in the indicator's plot. From the Style drop down, I tuned on the Floating Data Box, and suddenly all my def variables, (now rendered as plot variables), were visibly available in the Data Box, bar by bar.
Once I saw them in action like this, it was fairly simple to figure out the error in my code.
So... if you're ever stuck, temporarily convert the def variables in question to plot variables, so the show up in the Data Box.