Login Page - Create Account

Support Board


Date/Time: Sun, 28 Apr 2024 20:50:36 +0000



ACSIL

View Count: 1131

[2017-11-22 14:57:22]
User39772 - Posts: 311
Hello,

I defined:

SCSubgraphRef Slope = sc.Subgraph[5];

Slope.Name = "Slope";
Slope.DrawStyle = DRAWSTYLE_IGNORE;
Slope.DrawZeros = false;

to use the slope indicator within in an ACSIL trading system.

How can I access the latest slope value in this structure to check, if it is negative or positive to make any decisions based on that
e.g. within an if-statement ?

Whe I use:
Slope.DrawStyle = DRAWSTYLE_Line;

The chart (chart region 1) becomes compresses because slope is a floaing point +-/ 0.00...

How can I define from within the code that the slope should be located in another chart region e.g. chart region 2 ?
[2017-11-22 17:51:51]
Sierra Chart Engineering - Posts: 104368
Refer to:
Working with ACSIL Arrays and Understanding Looping


How can I define from within the code that the slope should be located in another chart region e.g. chart region 2 ?

Refer to:
ACSIL Interface Members - Variables and Arrays: sc.GraphRegion
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