Login Page - Create Account

Support Board


Date/Time: Mon, 20 May 2024 01:15:54 +0000



Post From: Recalculate on Bar Close. Any options?

[2018-03-02 15:41:05]
User35525 - Posts: 180
Glad to help, @Mooshu22! This study reloads the chart similarly to pressing CTRL-INSERT; as such, it should be located to the top of the study list, so it runs before any spreadsheet studies. For recalculate vs reload, all the studies get recalculated when the chart is reloaded.

This study is kind of a kludge and shouldn't be needed if everything is working correctly, but I have a similar problem with overlays and tried this fix (but from a slower, reversal chart into a faster, range chart); I'm still banging my head on that and one day will ping the SC engineers for help. Perhaps putting my ACSIL study on the higher-timeframe chart will work, as it will tag the lower-timeframe/destination chart to recalculate:
Study/Price Overlay Study: Study/Price Overlay Study Updating and Timing of Calculations Between Source and Destination Charts
Chart Studies: References to Other Charts and Tagging

SC engineers might have a better fix for this spreadsheet issue. I'm not sure why it's so difficult to overlay a study from a slower chart onto a faster chart; I'm sure they'd point you to this page:
Study/Price Overlay Study: Inconsistent Dependent Results Between Full Calculation and Real-Time Updating

Maybe Strict Signal Only On Bar Close Evaluation can do what you want (not sure since I'm not yet using spreadsheet studies), which would be better than forcing a full chart reload and recalculate on every bar:
Spreadsheet Systems, Alerts and Automated Trading: Strict Signal Only On Bar Close Evaluation
Date Time Of Last Edit: 2018-03-02 16:08:46