Login Page - Create Account

Support Board


Date/Time: Sat, 27 Apr 2024 01:57:58 +0000



s_SCPositionData

View Count: 948

[2018-01-07 20:22:59]
User39772 - Posts: 311
Hello,

in the struct mentioned above I find only the following regaring Time:

SCDateTime LastFillDateTime;//Stats
SCDateTime LastEntryDateTime;//Stats
SCDateTime LastExitDateTime;//Stats

is there a function or variable available that holds the time gone since a position is open ?
[2018-01-08 02:10:11]
Sierra Chart Engineering - Posts: 104368
No, that is not available.

You would have to keep track of this yourself within the study function.
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-01-08 15:22:41]
User39772 - Posts: 311
Thx.

In a Trading Spreadsheet it is possible to define the start time and stop time for a trading system during the day.
I did not find corresponding commands for a dll trading system under:

ACSIL Interface Members - Variables and Arrays

Any hints from your side ? E.g. I want do defnie that the system only works from xx:yy a.m. until aa:bb p.m. during the day,
outside of this range signals should be ignored, even if the system is running.

When I attach my dll to the sc.exe for debugging purposes sometimes the debugger asks for sc.pbs. Ist that file abailable somewhare ?
[2018-01-10 21:40:36]
Sierra Chart Engineering - Posts: 104368
When it comes to controlling the trading times, you need to look at the time of the last bar in the chart and make a decision whether to do any trading or not.

Refer to:
ACSIL Interface Members - Variables and Arrays: sc.BaseDateTimeIn[]


When I attach my dll to the sc.exe for debugging purposes sometimes the debugger asks for sc.pbs. Ist that file abailable somewhare ?
We do not know what file this and not able to help with this. This is not within the scope of our support.
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: 2018-01-10 21:41:17
[2018-01-11 11:38:32]
User39772 - Posts: 311
Thank you.

Actually the compiler is asking for file SierraChart.pbd. It seems that while debugging my sudy the compiler intends to step into SC source code
but does not have the pbs file to go on.

In some of your studies it is not possible to enter another study as Input. E.g. in study Z_Score it is not possible to use another study in the
chart as input. Is there a workaround our would it be possible to implement this ?
[2018-01-11 18:50:56]
Sierra Chart Engineering - Posts: 104368

In some of your studies it is not possible to enter another study as Input. E.g. in study Z_Score it is not possible to use another study in the
chart as input. Is there a workaround our would it be possible to implement this ?

Refer to:
Chart Studies: Settings and Inputs Tab >> Based On - Basing a Study on Another Study
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

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

Login

Login Page - Create Account