Support Board
Date/Time: Thu, 16 Jan 2025 16:18:42 +0000
Post From: enhancement request
[2017-11-05 15:17:05] |
Usermb - Posts: 126 |
Assuming the function is GetStudyPeakValleyLine, how is this intended to be used? Loop across prices and find out where peaks and valleys are, something like follows? for (price = 120.0f; price < 125; price += n * sc.TickSize) { GetStudyPeakValleyLine(ChartNumber,StudyID, price, PeakValleyType, StartIndex, PeakValleyExtensionChartColumnEndIndex); if (PEAKVALLEYTYPE_VALLEY == PeakValleyType) { // process valley } } Is there any way to get a list of all peaks and valleys for a TPO / Volume Profile? I searched in ACS_Source, couldn't find any other function. |