Login Page - Create Account

Support Board


Date/Time: Wed, 27 Nov 2024 22:41:08 +0000



[Programming Help] - Using ACSIL to store dynamic overlay data

View Count: 253

[2023-07-15 15:55:37]
User806953 - Posts: 6
I am working on an indicator that compiles MACD from four separate longer timeframes. Overlaying the four different timeframes onto a single base chart and using a spreadsheet study to run calculations works great for live trading, but since the calculations are constantly updating it is not reliable for exporting to csv and testing/analysis outside of Sierra. For every corresponding longer term timeframe that is being overlaid, the data is static and the overlay study only has the capability of displaying either the first or last datapoint for the corresponding longer term time bar.

I don't necessarily need a tick by tick update but if my base chart is on a 5m timeframe, I would like to see the corresponding 30m, 1h, 2h, and 4h calculations at the end of every 5m bar stored in local memory and available for analysis as opposed to seeing 6, 12, 24, 48 equal static readings. I have done some preliminary digging into the ACSIL documentation, and it seems like I should be able to write the ability to store the individual bar readings into local memory and then pull from there to have a more dynamic result.

Just wanted a sanity check of whether this was a) indeed possible to do and b) wouldn't use up so much memory that it would bog the system down. For a 5m base bar, I would really only need 5 or 6 months of data and could easily break it up into smaller chunks if necessary.

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account