♥ 0 |
Hello, I am trying to make a scan for something is that not equal to one of my criteria. I will use some demo code in this example.
def pop = (close[1] * 1.2) < close and volume > 100000; I need to scan for something where there was the following pattern: Day 1: no pop Day 2: pop Day 3: no pop I don’t know how to scan for something where there was “no pop” 1 day ago and “no pop” 3 days ago. Is there a not equals sign for think or swim? Here’s my attempt: plot scan = is not equal to pop[3] and pop[2] and is not equal to pop[1]; Thank you!
Marked as spam
|
Please log in to post questions.
Day 4: Current day