Login Page - Create Account

Support Board


Date/Time: Tue, 19 Mar 2024 07:31:35 +0000



Post From: How to use DRAWSTYLE_POINT_VARIABLE_SIZE? Getting strange painting and chart scale.

[2021-04-08 06:50:11]
User907968 - Posts: 795
Check the value format used by the study - Chart Studies: Settings and Inputs Tab >> Value Format

Maybe include the following (or similar) in the SetDefaults block:
sc.ValueFormat = VALUEFORMAT_INHERITED;

Also, not related to your specific question but, these lines both perform the same operation:

Subgraph_VariableVolume[sc.Index] = sc.Close[sc.Index];

Subgraph_VariableVolume.Data[sc.Index] = sc.Close[sc.Index];

The first line is a shorthand version of the second (ACSIL Interface Members - sc.Subgraph Array: sc.Subgraph[].Data[] / sc.Subgraph[][])