StrategyQuant
Q AI AssistantAlgoCloudQuantAnalyzerQuantDataManager
Free CourseCompany
BlogDocumentationForumContact us
BlogMarketplace
Log in
Create free account

Product

  • Pricing & licenses
  • Learn
  • Marketplace
  • Start free trial

Legal

  • Terms of Service
  • Privacy Policy
  • Cookies

Contact

[email protected]

Company

StrategyQuant s.r.o.

Korunní 2569/108, Vinohrady, 101 00 Praha 10, Czech Republic, EU

IČ: 04000498

DIČ: CZ04000498

Social

  • Legal Notice | PROCESSING AND PROTECTION OF PERSONAL DATA

    Past performance is no guarantee of future success. All information should be viewed as educational only

    UNITED STATES Disclaimer required by Government - Commodity Futures Trading Commission informs: Futures and options trading have great potential rewards, but also great potential risk. You must be aware of the risks and be willing to accept them in order to invest in the futures and options markets. Don't trade with money you can't afford to lose. This is neither a solicitation nor an offer to buy/sell futures, shares or options on the same. No representation is being made that any account will or is likely to realise profits or losses similar to those discussed in this document. The past performance of any trading system or methodology is not necessarily indicative of future results.

    CFTC RULE 4.41 - HYPOTHETICAL OR SIMULATED PERFORMANCE RESULTS HAVE CERTAIN LIMITATIONS. UNLIKE A RECORD OF ACTUAL PERFORMANCE, SIMULATED RESULTS DO NOT REPRESENT ACTUAL TRADING. ALSO, SINCE THE TRADES WERE NOT EXECUTED, THE RESULTS MAY HAVE OFFSET THE IMPACT, IF ANY, OF CERTAIN MARKET FACTORS, SUCH AS LACK OF LIQUIDITY. SIMULATED TRADING PROGRAMMES IN GENERAL ARE ALSO SUBJECT TO THE FACT THAT THEY ARE DESIGNED WITH THE BENEFIT OF HINDSIGHT. NO REPRESENTATION IS BEING MADE THAT ANY ACCOUNT WILL OR IS LIKELY TO REALISE PROFITS OR LOSSES SIMILAR TO THOSE SHOWN.

    NO REPRESENTATION IS BEING MADE THAT ANY ACCOUNT WILL, OR IS LIKELY TO, REALISE PROFITS OR LOSSES SIMILAR TO THOSE DISCUSSED WITHIN THIS SITE. IF YOU DECIDE TO INVEST REAL MONEY, ALL TRADING DECISIONS IN THE FINANCIAL MARKETS SHOULD BE YOUR OWN.

    © StrategyQuant 2026

    Powered by Klaudie.ai

    Back to marketplaceDIGITAL

    Order Block Detector (OBD)

    StrategyQuantIndicators
    Order Block Detector (OBD)

    Detects institutional order blocks using momentum and ATR analysis to reveal where smart money has positioned itself, providing reliable support/resistance levels and trade signals.

    The Order Block Detector finds these institutional footprints by looking for strong momentum candles that follow specific structural setups. When we spot these patterns, we’re seeing where smart money has positioned itself, giving us insight into likely future price direction.


    How Order Blocks Work

    Institutions need time and the right conditions to build their positions. They often do this when retail traders are positioned the opposite way, using retail sentiment as liquidity for their large orders.

    Bullish Order Block Formation: Price makes a lower low, then institutions step in with aggressive buying, creating a large bullish candle. The previous lower low represents the final push down that allowed institutions to complete their accumulation at favorable prices.

    Bearish Order Block Formation: Price makes a higher high, then institutions begin aggressive selling, creating a large bearish candle. The previous higher high represents the final push up that provided institutions with optimal distribution levels.

    The key insight is this apparent contradiction – the strongest institutional buying often happens after what looks like continued weakness, and the strongest institutional selling often happens after what looks like continued strength.


    Parameters and Detection Logic

    ATRPeriod (14) – Determines how we measure normal market volatility. Shorter periods are more sensitive to recent changes, longer periods provide more stable measurements.

    MomentumThreshold (1.5) – How much larger than normal a candle must be to qualify as institutional activity. The current candle size divided by ATR must exceed this threshold.

    Signal Levels:

    • Strong Bullish (+2): Very large bullish candle after lower low
    • Moderate Bullish (+1): Large bullish candle after lower low
    • Strong Bearish (-2): Very large bearish candle after higher high
    • Moderate Bearish (-1): Large bearish candle after higher high

    The momentum calculation automatically adjusts for market conditions. In volatile markets, larger candles are normal, so the threshold adapts accordingly. This prevents the indicator from generating excessive signals during high volatility periods.


    Trading Applications

    Order Blocks become support and resistance levels once identified. Institutions who built positions at these levels have incentive to defend them, making these areas reliable for future price reactions.

    Use bullish Order Blocks as support levels during uptrend pullbacks and bearish Order Blocks as resistance during downtrend retracements. The strongest setups occur when multiple timeframes show Order Blocks in the same direction.

    For entries, wait for price to return to Order Block levels and show reaction before entering. For risk management, place stops beyond the Order Block candle extremes – below bullish blocks and above bearish blocks.


    Best Practices

    Focus on the strongest signals first – the +2 and -2 readings typically provide the most reliable trading opportunities. Only trade moderate signals when they align with broader market structure or multiple timeframe analysis.

    Consider market environment when evaluating signals. Order Blocks work best in trending markets where institutional positioning is most directional. During choppy conditions, reduce position size and raise confirmation requirements.

    Always combine Order Block analysis with broader market structure understanding. A bullish Order Block in a strong downtrend might only produce a temporary bounce, while the same signal in an uptrend could mark the start of the next major leg higher.


    Conclusion

    Order Blocks reveal where institutions have positioned themselves in the market. By understanding that smart money often accumulates during apparent weakness and distributes during apparent strength, retail traders can position themselves alongside institutional flow rather than against it.

    The detector’s use of momentum thresholds and ATR normalization helps distinguish genuine institutional activity from normal market noise. Focus on the strongest signals, combine with proper market structure analysis, and maintain consistent risk management for best results.

    Order Blocks work best as part of comprehensive Smart Money Concepts analysis alongside Break of Structure signals and Fair Value Gap identification. This multi-faceted approach provides the complete picture of institutional market activity needed for successful trading decisions.

    Indicator Availability:
    This indicator is implemented for MT4, MT5, TradeStation, and MultiCharts.

    Using Custom Blocks for Conditions:
    You can easily define your own conditions in StrategyQuant X using Custom Blocks. This allows you to set up parameters such as periods or steps to fine-tune the indicator to your strategy. For more detailed information, refer to the following resources:

    • StrategyQuant Documentation: Custom Blocks
    • StrategyQuant Documentation: Strategy Templates & Custom Blocks
    • StrategyQuant YouTube Tutorial: Custom Blocks Overview

    Importing Custom Indicators into SQX:
    To import custom indicators into StrategyQuant X, follow the step-by-step instructions provided here:
    Import & Export Custom Indicators and Other Snippets

    You know me as clonex. I’m Ivan Hudec — I built the free blocks you’re using here, and I write about the research behind them at algotrading.space. Need something built? Work with me.
    Past performance is no guarantee of future success. All information should be viewed as educational only UNITED STATES Disclaimer required by Government - Commodity Futures Trading Commission informs: Futures and options trading have great potential rewards, but also great potential risk. You must be aware of the risks and be willing to accept them in order to invest in the futures and options markets. Don't trade with money you can't afford to lose. This is neither a solicitation nor an offer to buy/sell futures, shares or options on the same. No representation is being made that any account will or is likely to realise profits or losses similar to those discussed in this document. The past performance of any trading system or methodology is not necessarily indicative of future results. CFTC RULE 4.41 - HYPOTHETICAL OR SIMULATED PERFORMANCE RESULTS HAVE CERTAIN LIMITATIONS. UNLIKE A RECORD OF ACTUAL PERFORMANCE, SIMULATED RESULTS DO NOT REPRESENT ACTUAL TRADING. ALSO, SINCE THE TRADES WERE NOT EXECUTED, THE RESULTS MAY HAVE OFFSET THE IMPACT, IF ANY, OF CERTAIN MARKET FACTORS, SUCH AS LACK OF LIQUIDITY. SIMULATED TRADING PROGRAMMES IN GENERAL ARE ALSO SUBJECT TO THE FACT THAT THEY ARE DESIGNED WITH THE BENEFIT OF HINDSIGHT. NO REPRESENTATION IS BEING MADE THAT ANY ACCOUNT WILL OR IS LIKELY TO REALISE PROFITS OR LOSSES SIMILAR TO THOSE SHOWN. NO REPRESENTATION IS BEING MADE THAT ANY ACCOUNT WILL, OR IS LIKELY TO, REALISE PROFITS OR LOSSES SIMILAR TO THOSE DISCUSSED WITHIN THIS SITE. IF YOU DECIDE TO INVEST REAL MONEY, ALL TRADING DECISIONS IN THE FINANCIAL MARKETS SHOULD BE YOUR OWN.
    Free2 downloads

    Files

    • Snippet-OrderBlockDetectorOBD.sqm30 KBLocked

    Download unlocks after purchase or with an active tier.

    Details
    Version1.0.0
    PublishedOctober 19, 2026
    Last updatedNovember 2, 2026
    AppSQ
    TypeSnippet
    Authorclonex / Ivan Hudec
    App version145.3058
    Codebase categoryIndicators / Signals