Download MetaTrader 5

Please help me.:"error no indicator plot defined for indicator"

To add comments, please log in or register
gilmt5
247
gilmt5  

hi,everybody.

 this error what`s the mean?

"no indicator plot defined for indicator" 

warning 1

 have a good weekend.

Files:
Vladimir Karputov
Moderator
76884
Vladimir Karputov  
Read about it:
#property indicator_buffers
#property indicator_plots
gilmt5
247
gilmt5  
Karputov Vladimir:
Read about it:

hi,

thank you for reply to me.

what`s the mean?

How can i do?

Vladimir Karputov
Moderator
76884
Vladimir Karputov  
You must create an indicator buffer.

gilmt5
247
gilmt5  
Karputov Vladimir:
You must create an indicator buffer.

Hi,karputov.

thank you for reply to me. 

I don`t know anything how make indicator.

sorry.

can`t you modify the file attached ? 

have a nice day. 

Vladimir Karputov
Moderator
76884
Vladimir Karputov  
That should make your indicator? What timeframe it should work?
gilmt5
247
gilmt5  
Karputov Vladimir:
That should make your indicator? What timeframe it should work?

Hi,Karputov.

Thank you for reply to me.

I don`y use any indicators.

I use this extend box only on mt4.

so i want to use this box on mt5.

because many timeframes are available on mt5.

i want to use this box on all timeframes.

and extend period is 3MN.

thank you for reply to me.

have a nice day. 

Vladimir Karputov
Moderator
76884
Vladimir Karputov  
Sorry, I do not understand you.
Vladimir Karputov
Moderator
76884
Vladimir Karputov  

Draw a rectangle on the chart. Change the name on the rectangle on "RECTANGLE"

//+------------------------------------------------------------------+
//|                                                   Extend Box.mq5 |
//|                        Copyright 2015, MetaQuotes Software Corp. |
//|                                             https://www.mql5.com |
//+------------------------------------------------------------------+
#property copyright "Copyright 2015, MetaQuotes Software Corp."
#property link      "https://www.mql5.com"
#property version   "1.00"
#property indicator_chart_window
#property indicator_plots 0
//--- input parametr
input string NameRECTANGLE="RECTANGLE";
//+------------------------------------------------------------------+
//|                                                                  |
//+------------------------------------------------------------------+
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[])
  {
   ArraySetAsSeries(time,true);
   ObjectSetInteger(0,NameRECTANGLE,OBJPROP_TIME,1,time[0]);
   return(rates_total);
  }
//+------------------------------------------------------------------+
Files:
To add comments, please log in or register