How to calculate Closing Range

To add comments, please log in or register
markhatlan
12
markhatlan  

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?

To add comments, please log in or register