pub enum MarketCondition {
StrongTrend,
Trend,
Transitional,
Choppy,
VeryChoppy,
}Expand description
Market condition based on CHOP value
Variants§
StrongTrend
Strong trending market (CHOP < 38.2)
Trend
Trending market (38.2 <= CHOP < 45)
Transitional
Transitional market (45 <= CHOP < 55)
Choppy
Choppy market (55 <= CHOP < 61.8)
VeryChoppy
Very choppy/sideways market (CHOP >= 61.8)
Implementations§
Trait Implementations§
Source§impl Clone for MarketCondition
impl Clone for MarketCondition
Source§fn clone(&self) -> MarketCondition
fn clone(&self) -> MarketCondition
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MarketCondition
impl Debug for MarketCondition
Source§impl PartialEq for MarketCondition
impl PartialEq for MarketCondition
impl Copy for MarketCondition
impl Eq for MarketCondition
impl StructuralPartialEq for MarketCondition
Auto Trait Implementations§
impl Freeze for MarketCondition
impl RefUnwindSafe for MarketCondition
impl Send for MarketCondition
impl Sync for MarketCondition
impl Unpin for MarketCondition
impl UnwindSafe for MarketCondition
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