Download MetaTrader 5

Questions about programming

To add comments, please log in or register
Do you have questions on how to turn your idea into reality? Ask them on the Forum!
Vasyl Nosal
18559
Vasyl Nosal 2016.03.02 23:44 

How to delete data from buffers in window of indicator?

(mql5,mql4) 

 

Carl Schreiber
6610
Carl Schreiber 2016.03.03 07:53  

Without code it's hard (impossible) to help.

My guess is the IndicatorShortName()??

Vasyl Nosal
18559
Vasyl Nosal 2016.03.03 09:13  
gooly:

Without code it's hard (impossible) to help.

My guess is the IndicatorShortName()??

What code?

Attach any ind with separate window and you will see. 

Carl Schreiber
6610
Carl Schreiber 2016.03.03 10:34  
eevviill:

What code?

Attach any ind with separate window and you will see. 

The code of the indi you show! I don't know Voli_5.5
Vasyl Nosal
18559
Vasyl Nosal 2016.03.03 10:49  
Anyone knows how to delete buffers data from indicator(any) in separate window?
Carl Schreiber
6610
Carl Schreiber 2016.03.03 12:50  
mt4 can't get rid (free memory) of any indicator and its buffers called.
Vasyl Nosal
18559
Vasyl Nosal 2016.03.03 12:54  
gooly:
mt4 can't get rid (free memory) of any indicator and its buffers called.
Why are you flooding?
whroeder1
14544
whroeder1 2016.03.03 13:13  
eevviill: Attach any ind with separate window and you will see.
  1. I attach my indicator and see nothing.
  2. The problem is your indicator's code.
    int OnInit(){
       :
       IndicatorShortName(StringFormat("MmaBBch(%i,%g%s%s)", Mma_Length, 
                          Deviations_Multiplier, ap, ks));//--- indicator buffers mapping
       SetIndexBuffer(0,abHigh);     SetIndexLabel(0,NULL);
       :
    If you don't want the buffer values to show, on the line and in the data window set the label to NULL.
Vasyl Nosal
18559
Vasyl Nosal 2016.03.03 13:19  
WHRoeder:
  1. I attach my indicator and see nothing.
  2. The problem is your code.

/

 

 

And I do not want SetIndexLabel(0,NULL);

I want to see name of buffers in window data(ctrl+D) 

whroeder1
14544
whroeder1 2016.03.03 13:33  

eevviill:

And I do not want SetIndexLabel(0,NULL);

I want to see name of buffers in window data(ctrl+D) 

This isn't Burger King, you can't have it your way.
Vasyl Nosal
18559
Vasyl Nosal 2016.03.03 13:42  
WHRoeder:
This isn't Burger King, you can't have it your way.

What way?

Is there any other way to hide buffers data in separate window exept SetIndexLabel(0,NULL)

No. Than you need to ask developers to create thing like this. To see data of ctrl+D and to not see buffers data in separate window. It will be usefull. 

12
To add comments, please log in or register