// Parameters Length = Param("MA Length", 20, 1, 100, 1);

// Calculate the moving average MA = MA(C, Length);