Login Page - Create Account

Support Board


Date/Time: Thu, 24 Sep 2020 09:12:22 +0000



[Programming Help] - ACSIL - output text to subgraph

[2020-01-15 21:30:21]
David_M - Posts: 14 | Ending Date: 2020-08-18 [Expired]
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 login with your Sierra Chart account:

Login

Login Page - Create Account