Login Page - Create Account

Support Board


Date/Time: Tue, 14 May 2024 00:55:47 +0000



Post From: ACSIL

[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 ?