Thisis the formula I received on forum for ATR. Is it incorrect?

I enter this as a Boolean but it keeps telling me it has to be a Boolean
{ATR} (((((H  L) * ((H  L) >= ABS((H  C1))))) + ((ABS((C1  H)) * ( ABS((H  C1)) > (H  L))))) * (((((L  H) * ((H  L) >= ABS((H  C1))))) + ((  ABS((C1  H)) * ( ABS((H  C1)) > (H  L))))) >= ABS((C1  L)))) + ((  ABS(C1  L)) * (ABS(C1  L) > ((((L  H) * ((H  L) > ABS((H  C1))))) + ((  ABS((C1  H)) * ( ABS((H  C1)) > (H  L)))))))

I know that one can design a formula one bar back but can you design a formula to project one bar forward using the same old price information?
For instance in the formula (C C5/ C5) Would adding +1 project the anticipated price?
I am not trying to divine the future but I am trying to estimate, given the same price information the anticipated price.
Thank you

bcochrane Thanks for your input

Thank You
I'm sorry for the confusion

I have suffered a stroke and I am mending so my question my seem elementary I apologize but could you please look at it.
TY

I have used the above formulae but it doesn't generate the true results and I am experiencing a Senior moment. It is simple the adr Average Daily Range is the highest high minus the lowest low divided by the # of days
The attached range for the stock BZUN has a range of over $2 every day but when I use the results from the above formulas they come out to 1.25 and 1.96 which are incorrect.
i am looking for the average range for the last 5 days I even tried ((H1 +L1) +(H2 +L2) +(H3 +L3) +(H4 +L4) + (H5 +L5))/5
BZUN 12/14 H 38.30 LOW 35.80, 12/13 38.69 36.75 , 12/12 37.85 35.65, 12/11 35.29 34.16, 12/10 34.35 32.42
I am in a fog and know I am mssing something but...? and then I want to get a percentage (.625) of that ADR so that I can work within the anticipated range for an issue

Is anyone answering inquiries today?

I am trying to get the 5 day adr of the highest high and lowest low for the last five days but when I run this scan starting with (MAXH3  MINL3) I am not getting the incorrect numbers. What am I doing wrong?
((MAXH1  MINL1)+ (MAXH2  MINL2)+ (MAXH3  MINL3)+ (MAXH4  MINL4)+
(MAXH5  MINL5))/5
and is this the same for Vs 18
I tried ((AVGH1 AVGL1) + (AVGH2 AVGL2) + (AVGH3 AVGL3)+ (AVGH4 AVGL4)+ (AVGH5 AVGL5)) /5 and the same hapens.
Thanks
