need help finding 200 day ma and 5 day ma and macd

 

hey guys i've been creating a strat im trying to find the 200 day sma and 5 sma and the macd so here's my code but im not getting the values im getting weird static values like 15 for the macd



 double twosma = iMA(NULL, 3, 200, 0,MODE_SMA,PRICE_CLOSE);

   

 // double ninesma = iMA(NULL, 3, 9, 0,MODE_SMA,PRICE_CLOSE);

  double fivesma = iMA(NULL, 3, 5, 0,MODE_SMA,PRICE_CLOSE);

  int MacDD = iMACD(_Symbol,_Period,12,26,9, PRICE_CLOSE);

   

  double price = iClose(NULL,0,0);

Reason: