Login Page - Create Account

Support Board


Date/Time: Sun, 24 Nov 2024 10:40:09 +0000



Post From: BidSize Filter

[2013-10-15 17:52:52]
User21223 - Posts: 92
Listed below code studies TimeAndSalesBidSize. What to write to the value of Bid Size was over for example 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;
  }