src/Deepdom/Annotations/BigTradeMarker.cs
A circle on the price for every aggregated trade of at least a given size, with a message in realtime.
What it shows
- The aggregated trades:
SetCalculateAggrTradesandAggrInfo. - Annotations in the main area, their group and their removal.
- A message for the user, in realtime only.
How it works
The aggregated trades are asked for inOnInit. In OnTick, aggrInfo is null for every trade which does not complete an aggregate:
TickIndex + 1) and at its price:
Things to notice
- The group is created in
OnLoad, and the list is emptied there: the chart starts from scratch at every load. - The message is shown only when
isRtistrue. During the history there would be one for every past trade. Tooltipgives the annotation a text shown when the mouse is over it.
Try
- Scale the marker with the size of the trade.
- Show the sum of the big trades of each side in a label.