pub struct PivotStructureEngine { /* private fields */ }Expand description
Market Structure & Pivot Points Engine. Detects pivot highs/lows (HH/HL/LH/LL) and computes bounded structure score (-100..+100).
Implementations§
Trait Implementations§
Source§impl Indicator for PivotStructureEngine
impl Indicator for PivotStructureEngine
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 PivotStructureEngine
impl RefUnwindSafe for PivotStructureEngine
impl Send for PivotStructureEngine
impl Sync for PivotStructureEngine
impl Unpin for PivotStructureEngine
impl UnsafeUnpin for PivotStructureEngine
impl UnwindSafe for PivotStructureEngine
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