Login Page - Create Account

Support Board


Date/Time: Mon, 29 Apr 2024 01:57:18 +0000



Post From: Position older than a number of bars in ACSIL

[2020-02-11 19:38:48]
Sierra Chart Engineering - Posts: 104368
So what you would do is calculate the difference between the latest bar index, which can be determined with sc.ArraySize -1, and the saved bar index and use one of these functions once the difference exceeds a specified amount:
Automated Trading From an Advanced Custom Study: Cancel Orders and Flatten Position Functions
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: 2020-02-11 19:38:57