Page 1 of 1

Need help with a scripting syntax

Posted: Thu Jul 01, 2021 12:56 pm
by bsegura
Does anyone know the script command to find the highest close and lowest close for 200 periods

Re: Need help with a scripting syntax

Posted: Fri Jul 23, 2021 2:27 pm
by nibor200
They are both contained within the System Scans group of the Chart Scripts named HighClose and LowClose.
Ed S.

Re: Need help with a scripting syntax

Posted: Fri Aug 06, 2021 10:31 am
by bsegura
Many Thanks!

Re: Need help with a scripting syntax

Posted: Fri Aug 06, 2021 10:58 am
by bsegura
I tried the command (HHV(C, N) == C) but it is an event.

I was trying to have a 200 period line that is at the height of the highest close within the last 200 bars

Please let me know if anyone has any good ideas on this...

Re: Need help with a scripting syntax

Posted: Wed Sep 01, 2021 7:26 pm
by henry1224
You can look up Donchain Channels and set the length to 200