Login Page - Create Account

Support Board


Date/Time: Sat, 20 Apr 2024 04:08:15 +0000



[Programming Help] - ACSIL - output text to subgraph

View Count: 456

[2020-01-15 21:30:21]
David_M - Posts: 14
I've added so many formulas and studies to my spreadsheets that it now crashes SC whenever I try and get historical data for backtesting. So I wish to convert as much as possible to ACSIL, which I'm trying to get to grips with.

I assign labels to data - as a basic example "Above MA", "Below MA". (which makes developing strategies much easier)

Is it possible to output text to a subgraph (so I can have it outputted in a spreadsheet column)?

If so, I have figured out the "If" statements to work out which label should apply.

After that, I'm stumped.

I get the "error: cannot convert 'const char (6)' to 'float' in assignment ColorSMA[sc.Index] = "Above" (when I've attempted to modify the ColorBarsBasedOnMA example)
Date Time Of Last Edit: 2020-01-15 21:37:49

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

Login

Login Page - Create Account