Login Page - Create Account

Support Board


Date/Time: Sun, 24 Nov 2024 13:34:10 +0000



Post From: studies TimeAndSalesBidSize

[2013-10-18 19:19:35]
User21223 - Posts: 92
Listed below code studies TimeAndSalesBidSize. What to write to the value of Bid Size was over from 400. So that studies "TimeAndSalesBidSize" showed a value above 400

SCSFExport scsf_TimeAndSalesBidSize(SCStudyInterfaceRef sc)
{
SCSubgraphRef BidSize = sc.Subgraph[0];

if (sc.SetDefaults)
{
// Set the configuration and defaults

sc.GraphName = "Time and Sales BidSize";

sc.StudyDescription = "";

sc.GraphRegion = 1;
sc.ValueFormat = sc.VolumeValueFormat;

BidSize.Name = "BidSize";
BidSize.DrawStyle = DRAWSTYLE_BAR;
BidSize.PrimaryColor = RGB(255,255,255); // white
BidSize.LineWidth = 1;
BidSize.DrawZeros = false;




//During development set this flag to 1, so the DLL can be modified. When development is completed, set it to 0 to improve performance.
sc.FreeDLL = 0;

return;
}