Search results

  1. J

    ThinkScript Recursive Data Help

    It would be extremely easy if I had the ability to have a variable such as x = x + 1 but that is not possible.
  2. J

    ThinkScript Recursive Data Help

    I'm not trying to move the plotted number up 1 but for every time the count chart = 1 the compound count will add 1. So if it counts 5 highs (the count chart hits the number 1 5 times), the compound count will equal 5.
  3. J

    ThinkScript Recursive Data Help

    Wish I could use a different language. :/ Tried that as well but it just moves the plotted numbers up 1 on the Y axis... Tried using multiple variables to get around the fact that a variable can't equal itself in Think script but it doesn't let you define variables in if statements: plot...
  4. J

    ThinkScript Recursive Data Help

    I've tried that but the language, ThinkScript, doesn't allow it. It believes every time it goes through the fold (a type of loop) the then statement is executed as 0 + 1. Not uppercount = uppercount + 1. This leads to it displaying 1 and 0 not a compounded number. I'm trying to figure out if...
  5. J

    ThinkScript Recursive Data Help

    So I am building a study that will act as a scanner for horizontal channels. I have everything programmed up to it detecting whenever there is a high and low within a channel. It plots 1 when the price hits resistance and a 0 when it isn't. There is a separate plot that plots 1 when the price...
Back
Top