ggvillavicencio

 
Hello, this is learning to program in mt4 and I am making an indicator that would be a donchian channel, I was able to do the upper and lower channels but now I don't know how to calculate the medium (it is formulated), but I don't know how to program it. I add any help.
 
ggvillavicencio: Hello, this is learning to program in mt4 and I am making an indicator that would be a donchian channel, I was able to do the upper and lower channels but now I don't know how to calculate the medium (it is formulated), but I don't know how to program it. I add any help.

median = 0.5 * ( upper + lower )

Show your code so that we can help you code it!

 
ggvillavicencio:
Hello, this is learning to program in mt4 .....

Topics concerning MT4 and MQL4 have their own section.

In future please post in the correct section.

I have moved your topic to the MQL4 and Metatrader 4 section.