Support Board
Date/Time: Sat, 23 Nov 2024 16:09:26 +0000
Post From: AAPL volume profile
[2022-08-03 16:26:48] |
Tony - Posts: 516 |
Hi Mustang77, I am glad that Sierra will support this in the next release, for the time being, this study allows you set VbP percentage more than 100, tested it, works well. (so you don't have to exclude any time period) Save it to a text file, re-name it to 'VbP.cpp' and move it to C:\SierraChart\ACS_Source In Sierra Chart: Analysis -> Build Custom Study DLL Select Files -> VbP.cpp and then: Build -> Remote Build After that, you should see that custom study in Add Study window #include "sierrachart.h" SCDLLName("VbP_Width") SCSFExport scsf_VbP_Width(SCStudyInterfaceRef sc) { SCInputRef ProfileID {sc.Input[0]}; SCInputRef ProfileWidth {sc.Input[1]}; if (sc.SetDefaults) { sc.GraphName = "Set VbP Width"; sc.GraphRegion = 0; ProfileID.Name = "VbP Study ID"; ProfileID.SetInt(1); ProfileWidth.Name = "VbP Maximum Volume Bar Width Percentage"; ProfileWidth.SetInt(20); return; } sc.SetChartStudyInputInt(sc.ChartNumber, ProfileID.GetInt(), 43, ProfileWidth.GetInt()); } Date Time Of Last Edit: 2022-08-03 18:05:57
|