Login Page - Create Account

Support Board


Date/Time: Mon, 03 Mar 2025 17:48:04 +0000



Programming an indicator

View Count: 1253

[2021-11-05 18:46:29]
KylieV1618 - Posts: 67
Hey,

So Im a software engineer that works in Java and Javascript mostly. I don't really know C++, but thats not a huge issue.

The issue Im finding with programming for Sierra Chart is lack of Tutorials or Documentation. I just don't know where to look.
Could somebody here maybe guide me in this simple indicator I want to build.

I want to use numbers bars, and the indicator will simply be drawing an extended line to the right of the chart, anytime that within a bar there are 3 consecutive "imbalances" on the same side.

So for instance.


30x20
20x15
20x1 ---------
18x2 --------- THIS WILL BE THE EXTENDED LINE HERE (average of the 3)..........BECAUSE THERE WERE 3 BID IMBALANCES (more than 90% traded on the bid)
18x1 ---------
17x15
12x11


Can anyone point me to what methods I should be looking at to achieve this?
From what I understand the numbers bars aren't accessible by ACSIL??
So how come I've seen similar indicators like this before??

There must be a way, I just cant figure it out it seems.

Could somebody post some very basic code??

Thanks

Kylie
[2021-11-05 18:56:15]
User907968 - Posts: 833
From what I understand the numbers bars aren't accessible by ACSIL??

Refer here -> ACSIL Interface Members - Variables and Arrays: sc.VolumeAtPriceForBars

Could somebody post some very basic code??

For example of how to access VAP data and draw extension lines look at 'scsf_VolumeAtPriceThresholdAlertV2' found in /ACS_Source/studies8.cpp
[2021-11-05 20:26:30]
KylieV1618 - Posts: 67
Oh wow!
Perfect, thank you very much!

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

Login

Login Page - Create Account