Login Page - Create Account

Support Board


Date/Time: Thu, 28 Nov 2024 11:33:00 +0000



[Programming Help] - Function information

View Count: 293

[2023-05-14 16:57:12]
WeroTrader - Posts: 46
Greetings, sierra chart team:

I am writing with the intention of asking you the following: when I do not have any open position, is there an ACSIL code function that returns the price at which the last trade was closed? Thank you for your attention and prompt response..
[2023-05-15 16:29:37]
Tony - Posts: 522
Automated Trading From an Advanced Custom Study: sc.GetTradeListEntry()

we have access to the size of the trading log, basically just read the close price of last record of trading log. (double ExitPrice)
Date Time Of Last Edit: 2023-05-15 16:30:17
[2023-05-15 16:54:27]
Sierra_Chart Engineering - Posts: 17201
There is also this:
Automated Trading From an Advanced Custom Study: sc.GetOrderFillEntry()
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, use 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