Can someone help me? "improper enumerator cannot be used"

 

     

‌I am getting improper enumerator errors for these following 4 lines,

maOpen=iMA(NULL,0,MaPeriod,0,MaMetod,MODE_OPEN,pos);

maClose=iMA(NULL,0,MaPeriod,0,MaMetod,MODE_CLOSE,pos);

maLow=iMA(NULL,0,MaPeriod,0,MaMetod,MODE_LOW,pos);‌

maHigh=iMA(NULL,0,MaPeriod,0,MaMetod,MODE_HIGH,pos);
 
brianroxxxfx: ‌I am getting improper enumerator errors for these following 4 lines,
You should
Your Code
Documentation
maOpen=iMA(
   NULL,
   0,
   MaPeriod,
   0,
   MaMetod,
   MODE_OPEN,
   pos
);
MODE_OPEN is part of Series Array Identifiers
double  iMA(
   string       symbol,           // symbol
   int          timeframe,        // timeframe
   int          ma_period,        // MA averaging period
   int          ma_shift,         // MA shift
   int          ma_method,        // averaging method
   int          applied_price,    // applied price
   int          shift             // shift
   );
Do you see MODE_OPEN in the Price Constants