Unknown Chart Property Error 4210

 
here is my chart configuration code inside my EA i was wondering if someone could help me because  i seem to be getting an error on   
"Chart Last Price Line color and  Line Mode"  

// "Modify chart properties" model
template<typename T1,typename T2,typename T3,typename T4,typename T5,typename T6,typename T7,typename T8,typename T9,typename T10,typename T11,typename T12,typename T13,typename T14,typename T15,typename T16,typename T17,typename T18>
class MDL_ChartSetProperties: public BlockCalls
{
        public: /* Input Parameters */
        T1 ChartMode;
        T2 ChartOnForeground;
        T3 ChartShift;
        T4 ChartAutoScroll;
        T5 ChartScale;
        T6 ChartShowOHLC;
        T7 ChartShowBidLine;
        T8 ChartShowAskLine;
        T9 ChartShowLastLine;
        T10 ChartShowPeriodSeparators;
        T11 ChartShowGrid;
        T12 ChartShowVolumes;
        T13 ChartShowDescriptions;
        T14 ChartShowTradeLevels;
        T15 ChartShowDateScale;
        T16 ChartShowPriceScale;
        T17 ChartScaleFix11;
        T18 ChartScaleFix;
        virtual void _callback_(int r) {return;}

        public: /* Constructor */
        MDL_ChartSetProperties()
        {
                ChartMode = (int)-1;
                ChartOnForeground = (int)-1;
                ChartShift = (int)-1;
                ChartAutoScroll = (int)-1;
                ChartScale = (int)-1;
                ChartShowOHLC = (int)-1;
                ChartShowBidLine = (int)-1;
                ChartShowAskLine = (int)-1;
                ChartShowLastLine = (int)-1;
                ChartShowPeriodSeparators = (int)-1;
                ChartShowGrid = (int)-1;
                ChartShowVolumes = (int)-1;
                ChartShowDescriptions = (int)-1;
                ChartShowTradeLevels = (int)-1;
                ChartShowDateScale = (int)-1;
                ChartShowPriceScale = (int)-1;
                ChartScaleFix11 = (int)-1;
                ChartScaleFix = (int)-1;
        }

        public: /* The main method */
        virtual void _execute_()
        {
                ResetLastError();
                
                if (ChartMode!=-1) {
                   if(!ChartSetInteger(0,CHART_MODE,ChartMode,0)) {Print("Unable to set chart mode. Error code: ",GetLastError());}
                }
                
                //-- chart positioning
                if (ChartOnForeground!=-1) {
                   if(!ChartSetInteger(0,CHART_FOREGROUND,ChartOnForeground,0)) {Print("Unable to set chart foreground mode. Error code: ",GetLastError());}
                }
                if (ChartShift!=-1) {
                   if(!ChartSetInteger(0,CHART_SHIFT,ChartShift,0)) {Print("Unable to set chart shift mode. Error code: ",GetLastError());}
                }
                if (ChartAutoScroll!=-1) {
                   if(!ChartSetInteger(0,CHART_AUTOSCROLL,ChartAutoScroll,0)) {Print("Unable to set chart autoscroll mode. Error code: ",GetLastError());}
                }
                
                //-- chart scale
                if (ChartScale!=-1) {
                   if(!ChartSetInteger(0,CHART_SCALE,ChartScale,0)) {Print("Unable to set chart scale mode. Error code: ",GetLastError());}
                }
                
                //-- chart elements
                if (ChartShowOHLC!=-1) {
                   if(!ChartSetInteger(0,CHART_SHOW_OHLC,ChartShowOHLC,0)) {Print("Unable to set chart OHLC mode. Error code: ",GetLastError());}
                }
                if (ChartShowBidLine!=-1) {
                   if(!ChartSetInteger(0,CHART_SHOW_BID_LINE,ChartShowBidLine,0)) {Print("Unable to set chart Bid price line mode. Error code: ",GetLastError());}
                }
                if (ChartShowAskLine!=-1) {
                   if(!ChartSetInteger(0,CHART_SHOW_ASK_LINE,ChartShowAskLine,0)) {Print("Unable to set chart Ask price line mode. Error code: ",GetLastError());}
                }
                if (ChartShowLastLine!=-1) {
                   if(!ChartSetInteger(0,CHART_SHOW_LAST_LINE,ChartShowLastLine,0)) {Print("Unable to set chart last price line mode. Error code: ",GetLastError());}
                }
                if (ChartShowPeriodSeparators!=-1) {
                   if(!ChartSetInteger(0,CHART_SHOW_PERIOD_SEP,ChartShowPeriodSeparators,0)) {Print("Unable to set chart period separators mode. Error code: ",GetLastError());}
                }
                if (ChartShowGrid!=-1) {
                   if(!ChartSetInteger(0,CHART_SHOW_GRID,ChartShowGrid,0)) {Print("Unable to set chart grid mode. Error code: ",GetLastError());}
                }
                if (ChartShowVolumes!=-1) {
                   if(!ChartSetInteger(0,CHART_SHOW_VOLUMES,ChartShowVolumes,0)) {Print("Unable to set chart volumes mode. Error code: ",GetLastError());}
                }
                if (ChartShowDescriptions!=-1) {
                   if(!ChartSetInteger(0,CHART_SHOW_OBJECT_DESCR,ChartShowDescriptions,0)) {Print("Unable to set chart object descriptions mode. Error code: ",GetLastError());}
                }
                if (ChartShowTradeLevels!=-1) {
                   if(!ChartSetInteger(0,CHART_SHOW_TRADE_LEVELS,ChartShowTradeLevels,0)) {Print("Unable to set chart trade levels mode. Error code: ",GetLastError());}
                }
                if (ChartShowDateScale!=-1) {
                   if(!ChartSetInteger(0,CHART_SHOW_DATE_SCALE,ChartShowDateScale,0)) {Print("Unable to set chart date scale mode. Error code: ",GetLastError());}
                }
                if (ChartShowPriceScale!=-1) {
                   if(!ChartSetInteger(0,CHART_SHOW_PRICE_SCALE,ChartShowPriceScale,0)) {Print("Unable to set chart price scale mode. Error code: ",GetLastError());}
                }
                
                // scale fix
                if (ChartScaleFix!=-1) {
                   if(!ChartSetInteger(0,CHART_SCALEFIX,ChartScaleFix,0)) {Print("Unable to set scale fix One to One. Error code: ",GetLastError());}
                }
                else {
                        if (ChartScaleFix11!=-1) {
                        if(!ChartSetInteger(0,CHART_SCALEFIX_11,ChartScaleFix11,0)) {Print("Unable to set scale fix One to One. Error code: ",GetLastError());}
                        }
                }
                
                ChartRedraw();
                
                _callback_(1);
        }
};

// "Modify chart colors" model
template<typename T1,typename T2,typename T3,typename T4,typename T5,typename T6,typename T7,typename T8,typename T9,typename T10,typename T11,typename T12,typename T13>
class MDL_ChartSetColors: public BlockCalls
{
        public: /* Input Parameters */
        T1 ChartColorBackground;
        T2 ChartColorForeground;
        T3 ChartColorGrid;
        T4 ChartColorBarUp;
        T5 ChartColorBarDown;
        T6 ChartColorBullCandle;
        T7 ChartColorBearCandle;
        T8 ChartColorDojiCandle;
        T9 ChartColorVolumes;
        T10 ChartColorBid;
        T11 ChartColorAsk;
        T12 ChartColorLast;
        T13 ChartColorStopLevels;
        virtual void _callback_(int r) {return;}

        public: /* Constructor */
        MDL_ChartSetColors()
        {
                ChartColorBackground = (color)clrBlack;
                ChartColorForeground = (color)clrWhite;
                ChartColorGrid = (color)clrLightSlateGray;
                ChartColorBarUp = (color)clrLime;
                ChartColorBarDown = (color)clrLime;
                ChartColorBullCandle = (color)clrBlack;
                ChartColorBearCandle = (color)clrWhite;
                ChartColorDojiCandle = (color)clrLime;
                ChartColorVolumes = (color)clrLimeGreen;
                ChartColorBid = (color)clrLightSlateGray;
                ChartColorAsk = (color)clrRed;
                ChartColorLast = (color)clrLimeGreen;
                ChartColorStopLevels = (color)clrRed;
        }

        public: /* The main method */
        virtual void _execute_()
        {
                ResetLastError();
                
                if (ChartColorBackground!=clrNONE) {
                   if(!ChartSetInteger(0,CHART_COLOR_BACKGROUND,ChartColorBackground,0)) {Print("Unable to set chart background color. Error code: ",GetLastError());}
                }
                if (ChartColorForeground!=clrNONE) {
                   if(!ChartSetInteger(0,CHART_COLOR_FOREGROUND,ChartColorForeground,0)) {Print("Unable to set chart foreground color. Error code: ",GetLastError());}
                }
                if (ChartColorGrid!=clrNONE) {
                   if(!ChartSetInteger(0,CHART_COLOR_GRID,ChartColorGrid,0)) {Print("Unable to set chart grid color. Error code: ",GetLastError());}
                }
                if (ChartColorBarUp!=clrNONE) {
                   if(!ChartSetInteger(0,CHART_COLOR_CHART_UP,ChartColorBarUp,0)) {Print("Unable to set chart bar up color. Error code: ",GetLastError());}
                }
                if (ChartColorBarDown!=clrNONE) {
                   if(!ChartSetInteger(0,CHART_COLOR_CHART_DOWN,ChartColorBarDown,0)) {Print("Unable to set chart bar down color. Error code: ",GetLastError());}
                }
                if (ChartColorBullCandle!=clrNONE) {
                   if(!ChartSetInteger(0,CHART_COLOR_CANDLE_BULL,ChartColorBullCandle,0)) {Print("Unable to set chart bull candle color. Error code: ",GetLastError());}
                }
                if (ChartColorBearCandle!=clrNONE) {
                   if(!ChartSetInteger(0,CHART_COLOR_CANDLE_BEAR,ChartColorBearCandle,0)) {Print("Unable to set chart bear candle color. Error code: ",GetLastError());}
                }
                if (ChartColorDojiCandle!=clrNONE) {
                   if(!ChartSetInteger(0,CHART_COLOR_CHART_LINE,ChartColorDojiCandle,0)) {Print("Unable to set chart doji candle color. Error code: ",GetLastError());}
                }
                if (ChartColorVolumes!=clrNONE) {
                   if(!ChartSetInteger(0,CHART_COLOR_VOLUME,ChartColorVolumes,0)) {Print("Unable to set chart volumes color. Error code: ",GetLastError());}
                }
                if (ChartColorBid!=clrNONE) {
                   if(!ChartSetInteger(0,CHART_COLOR_BID,ChartColorBid,0)) {Print("Unable to set chart Bid line color. Error code: ",GetLastError());}
                }
                if (ChartColorAsk!=clrNONE) {
                   if(!ChartSetInteger(0,CHART_COLOR_ASK,ChartColorAsk,0)) {Print("Unable to set chart Ask line color. Error code: ",GetLastError());}
                }
                if (ChartColorLast!=clrNONE) {
                   if(!ChartSetInteger(0,CHART_COLOR_LAST,ChartColorLast,0)) {Print("Unable to set chart last price line color. Error code: ",GetLastError());}
                }
                if (ChartColorStopLevels!=clrNONE) {
                   if(!ChartSetInteger(0,CHART_COLOR_STOP_LEVEL,ChartColorStopLevels,0)) {Print("Unable to set chart stop levels color. Error code: ",GetLastError());}
                }
                
                ChartRedraw();
                
                _callback_(1);
        }
};
 

On my Do Not Help list; live in ignorance.