Indicator Miscellaneous Questions - page 13

 
    datetime a = iTime( Symbol(), 0, 0 );     // Get time of bar zero
    int      b = iBarShift( Symbol(), 0, a ); // Get shift of that time will always be zero.
 

It's just for example - actually I use it with very different parameters but absolutely same method.

Thanks for mentioned it to me.

 

@Mr. William - you said: " Get shift of that time will always be zero. "

Q:  Is it meaning only with that parameters or what, please?
Because I see my few indicators shows 0 ( zero / Current ) bar Price before I restart my MT4 platform, so can you answer me, please?

Thanks in advance.

( Absolutely I know for sure it's Price issue not Time issue - even that part of codes places in OnInit(). )

 
Max Enrik: @Mr. William - you said: " Get shift of that time will always be zero. "
    datetime a = iTime( Symbol(), 0, 0 );     // Get time of bar zero
    int      b = iBarShift( Symbol(), 0, a ); // Get shift of that time will always be zero.
The shift of Time[x] will always be x.
 
whroeder1:
The shift of Time[x] will always be x.

I got it.

Thank you!

 

#Indicator Buffers Value - Open

Can I give names to the buffers value, please?
( example: High Value, Middle Value, Low Value )

Thanks in advance.

 
   SetIndexLabel(0,"High Value");
 
 
honest_knave:

Thanks you so much more.
 
#Indicator Buffers Value - Closed
 

#Only One Draw Arrow - Open

I already read few forums and checked out few Code Base Indicators. But I did not found what I want.
I just need to Draw one of latest " Arrow ", no need to draw ten thousand Arrow on my chart.

What could I do for it, please?

Thanks in advance.

( I am working on it )

Reason: