【求助】清除指标卸载后遗留的Comment内容

 

这个账户信息指标卸载后,Comment的内容还停留在图标上,请问怎么做才能清楚Comment的内容?

//+------------------------------------------------------------------+
//|                                                    19类账户信息指标.mq4 |
//|                                                            tsing |
//|                                             https://www.mql5.com |
//+------------------------------------------------------------------+
#property copyright "tsing"
#property link      "https://www.mql5.com"
#property version   "1.00"
#property strict
#property indicator_chart_window
//+------------------------------------------------------------------+
//| Custom indicator initialization function                         |
//+------------------------------------------------------------------+
int OnInit()
  {
//--- indicator buffers mapping
   
//---
   return(INIT_SUCCEEDED);
  }
//+------------------------------------------------------------------+
//| Custom indicator iteration function                              |
//+------------------------------------------------------------------+
int OnCalculate(const int rates_total,
                const int prev_calculated,
                const datetime &time[],
                const double &open[],
                const double &high[],
                const double &low[],
                const double &close[],
                const long &tick_volume[],
                const long &volume[],
                const int &spread[])
  {
//---
   Comment("账户余额 = ",AccountBalance(),"\r\n",
           "账户信用值 = ",AccountCredit(),"\r\n",//不懂这个
           "平台商名字 = ",AccountCompany(),"\r\n",
           "当前账户的货币名称,入金货币 = ",AccountCurrency(),"\r\n",
           "净值 = ",AccountEquity(),"\r\n",
           "账户保证金,可用预付款 = ",AccountFreeMargin(),"\r\n",
           "返回以当前价格的当前价格开立指定订单后剩余的可用保证金 = ",AccountFreeMarginCheck(Symbol(),OP_BUY,0.01),"\r\n",//不懂这个
           "返回允许在往来帐户上开立订单的自由保证金的计算模式。 = ",AccountFreeMarginMode(),"\r\n",//要研究以下这个
           "账户杠杠 = ",AccountLeverage(),"\r\n",
           "返回往来帐户的保证金值。 = ",AccountMargin(),"\r\n",
           "账户名称 = ",AccountName(),"\r\n",
           "返回当前帐户号码 = ",AccountNumber(),"\r\n",
           "帐户的利润值(盈/亏) = ",AccountProfit(),"\r\n",
           "返回连接的服务器名称 = ",AccountServer(),"\r\n",
           "返回停止级别的值 (爆仓线)= ",AccountStopoutLevel(),"\r\n",//不懂这个。懂了,爆仓水平
           "返回止损价位的计算模式. = ",AccountStopoutMode(),"\r\n"//要研究以下这个
         );
//--- return value of prev_calculated for next call
   return(rates_total);
  }
//+------------------------------------------------------------------+
 

添加一个OnDeinit

void OnDeinit(const int reason)
  {
    Comment("");
  }