Forum

My First Indicator, Drawing 4 moving averages at once

For study purposes, I'm trying to create an indicator that draws 4 moving averages : 5, 8, 21 and 73 periods at once. But suddenly, MetaTrader stopped drawing all 4 moving averages. Is it correct to use CopyBuffer in OnCalculate()