Support Board
Date/Time: Wed, 22 Jan 2025 13:11:58 +0000
Post From: Subgraphs in custom studies
[2018-09-18 18:01:05] |
BrMa - Posts: 80 |
First of all - thank you! I really do not want to keep you busy with unimportant topics, but I double-checked my code for point 1) and altough you're writing it's impossible I do have the issue... :-( I already tried to create a completely new chartbook with an new empty chart and add the study to see if something in the original chartbook is maybe loaded in a wrong way but I do have the same issue there... I'm using SierraChart 1807 Im posting the relevant default-setting section... maybe you can have a quick look at it but I do not see any mistake... // Set defaults if (sc.SetDefaults) { sc.AutoLoop = 0; // Automatic looping is disabled. sc.IncludeInStudySummary = 0; // Exclude from summary window sc.GraphRegion = 0; // Use main graph sc.ScaleRangeType = SCALE_SAMEASREGION; sc.ValueFormat = VALUEFORMAT_INHERITED; // Here is a block with some input fields // Subgraphs - in the real code here are 12 subgraphs defined - only the first one is printed as reference as the others are equal despite the subgraph-number sc.Subgraph[x] sc.Subgraph[0].Name = "Graph 1"; sc.Subgraph[0].DrawStyle = DRAWING_LINE; sc.Subgraph[0].PrimaryColor = RGB(128, 0, 0); sc.Subgraph[0].LineStyle = LINESTYLE_DOT; sc.Subgraph[0].LineWidth = 1; return; } And thank you for taking a look into point 2 as well! :-) |