New Members: Be sure to confirm your email address by clicking on the link that was sent to your email inbox. You will not be able to post messages until you click that link.

Bollinger Band Width Check

Hi everyone,
this is my first post here. I learned a lot from other posts but could not find the answer to my problem.

I am trying to check the width (or range?) of the Bollinger Bands of monthly RSIs against past 20 periods. Basically I am trying to find if the "Monthly Upper BB - Monthly Lower BB > Average of the past 20 period (Monthly Upper BB - Monthly Lower BB)".

Here is what I have so far. I don't receive a syntax error however this scan returns zero results but I know that it should return at least 1 result (looking at the chart visually within the scanned time interval).

What am I doing wrong?

and [
[[last month's Monthly Upper BB(20,2.0,last month's Monthly RSI(14)) - last month's Monthly Lower BB(20,2.0,last month's Monthly RSI(14))] < [last month's monthly SMA(20,[2 months ago Monthly Upper BB(19,2.0,2 months ago Monthly RSI(14)) - 2 months ago Monthly Lower BB(20,2.0,2 months ago Monthly RSI(14))])]]

Any help is appreciated!


  • markdmarkd ✭✭✭
    I seem to remember that the sma( ) and ema( ) functions can only handle individual values, like close, or high, or volume, or indicators, like Force(13), but not custom calculations like sma(10, [high-close]), even though, as you say, there are no syntax errors. Maybe wait for @gord to verify that, or check with Support. In the meantime, I'll see if I can think of a simple test scan to see if that's true (just woke up).
  • markdmarkd ✭✭✭
    I wonder if you might be able to do something with Bollinger Bandwidth instead:
  • Thanks markd. I will try it out.
Sign In or Register to comment.