Login Page - Create Account

Support Board


Date/Time: Sun, 22 Dec 2024 20:51:26 +0000



sc.AlertConditionFlags

View Count: 1470

[2015-01-14 13:58:51]
Hendrixon - Posts: 130
1.
It seems to work only on the last bar.
Here is a stripped down code:

float ArrowOffset = ArrowOffsetValue.GetInt() * sc.TickSize;

if (sc.AlertConditionFlags != 0)

  ArrowUp[sc.Index] = sc.Low[sc.Index] - ArrowOffset; // green
else ArrowUp[sc.Index] = 0;
In the pic you can see that I even set the condition to always true but there is an arrow only under the last bar.
I searched for your code of the study "Color Bar Based On Alert Condition" to see how it works for you, but I can't find it in any *.cpp file.

2.
Jonathan of Rithmic confirmed that they don't filter the "AgressorSide flag":
we provide the bid/ask flag when given to us by the exchange.
You can see it in r | trader in the market data trade history window.
I believe it is available in r|api too but I will check.
Please contact Rithmic and sort this out. its very important.
Attachment Deleted.
imageFile1.png / V - Attached On 2015-01-14 13:58:46 UTC - Size: 8.59 KB - 466 views
[2015-01-14 14:16:20]
Hendrixon - Posts: 130
3.
Loading SC from a command line with the "/chartname:[custom name]" switch doesn't work in version 1224.
[2015-01-14 18:38:34]
Sierra Chart Engineering - Posts: 104368
1. This is expected.

2. We do see this and this will be supported in the next release.

3. This has been removed. You have to set the Custom Title Bar Name through Global Settings >> General Settings.
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-14 18:38:55
[2015-01-14 21:54:04]
Hendrixon - Posts: 130
1.
I don't understand. shouldn't the alert condition be checked on every bar? it doesn't make sense at all...
Please share the code for your study "Color Bar Based On Alert Condition", it obviously works there.

2.
Many thanks.

3.
Got it. much better.

[2015-01-16 09:17:48]
Sierra Chart Engineering - Posts: 104368
1. It only indicates the current state of the Alert Condition Formula which only applies to the last bar in the chart.

The code you ask for is not available.

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