Login Page - Create Account

Support Board


Date/Time: Fri, 29 Mar 2024 12:53:31 +0000



sc.GetTradeListEntry ... missunderstanding?

View Count: 899

[2014-12-08 00:49:22]
Kiwi - Posts: 372
I'm using it with SC version 1212.

To get the tradelist entries from a chart it seems that >> trade >> show order fills must be ticked otherwise this doesn't return a value.

  s_ACSTrade TradeEntry;
  int Size = sc.GetTradeListSize();
  if(Size > 0 && sc.GetTradeListEntry(Size - 1, TradeEntry)) { Do Stuff }

If that is the case then is it possible to change this behaviour (logic being that selection to see marks on charts shouldn't affect the ability of an acsil function to test trade entries) ? Or am I missunderstanding its operation?
[2014-12-08 01:14:08]
Sierra Chart Engineering - Posts: 104368
This should not matter. Only make sure you set this:
sc.MaintainTradeStatisticsAndTradesData = 1
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:

Login

Login Page - Create Account