Difference in values when using default function vs custom code
Posted: Wed Jun 09, 2021 10:04 am
I am working on a strategy based on Ichimoku cloud.
When I perform the calculations of various ichimoku components (like baseline, conversionLine, etc) within my script and plot it on the chart and compare it with the built-in Ichimoku cloud there is a difference between all values.
Although I am using the same code (copied it from Ichimoku built-in function). Attached is a screenshot highlighting the difference.
Can somebody help on this?
When I perform the calculations of various ichimoku components (like baseline, conversionLine, etc) within my script and plot it on the chart and compare it with the built-in Ichimoku cloud there is a difference between all values.
Although I am using the same code (copied it from Ichimoku built-in function). Attached is a screenshot highlighting the difference.
Can somebody help on this?