Login Page - Create Account

Support Board


Date/Time: Sat, 04 May 2024 20:47:59 +0000



Studies to graph - List divider/header

View Count: 817

[2020-05-17 23:55:32]
User623552 - Posts: 69
Hi,

On a chart I often have a large amount of studies, maybe 20 plus
When looking at the 'Studies to graph' list, it can be hard to quickly find a study, and organise the list of studies

Is there, a way to put a divider/header in that list.
So you could group similar types of studies together.

For example a divider with the heading "Auto Trading", or "Bollingers", or "Moving Averages" etc. etc.

THanks
[2020-05-18 05:04:38]
Flipper - Posts: 65
You could always do something hacky like this,

SCSFExport scsf_Spacer(SCStudyInterfaceRef sc)
{

  if (sc.SetDefaults)
  {
    sc.GraphName = "---------- Spacer ---------";
    sc.AutoLoop = 1;
    sc.CalculationPrecedence = VERY_LOW_PREC_LEVEL;
    sc.HideStudy = 1;

    return;
  }

}

image2020-05-18 15_01_49-Sierra Chart 2086 Chartbook1.Cht CQG We.png / V - Attached On 2020-05-18 05:04:18 UTC - Size: 52.22 KB - 207 views
[2020-05-18 10:36:26]
User623552 - Posts: 69
Great. That's useful. Thanks
Date Time Of Last Edit: 2020-05-18 10:38:30
[2020-05-18 11:45:29]
Flipper - Posts: 65
Actually should have just posted this .cpp file with the above post you can compile with these instructions

How to Build an Advanced Custom Study from Source Code: Step-By-Step Instructions


From step #9
attachmentSpacer.cpp - Attached On 2020-05-18 11:45:08 UTC - Size: 329 B - 209 views

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

Login

Login Page - Create Account