Steps to reproduce:
1. Create new chart
2. Load attached indicator
3. Change the input for the indicator to CCI(14)
4. Look at the output window
The output is as follows on OnBarUpdate:
OnBarUpdate***
Input: 50.8486082824375 (this is the correct value of CCI(14))
iInput: 50.8486082824375 (this is the correct value of CCI(14))
The output is as follows on OnRender:
OnRender****
Indicator Input
Input: 2708.5 (this is NOT the correct value of CCI(14))--it looks like Input.GetValueAt() always pulls the value from the Bars
iInput: 50.8486082824375 (this is the correct value of CCI(14))
Is this an expected behavior?
Comment