Login Page - Create Account

Support Board


Date/Time: Fri, 03 May 2024 13:32:58 +0000



Has trade occured using Bar Index

View Count: 574

[2018-11-02 17:10:20]
User316362 - Posts: 210
Is there a simple ACSIL function to check if a trade has occurred at a particular Bar Index? Might be better than using order entries and checking results (using allow 1 trade per bar).

Why not ovoid another order entry if a simple check can be made. (e.g. sc.NumberOfOrdersbyIndex or something like it)?

I guess I could persist the knowledge of a trade and check and clear that upon a new index.
Date Time Of Last Edit: 2018-11-02 17:35:20
[2018-11-02 17:41:41]
Sierra Chart Engineering - Posts: 104368
You can get the order fills:
Automated Trading From an Advanced Custom Study: sc.GetOrderFillEntry()

You can then access the FillDateTime of each fill.
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
[2018-11-02 17:51:40]
User316362 - Posts: 210
thanks, I'll implement this

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

Login

Login Page - Create Account