Login Page - Create Account

Support Board


Date/Time: Sat, 21 Dec 2024 18:11:00 +0000



Post From: sc.GetTradeListEntry ... missunderstanding?

[2014-12-08 00:49:22]
Kiwi - Posts: 375
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?