Previous value of T-1 candle do not match with current value of T-2 candle?
double currentFastEMA = fastEMAValues[0]; double previousFastEMA = fastEMAValues[1];You didn't set the source to as-series before populating values.
double currentFastEMA = fastEMAValues[0]; double previousFastEMA = fastEMAValues[1];You didn't set the source to as-series before populating values.
You agree to website policy and terms of use
Now as per the logic, previous value of candle T-1 should match with current value of candle T-2, but in the logs which I have attached its not matching.
Can anyone please verify my code and the logs and suggest what I can change in the code or what is the issue ?
Many Thanks