pub struct VolumeProfileEngine { /* private fields */ }Expand description
Volume Profile Engine. Computes Volume-by-Price distribution over lookback window, identifying POC (Point of Control), VAH (Value Area High), and VAL (Value Area Low).
Implementations§
Trait Implementations§
Source§impl Indicator for VolumeProfileEngine
impl Indicator for VolumeProfileEngine
fn name(&self) -> &str
fn warmup_period(&self) -> usize
fn reset(&mut self)
fn on_bar(&mut self, bar: &Bar) -> Option<IndicatorOutput>
fn alerts(&self) -> Vec<IndicatorAlert>
Source§fn on_checked_bar(
&mut self,
bar: &Bar,
) -> Result<Option<IndicatorOutput>, BarValidationError>
fn on_checked_bar( &mut self, bar: &Bar, ) -> Result<Option<IndicatorOutput>, BarValidationError>
Validates a bar before forwarding it to
Indicator::on_bar.Auto Trait Implementations§
impl Freeze for VolumeProfileEngine
impl RefUnwindSafe for VolumeProfileEngine
impl Send for VolumeProfileEngine
impl Sync for VolumeProfileEngine
impl Unpin for VolumeProfileEngine
impl UnsafeUnpin for VolumeProfileEngine
impl UnwindSafe for VolumeProfileEngine
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more