question on shift value for cci indicator

 

Hi all

 

For below cci indi, i want to get the cci value of previous bar. So i set the shift to 1 as shown. is this correct?

 

iCCI(NULL, 5, 20, PRICE_TYPICAL, 1) 

 
bobo1974:

Hi all

 

For below cci indi, i want to get the cci value of previous bar. So i set the shift to 1 as shown. is this correct?

 

iCCI(NULL, 5, 20, PRICE_TYPICAL, 1) 

Yes True  

 
Khurram Mustafa:

Yes True  

thanks
 
bobo1974:
thanks
You welcome :)
Reason: