How to calculate Closing Range

 

Hi all, I'm new to MQL and am having trouble coding this. I put:

(PRICE_CLOSE-PRICE_LOW)/(PRICE_HIGH-PRICE_LOW)[1]>0.8

in my opening order criteria but it is giving me an array required error.

What is an easy way to plug this into an open or close criteria?

Reason: