Support Board
Date/Time: Mon, 03 Mar 2025 11:18:43 +0000
Post From: How do I Show Profiles on Subgraphs?
[2016-03-02 21:46:54] |
enemyspy - Posts: 306 |
In the mean time here is a proper range histogram, so that you don't have to use the average daily range anymore. #include "sierrachart.h" SCDLLName("Range") SCSFExport scsf_Range(SCStudyGraphRef sc) { SCSubgraphRef Range = sc.Subgraph[0]; SCInputRef StudyInput = sc.Input[0]; if (sc.SetDefaults) { sc.GraphName = "Range"; sc.FreeDLL = 0; sc.AutoLoop = 1; // sc.UpdateAlways = 1; Range.Name = "Range"; Range.DrawStyle = DRAWSTYLE_BAR; Range.PrimaryColor = RGB(144, 0, 144); return; } Range[sc.Index] = sc.High[sc.Index] - sc.Low[sc.Index]; return; } |