Crying for help!!!! please.

 
how to difine the higher low, higher high, lower high and lower low ?

please anyone expert know how to code a script to define the
  • higher high
  • higher low
  • lower high
  • lower low
please guide me...thanks a lot. ~>_<~
 
thank you i'll try.
Reason: