Support Board
Date/Time: Sun, 22 Dec 2024 10:18:48 +0000
sc.GetTradeStatisticsForSymbol - information please
View Count: 973
[2015-02-23 09:22:30] |
Marmany - Posts: 307 |
In the online manual we have : Type: Function: int GetTradeStatisticsForSymbol(int Unused, int DailyStats,s_ACSTradeStatistics& TradeStats); However in acs_Source\Studies3 line 1819 we have: Line 1819: sc.GetTradeStatisticsForSymbol(sc.GlobalTradeSimulationIsOn != 0, true, DailyStats); Implying that the study is set for simulated trading. I am uncertain which is correct and prefer not to experiment when live trading. Please verify the significance of "int Unused" and advise if it needs to be changed when live trading. Many thanks. |
[2015-02-23 19:04:00] |
Sierra Chart Engineering - Posts: 104368 |
We have confirmed that the first parameter is unused. Therefore the correct call is: sc.GetTradeStatisticsForSymbol(0, true, DailyStats); The example code has been updated. Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing |
To post a message in this thread, you need to log in with your Sierra Chart account: