St. Louis, MO
Posts: 2 since Aug 2016
Thanks Given: 0
Thanks Received: 0
|
Try this:
declare lower;
Input Length = 21;
def avg = ExpAverage(Close, Length);
def count = if high > avg and low < avg then count[1] + 1 else 0;
plot base = count >= 3;
Simplified from original.
|