Support Board
Date/Time: Tue, 03 Dec 2024 15:43:17 +0000
[User Discussion] - Filter Bid Size and Ask Size
View Count: 1135
[2014-03-25 19:29:25] |
User21223 - Posts: 92 |
Hello I wanted to ask for help with the improvement of the indicator. I need to add to the studies Time and Sales Time filter AskSize and Bid Size. Available is only Volume Filter. Adds the source code how it is now: SCSFExport scsf_TimeAndSalesTime(SCStudyInterfaceRef sc) { SCSubgraphRef Time = sc.Subgraph[0]; SCInputRef VolumeFilterGE = sc.Input[2]; SCInputRef VolumeFilterLE = sc.Input[3]; if (sc.SetDefaults) { // Set the configuration and defaults sc.GraphName = "Time and Sales Time"; sc.StudyDescription = ""; sc.GraphRegion = 1; sc.ValueFormat = 20; // Time Time.Name = "Time"; Time.DrawStyle = DRAWSTYLE_LINE; Time.PrimaryColor = RGB(0,255,0); Time.DrawZeros = false; VolumeFilterGE.Name = "Volume Filter >="; VolumeFilterGE.SetInt(1); VolumeFilterGE.SetIntLimits(0, INT_MAX); VolumeFilterLE.Name = "Volume Filter <= (0 means no limit)"; VolumeFilterLE.SetInt(0); VolumeFilterLE.SetIntLimits(0, INT_MAX); //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; } TimeAndSales(sc, 3); |
To post a message in this thread, you need to log in with your Sierra Chart account: