Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
PlusEV Wiki Page
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Component:Market State Analysis
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Seven Detection Algorithms == === Algorithm 1: Railroad Trend === Detects strong one-sided moves where market moves like a train on tracks. <pre> Input: Last 5 bars (open, close) Output: is_railroad (bool), consistency (float) Logic: 1. Count bullish bars (close > open) 2. Count bearish bars (close < open) 3. Count strong bars (body > 0.3% of price) consistency = max(bullish, bearish) / 5 is_railroad = (consistency > 80%) AND (strong_bars >= 3) </pre> '''Example:''' 5 bars: [+1.2%, +0.8%, +0.5%, +0.9%, +0.6%] β 100% bullish, 4 strong bars β Railroad === Algorithm 2: Creeper Move === Detects slow grinding price action with no clear direction. <pre> Input: Last 7 bars (high, low) Output: is_creeper (bool), avg_range (float) Logic: FOR each of last 7 bars: range = (high - low) / high avg_range = average of all ranges is_creeper = (avg_range < 0.5%) </pre> '''Note:''' Uses 1-HOUR data (not 5-minute) to avoid false positives. === Algorithm 3: Volatility === Calculates market volatility from price changes. <pre> Input: Close values Output: volatility (float) Logic: changes = [|close[i] - close[i-1]| / close[i-1] for each bar] volatility = average(changes) Classification: HIGH = volatility > 1.0% NORMAL = 0.3% to 1.0% LOW = volatility < 0.3% </pre> === Algorithm 4: Market State Classification === Combines signals into overall market state. <pre> Input: is_railroad, is_creeper, trend_direction, volatility Output: MarketState enum Logic: IF railroad AND direction="up" β TRENDING_UP IF railroad AND direction="down" β TRENDING_DOWN IF creeper β CREEPER_MOVE IF volatility > 1% β MOMENTUM_MOVE IF volatility < 0.3% β NARROW_LOW_VOLUME ELSE β RANGE_BOUND </pre> === Algorithm 5: Two-Day Trend === Checks if last 2 daily bars agree on direction. <pre> Input: Daily OHLC (last 2 bars) Output: has_two_day_trend (bool), direction (str) Logic: day1_bullish = close[-2] > open[-2] // Yesterday day2_bullish = close[-1] > open[-1] // Today IF both bullish β True, "up" IF both bearish β True, "down" ELSE β False, "mixed" </pre> === Algorithm 6: Trend Phase === Determines if trend is EARLY, MIDDLE, or LATE. <pre> Input: Close, MA21 (50+ bars history) Output: TrendPhase enum Logic: 1. Find where price crossed MA21 (trend start) 2. Count bars since crossover = trend_length IF trend_length < 10 β EARLY (trend just started, risky) IF trend_length > 40 β LATE (trend exhausted) ELSE β MIDDLE (optimal zone) </pre> === Algorithm 7: Institutional Behavior === Detects signs of big player activity. '''7a. Institutional Fight:''' <pre> High volume (>150% average) + Narrow range (<0.5%) = Fight in progress </pre> '''7b. Accumulation:''' <pre> High volume bars (2+) + Price stable (<0.2% movement) = Accumulation </pre> '''7c. Break of Structure (BOS):''' <pre> Close breaks above swing high (bullish BOS) Close breaks below swing low (bearish BOS) Requires confirmation bars to avoid fakeouts </pre> ----
Summary:
Please note that all contributions to PlusEV Wiki Page may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
My wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Component:Market State Analysis
(section)
Add topic