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
BacktestIQ Architecture
(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!
== PART 1: Pipeline Architecture == Pre-aggregated OHLC data (5M, 15M, 1H, 4H, 1D) derived from 1-minute source. At present conversion doesnot happen at runtime, it is done beforehand. data_manager.py just loads pre-converted CSV files. <pre> Raw OHLC Data (1D, 4H, 1H, 15M, 5M) β βΌ βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β LAYER 1: multi_timeframe_analysis.py β β "Are all timeframes pointing the same direction?" β β β β β’ Analyzes [1D, 4H, 1H, 15M, 5M] via TrendAnalysisCore β β β’ Calculates weighted alignment score (hierarchical weights) β β β’ 15-minute confirmation requirement β β β’ Output: TimeframeAnalysisResult (aligned, direction, score) β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β βΌ βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β LAYER 2: market_state_analysis.py β β "What kind of market are we in?" β β β β 7 Detection Algorithms: β β 1. Railroad Trend - Strong one-sided move (consistency > 80%) β β 2. Creeper Move - Slow grinding action (avg range < 0.5%) β β 3. Volatility Classification - High/Normal/Low β β 4. Market State - Trending/Range/Creeper/Momentum β β 5. Two-Day Trend - Both days close same direction β β 6. Trend Phase - EARLY/MIDDLE/LATE β β 7. Institutional Behavior - Fight, Accumulation, BOS β β Output: MarketStateResult β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β βΌ βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β LAYER 3: setup_quality_detection.py β β "How good is this setup? Grade it A+ to F." β β β β 5-Factor Weighted Scoring: β β β’ Timeframe Alignment (30%) β β β’ Trend Strength (20%) β β β’ Entry Quality (15%) β β β’ Key Level Proximity (20%) [WIP JIRA] β β β’ Risk/Reward (15%) β β β β Output: SetupQualityResult (grade, score, position_size) β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β βΌ βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β LAYER 4: signal_generation_trade_management.py β β "Should we trade? What direction? Where's entry/stop/target?" β β β β Direction Logic: β β β’ MA21 rising β LONG β β β’ MA21 declining β SHORT β β β’ Flat β MTF fallback [WIP market consolidation] β β β β Gate Filters: Hour, MA Direction, Probability Zone [WIP JIRA] β β Output: Signal (direction, entry, stop, target, grade) β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β βΌ βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β LAYER 5: trade_execution_engine.py β β "Execute the trade, manage the position, calculate P&L" β β β β Execution: Slippage modeling, Commission (Rs 20/lot), CTT (0.01%) β β Position Management: Trailing stop, Breakeven stop, Time exit β β Output: Trade objects with complete P&L [WIP JIRA] β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ </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
BacktestIQ Architecture
(section)
Add topic