Login Page - Create Account

Support Board


Date/Time: Thu, 02 May 2024 09:55:49 +0000



Post From: Continuous contract - with sc.OpenChartOrGetChartReference - spawns charts from expired symbols

[2013-12-27 22:11:34]
T44 - Posts: 363
There is a reference to an ScString sc.TradeAndCurrentQuoteSymbol http://www.sierrachart.com/index.php?l=doc/doc_ACSIL_Members_Variables_And_Arrays.html#scTradeAndCurrentQuoteSymbol

This appears to be what I need, however once again error struct s_sc has no member named 'TradeAndCurrentQuoteSymbol'.

Top of my code is
#include <iterator>
#include "sierrachart.h"
#include "scstudyfunctions.h"

SCDLLName("StudyName")

SCSFExport scsf_StudyName(SCStudyInterfaceRef sc)
Do I need to include anything else in order to access TradeAndCurrentQuoteSymbol string or GetRealTimeSymbol function?