pub enum ValueAreaMethod {
Greedy,
SteidlmayerTwoRow,
Symmetrical,
}Expand description
Calculation method used to expand the Value Area (VAH and VAL) from the Point of Control.
Variants§
Greedy
Modern greedy single-bin comparison (standard in TradingView and modern platforms).
Starting at the POC bin, compares the volume of the next adjacent bin above with
the next adjacent bin below. Expands into whichever has higher volume until the
accumulated volume reaches the target percentage (value_area_pct).
SteidlmayerTwoRow
Steidlmayer classic two-row comparison (CBOT Market Profile 1986).
Compares the sum of volume in the next two rows above versus the next two rows below. Expands into the side with greater combined volume.
Symmetrical
Symmetrical expansion in both directions simultaneously from the POC.
Trait Implementations§
Source§impl Clone for ValueAreaMethod
impl Clone for ValueAreaMethod
impl Copy for ValueAreaMethod
Source§impl Debug for ValueAreaMethod
impl Debug for ValueAreaMethod
Source§impl Default for ValueAreaMethod
impl Default for ValueAreaMethod
Source§impl<'de> Deserialize<'de> for ValueAreaMethod
impl<'de> Deserialize<'de> for ValueAreaMethod
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ValueAreaMethod
Source§impl PartialEq for ValueAreaMethod
impl PartialEq for ValueAreaMethod
Source§impl Serialize for ValueAreaMethod
impl Serialize for ValueAreaMethod
impl StructuralPartialEq for ValueAreaMethod
Auto Trait Implementations§
impl Forget for ValueAreaMethod
impl Freeze for ValueAreaMethod
impl Move for ValueAreaMethod
impl RefUnwindSafe for ValueAreaMethod
impl Send for ValueAreaMethod
impl Sync for ValueAreaMethod
impl Unpin for ValueAreaMethod
impl UnsafeUnpin for ValueAreaMethod
impl UnwindSafe for ValueAreaMethod
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.