Login Page - Create Account

Support Board


Date/Time: Tue, 30 Apr 2024 14:43:21 +0000



[Programming Help] - verifying symbol

View Count: 670

[2019-07-17 03:03:50]
Devil_On_WallStreet - Posts: 67
I'm trying to set different versions of an ACS for different symbols as the actual code is very different for each market... Not sure how to go about achieving this...

basically trying to get something like... if(sc.Symbol == CL##) without having to specify the actual current contract. I have strenuously searched for an example of something like this before reaching out
[2019-07-17 03:07:34]
Devil_On_WallStreet - Posts: 67
Or maybe an example of having the study set the symbol to CL## without having to specify the current contract
[2019-07-21 05:10:49]
Devil_On_WallStreet - Posts: 67
Is this function not available? Or is it something I'll have to pay you to get the answer to?
[2019-07-21 17:48:29]
User90125 - Posts: 715
You probably want to convert sc.Symbol into a string and then match it appropriately.

Read this thread and you should be able to cobble something together:

ASCIL: Left values of SCString
[2019-07-21 20:38:06]
Devil_On_WallStreet - Posts: 67
Thank you SO MUCH!!!

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

Login

Login Page - Create Account