Можно воткнуть до 8 штук!!!
//---- Входные параметры
extern int M1Period = 8;
extern bool ma1viz = true;
//----
extern int M2Period = 16;
extern bool ma2viz = true;
//----
extern int M3Period = 24;
extern bool ma3viz = true;
//----
extern int M4Period = 32;
extern bool ma4viz = true;
//----
extern int M5Period = 40;
extern bool ma5viz = true;
//----
extern int M6Period = 48;
extern bool ma6viz = true;
//----
extern int M7Period = 56;
extern bool ma7viz = true;
//----
extern int M8Period = 64;
extern bool ma8viz = true;
//----
extern string shiftMA = "Сдвиг MA";
extern int MaShift = 0;
//----
extern string metodMA = "0=MODE_SMA / 1=MODE_EMA / 2=MODE_SMMA / 3=MODE_LWMA";
extern int MODE_Ma = 1;
//----
extern string priceMA = "0=PRICE_CLOSE / 1=PRICE_OPEN / 2=PRICE_HIGH / 3=PRICE_LOW / 4=PRICE_MEDIAN / 5=PRICE_TYPICAL / 6=PRICE_WEIGHTED";
extern int PRICE_Ma = 0;