I would like to compare the $ amount of the lower Bollinger Band of the last bar to five bars ago to see if it is <= $5 difference. I've tried several 'guesses' but they didn't work.
Thanks in advance.
Size:
Color:
Here you go - although I'm guessing that you really want >=, since the "normal" condition would be for the difference to be <= 5.
CODE:
Please log in to see this code.
Size:
Color:
Wow, I do not understand the following:
CODE:
Please log in to see this code.
Would there be another way to get the bbL[bar] variable?
Also, I've been coding with WLP 4 and understand that somewhat better.
Size:
Color:
QUOTE:
Would there be another way to get the bbL[bar] variable?
You can AnnotateBar, or AnnotateChart, or DrawText, or even get a Windows Form messagebox displaying your variable.
Size:
Color:
... or just hover the cursor over the BBand in the chart.
Size:
Color: