Login Page - Create Account

Support Board


Date/Time: Mon, 23 Dec 2024 07:05:56 +0000



ACSIL "Position just Closed"

View Count: 867

[2015-01-05 14:48:24]
sbsierra - Posts: 71
Hi,
what is the most elegant way to find out, if a position is just closed. I want to make a notification to the user via ACSIL, that a position has just closed.
I tried getting "s_SCPositionData" MarketPosition put it in a persistent var and again read the MarketPosition and if there is a difference make a alert.
However there are sometimes wrong alerts when doing it this way.

I do not want to use the standard trading alerts.

regards,

bs.trader
[2015-01-05 17:08:06]
Sierra Chart Engineering - Posts: 104368
Possibly you could use the Trades list in some way to do this:
http://www.sierrachart.com/index.php?page=doc/doc_ACSILTrading.html#scGetTradeListEntry
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
Date Time Of Last Edit: 2015-01-05 17:08:36

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

Login

Login Page - Create Account