Moving Range of last 10 candles

 

Hi,

 I am new to MQL i needs to find a way to get alert when market moves inside a range.

 

Ex : when the last 10 candles high and low is just less than 20 pips.
High : 1.1250
Low : 1.1230

 
Appreciate someones help.

 

Thanks you

 
Please show your attempt.
Reason: