src/Data/BarPoc.cs · Calculated on: desktop or server
A marker on every bar at the price which traded the most volume, its point of control.
What it shows
- Asking for the volume by price.
- Walking the prices of a bar.
- Integer ticks (
PinT) and their conversion to prices. - A series drawn as markers.
Asking for the data
Walking the profile of a bar
levels[0] is the volume of every trade at that price, with TotVol, AskVol, BidVol and the number of trades.
Markers
AvailableStyle.
Things to notice
- The example checks
PriceListandVbpListAllfornulland hides the point: not every symbol has volume by price. - The open bar is recalculated in
OnEnd, so the marker moves while the bar trades.
Try
- Show the POC only when it is in the upper or lower third of the bar.
- Add the value area of the bar as a
Rangeseries.