- Topics: 5
- Replies: 295
- Posts: 300
It’s not a problem with the script or script function. The variations you are seeing are from non trading or zero volume days on the equity chart, so they don’t have a bar for all of the same days the index does.
If you click on the bar on the chart, go to the left side properties panel and expand the Filters section you will see an option called Show Blanks. Enable this for both the index chart and the equity chart so that all weekdays have a bar (even if no volume was traded).
When this is done, the variations in the examples you posted are gone and the scripts line up as expected.
You must be logged in to access attached files.