Login Page - Create Account

Support Board


Date/Time: Mon, 23 Dec 2024 01:28:37 +0000



Post From: sc.AlertConditionFlags

[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