не подключаються пользовательские индикаторы

 
Извените, если эта тема обсуждалась - но не нашёл .. вобщем скачал МТ4 но не могу подключить пользовательский индикатор !!! никакой не могу .. и своё тоже скопировал в папку C:\Program Files\MetaTrader 4\experts\indicators ... и не могу .. и встроенные не могу .. ни двойным щелчком .. ни правой кнопкой - высвечиваеться меню .. нажимаю присоединить .. и ничего... т.е. ни светиться .. ни выскакивает .. ни выпрыгивает .. не ругаеться .. чё делать !??!
 
№ билда .... логи из \MetaTrader 4\experts\logs ...... логи из \MetaTrader 4\logs ........ код индикатора ..... инструмент - таймфрейм ( опционально :) .......... как именно не ругается ......... и тогда можно о чём-то говорить.........
 
пока в тему - может кто ещё не читал -- http://www.ln.ua/~openxs/articles/smart-questions-ru.html#before
 
тут C:\Program Files\MetaTrader 4\logs - 2 лога:
первый - 20050331
17:41:19 MetaTrader 4.00 build 160 started
17:41:39 MetaTrader 4.00 build 160 stopped
17:41:41 MetaTrader 4.00 build 160 started
17:41:43 MetaTrader 4.00 build 160 stopped
17:46:56 MetaTrader 4.00 build 160 started
17:49:36 '531314': connect failed [15]
17:56:06 '48150': login (4.00, #278404B2)
18:03:51 MetaTrader 4.00 build 160 stopped
18:04:58 MetaTrader 4.00 build 160 started
18:04:59 '48150': login (4.00, #278404B2)
18:06:33 MetaTrader 4.00 build 160 stopped
18:06:46 MetaTrader 4.00 build 160 started
18:06:47 '48150': login (4.00, #278404B2)
18:07:28 MetaTrader 4.00 build 160 stopped

второй - 20050401
08:31:22 MetaTrader 4.00 build 160 started
08:31:23 '48150': login (4.00, #278404B2)
08:32:39 HistoryCenter: synchronize 'GBPUSD30'
08:32:39 '48150': login (4.00, #278404B2)
08:32:41 HistoryCenter: 2074 bars imported in 'GBPUSD30'
11:27:01 MetaTrader 4.00 build 160 stopped
11:27:15 MetaTrader 4.00 build 160 started
11:27:16 '48150': login (4.00, #278404B2)
15:44:08 MetaTrader 4.00 build 160 stopped

тут - C:\Program Files\MetaTrader 4\experts\logs - 2 лога
первый - 20050331
17:40:02 Compiling 'MACD Sample'
17:40:05 Compiling 'CCI'
17:40:08 Compiling 'Ichimoku'
17:40:11 Compiling 'MACD'
17:40:14 Compiling 'Momentum'
17:40:17 Compiling 'Moving Averages'
17:40:20 Compiling 'OsMA'
17:40:23 Compiling 'Parabolic'
17:40:26 Compiling 'RSI'
17:40:29 Compiling 'Stochastic'
17:40:32 Compiling 'ZigZag'
17:40:36 Compiling 'period_converter'
17:40:39 Compiling 'rotate_text'
17:40:42 Compiling 'trade'
17:40:45 Compiling 'stdlib'
17:40:42 Compiling 'period_converter'
17:40:46 Compiling 'rotate_text'
17:40:49 Compiling 'trade'
18:05:51 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\CCI.ex4'
18:06:00 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\CCI.ex4'
18:06:06 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\Ichimoku.ex4'
18:06:20 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\CCI.ex4'
18:07:20 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\CCI.ex4'
18:07:22 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\CCI.ex4'

второй - 20050401
08:31:34 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\CCI.ex4'
08:32:23 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\CCI.ex4'
08:34:22 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\Ichimoku.ex4'
08:37:48 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\CCI.ex4'
08:37:55 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\MACD Sample.ex4'
08:37:56 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\MACD Sample.ex4'
08:38:00 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\MACD Sample.ex4'
08:38:04 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\CCI.ex4'
08:38:54 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\CCI.ex4'
08:39:15 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\CCI.ex4'
08:40:14 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\RSI.ex4'
08:40:25 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\CCI.ex4'
08:42:28 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\CCI.ex4'
08:42:34 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\CCI.ex4'
08:42:49 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\CCI.ex4'
08:45:12 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\CCI.ex4'
08:45:14 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\CCI.ex4'
08:45:14 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\CCI.ex4'
08:45:14 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\CCI.ex4'
08:45:15 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\CCI.ex4'
08:45:16 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\CCI.ex4'
08:45:17 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\CCI.ex4'
08:45:17 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\CCI.ex4'
08:45:18 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\CCI.ex4'
08:45:18 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\CCI.ex4'
08:51:01 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\CCI.ex4'
08:51:01 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\CCI.ex4'
08:51:02 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\CCI.ex4'
08:51:03 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\Parabolic.ex4'
08:51:03 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\Parabolic.ex4'
08:51:04 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\OsMA.ex4'
08:51:04 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\OsMA.ex4'
08:51:05 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\OsMA.ex4'
08:51:05 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\Parabolic.ex4'
08:51:06 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\Parabolic.ex4'
08:51:06 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\RSI.ex4'
08:51:07 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\RSI.ex4'
08:51:07 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\Stochastic.ex4'
08:51:08 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\ZigZag.ex4'
08:51:09 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\ZigZag.ex4'
08:51:09 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\Stochastic.ex4'
08:51:10 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\Stochastic.ex4'
08:51:10 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\Stochastic.ex4'
08:51:11 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\Parabolic.ex4'
08:51:12 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\scripts\period_converter.ex4'
08:51:14 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\Parabolic.ex4'
08:51:18 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\Momentum.ex4'
08:51:19 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\Moving Averages.ex4'
08:51:21 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\OsMA.ex4'
09:55:28 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\CCI.ex4'
11:27:09 Compiling 'CCI-1'
11:27:38 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\CCI.ex4'
11:27:44 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\CCI.ex4'
13:49:47 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\CCI.ex4'
15:20:24 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\CCI.ex4'
15:20:26 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\CCI.ex4'
15:20:26 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\CCI.ex4'
15:20:26 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\CCI.ex4'
15:20:27 Cannot open file 'C:\PROGRAM FILES\METATRADER 4\experts\indicators\CCI.ex4'

я не спец в программировании .. может не стоило всё это тут писать ?!?!

тайм фрейм - 30 минут ...

код индикатора - все что там были встроенные - не высвечиваються .. - просто нажимаю - и ничего .. ну в смысле как будто и не нажимал - а всё остальное работает ..

мой индикатор CCI - вот код -
//+------------------------------------------------------------------+
//| CCI.mq4 |
//| Copyright © 2004, MetaQuotes Software Corp. |
//| https://www.metaquotes.net/ |
//+------------------------------------------------------------------+
#property copyright "Copyright © 2004, MetaQuotes Software Corp."
#property link "https://www.metaquotes.net/

#property indicator_separate_window
#property indicator_buffers 1
#property indicator_color1 LightSeaGreen
//---- input parameters
extern int CCIPeriod=14;
//---- buffers
double CCIBuffer[];
double RelBuffer[];
double DevBuffer[];
double MovBuffer[];
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int init()
{
string short_name;
//---- 3 additional buffers are used for counting.
IndicatorBuffers(4);
SetIndexBuffer(1, RelBuffer);
SetIndexBuffer(2, DevBuffer);
SetIndexBuffer(3, MovBuffer);
//---- indicator lines
SetIndexStyle(0,DRAW_LINE);
SetIndexBuffer(0,CCIBuffer);
//---- name for DataWindow and indicator subwindow label
short_name="CCI("+CCIPeriod+")";
IndicatorShortName(short_name);
SetIndexLabel(0,short_name);
//----
SetIndexDrawBegin(0,CCIPeriod);
//----
return(0);
}
//+------------------------------------------------------------------+
//| Commodity Channel Index |
//+------------------------------------------------------------------+
int start()
{
int i,k,counted_bars=IndicatorCounted();
double price,sum,mul;
if(Bars<=CCIPeriod) return(0);
//---- initial zero
if(counted_bars<1)
{
for(i=1;i<=CCIPeriod;i++) CCIBuffer[Bars-i]=0.0;
for(i=1;i<=CCIPeriod;i++) DevBuffer[Bars-i]=0.0;
for(i=1;i<=CCIPeriod;i++) MovBuffer[Bars-i]=0.0;
}
//---- last counted bar will be recounted
int limit=Bars-counted_bars;
if(counted_bars>0) limit++;
//---- moving average
for(i=0; i<limit; i++)
MovBuffer[i]=iMA(NULL,0,CCIPeriod,0,MODE_SMA,PRICE_TYPICAL,i);
//---- standard deviations
i=Bars-CCIPeriod+1;
if(counted_bars>CCIPeriod-1) i=Bars-counted_bars-1;
mul=0.015/CCIPeriod;
while(i>=0)
{
sum=0.0;
k=i+CCIPeriod-1;
while(k>=i)
{
price=(High[k]+Low[k]+Close[k])/3;
sum+=MathAbs(price-MovBuffer[i]);
k--;
}
DevBuffer[i]=sum*mul;
i--;
}
i=Bars-CCIPeriod+1;
if(counted_bars>CCIPeriod-1) i=Bars-counted_bars-1;
while(i>=0)
{
price=(High[i]+Low[i]+Close[i])/3;
RelBuffer[i]=price-MovBuffer[i];
i--;
}
//---- cci counting
i=Bars-CCIPeriod+1;
if(counted_bars>CCIPeriod-1) i=Bars-counted_bars-1;
while(i>=0)
{
if(DevBuffer[i]==0.0) CCIBuffer[i]=0.0;
else CCIBuffer[i]=RelBuffer[i]/DevBuffer[i];
i--;
}
//----
return(0);
}
//+------------------------------------------------------------------+

этот тот индикатор который мне нужен .. но не запускаеться ни один .. :-(((

спасибо!!
 
"Cannot open file" в переводе на непрограммерский =) язык значит "не могу открыть файл".
забыли указать билд (версию программы) - меню "справка" - "о програме" - слева внизу.
только что попробовал - у меня прикрепляется.
вот код из моей папки:
//+------------------------------------------------------------------+
//|                                                          CCI.mq4 |
//|                      Copyright © 2004, MetaQuotes Software Corp. |
//|                                       http://www.metaquotes.net/ |
//+------------------------------------------------------------------+
#property copyright "Copyright © 2004, MetaQuotes Software Corp."
#property link      "http://www.metaquotes.net/"

#property indicator_separate_window
#property indicator_buffers 1
#property indicator_color1 LightSeaGreen
//---- input parameters
extern int CCIPeriod=14;
//---- buffers
double CCIBuffer[];
double RelBuffer[];
double DevBuffer[];
double MovBuffer[];
//+------------------------------------------------------------------+
//| Custom indicator initialization function                         |
//+------------------------------------------------------------------+
int init()
  {
   string short_name;
//---- 3 additional buffers are used for counting.
   IndicatorBuffers(4);
   SetIndexBuffer(1, RelBuffer);
   SetIndexBuffer(2, DevBuffer);
   SetIndexBuffer(3, MovBuffer);
//---- indicator lines
   SetIndexStyle(0,DRAW_LINE);
   SetIndexBuffer(0,CCIBuffer);
//---- name for DataWindow and indicator subwindow label
   short_name="CCI("+CCIPeriod+")";
   IndicatorShortName(short_name);
   SetIndexLabel(0,short_name);
//----
   SetIndexDrawBegin(0,CCIPeriod);
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| Commodity Channel Index                                          |
//+------------------------------------------------------------------+
int start()
  {
   int    i,k,counted_bars=IndicatorCounted();
   double price,sum,mul;
   if(Bars<=CCIPeriod) return(0);
//---- initial zero
   if(counted_bars<1)
     {
      for(i=1;i<=CCIPeriod;i++) CCIBuffer[Bars-i]=0.0;
      for(i=1;i<=CCIPeriod;i++) DevBuffer[Bars-i]=0.0;
      for(i=1;i<=CCIPeriod;i++) MovBuffer[Bars-i]=0.0;
     }
//---- last counted bar will be recounted
   int limit=Bars-counted_bars;
   if(counted_bars>0) limit++;
//---- moving average
   for(i=0; i<limit; i++)
      MovBuffer[i]=iMA(NULL,0,CCIPeriod,0,MODE_SMA,PRICE_TYPICAL,i);
//---- standard deviations
   i=Bars-CCIPeriod+1;
   if(counted_bars>CCIPeriod-1) i=Bars-counted_bars-1;
   mul=0.015/CCIPeriod;
   while(i>=0)
     {
      sum=0.0;
      k=i+CCIPeriod-1;
      while(k>=i)
       {
         price=(High[k]+Low[k]+Close[k])/3;
         sum+=MathAbs(price-MovBuffer[i]);
         k--;
       }
      DevBuffer[i]=sum*mul;
      i--;
     }
   i=Bars-CCIPeriod+1;
   if(counted_bars>CCIPeriod-1) i=Bars-counted_bars-1;
   while(i>=0)
     {
      price=(High[i]+Low[i]+Close[i])/3;
      RelBuffer[i]=price-MovBuffer[i];
      i--;
     }
//---- cci counting
   i=Bars-CCIPeriod+1;
   if(counted_bars>CCIPeriod-1) i=Bars-counted_bars-1;
   while(i>=0)
     {
      if(DevBuffer[i]==0.0) CCIBuffer[i]=0.0;
      else CCIBuffer[i]=RelBuffer[i]/DevBuffer[i];
      i--;
     }
//----
   return(0);
  }
//+------------------------------------------------------------------+



не знаю, поможет ли..

я думаю, всё таки в билде дело.. скачайте последний и установите "с нуля" - может поможет....
если нет - ждём ответа разработчиков