how can I calculate a 20 day price channel in mt4?

sd2000sd
219

how can  I calculate a 20 day price channel in mt4?

I need it for my calculations,

how can I find the current value of the upper line of a price channel for a given bar?



I couldnt find any built in functions in mt4.

Do you know any?