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.

Brackets

Working on a new scan. This is not producing the results that I sure it should if I have arranged the brackets correctly. If you feel like looking at it with respect to how I have it bracketed or anything else that you might see, I would appreciate it very much.

[Favorites list is 9] and [[[Weekly MACD Line(12,26,9) > 0.0] and [Weekly MACD Line(12,26,9) > Weekly MACD Signal(12,26,9)] and [Weekly MACD Line(12,26,9) < Last week's MACD Line(12,26,9)] and [[MACD Hist(72,156,54) < 2 Day ago MACD Hist(72,156,54)] or [MACD Hist(72,156,54) < 0.0]] and [Close < Open*.996] and [High > SMA(20)] and [Max(3,Close) > Max(3,SMA(20))] and [1 Day ago MACD Hist(6,9,0) > 0.0]]

and [[[MACD Line(12,26,9) > 0.0] and [MACD Line(12,26,9) > MACD Signal(12,26,9)] and [MACD Line(12,26,9) < Yesterday's MACD Line(12,26,9)]]

or [[MACD Line(12,26,9) > 0.0] and [MACD Line(12,26,9) < MACD Signal(12,26,9)] and [MACD Line(12,26,9) < Yesterday's MACD Line(12,26,9)]]

or [[MACD Line(12,26,9) < 0.0] and [MACD Line(12,26,9) < MACD Signal(12,26,9)] and [MACD Line(12,26,9) < Yesterday's MACD Line(12,26,9)]]

or [[MACD Line(12,26,9) < 0.0] and [MACD Line(12,26,9) > MACD Signal(12,26,9)] and [MACD Hist(12,26,9) > Yesterday's MACD Hist(12,26,9)] or [MACD Hist(6,9,0) < 1 Day ago MACD Hist(6,9,0)]]]

Comments

  • lmkwinlmkwin ✭✭
    Count up your Left [ and Right ] in each segment. They should be equal

    In the line:

    and [[[MACD Line(12,26,9) > 0.0] and [MACD Line(12,26,9) > MACD Signal(12,26,9)] and [MACD Line(12,26,9) < Yesterday's MACD Line(12,26,9)]]

    there are 5 [ and 4 ]
  • markdmarkd mod
    edited October 9
    I know you resist the idea, but formatting for clarity ( a separate line for each "and" statement and a separate line for each "or" bracket) and commenting each line or group of lines will 1- help you avoid mistakes in the first place and 2 - make it easier for others to help when you need it.
  • Thanks fellas
Sign In or Register to comment.