CNPS23-VOLUME_ORDER BLOCK — Strategy by PhaisinhOnline

By PhaisinhOnline

Performance Metrics

Description

CNPS23 VOLUME ORDER BLOCK RETESTCNPS23 is an Order Block retest strategy built around displacement, volume expansion and subsequent price interaction with the origin of the impulse.Rather than entering on the impulse candle itself, the strategy creates a price zone and waits for the market to revisit that zone.━━━━━━━━━━━━━━━━━━1. STRATEGY CONCEPT━━━━━━━━━━━━━━━━━━The strategy follows this sequence:Displacement Candle+Volume Impulse→ Create Order Block→ Keep Zone Active→ Wait for Retest→ Confirm Reaction→ EntryThe Order Block is derived from the candle immediately before the impulse.━━━━━━━━━━━━━━━━━━2. IMPULSE DETECTION━━━━━━━━━━━━━━━━━━The strategy evaluates both price displacement and volume.Default parameters:ATR Length: 14Displacement Body: at least 0.8 ATRVolume SMA Length: 20Impulse Volume: at least 1.0x Volume SMABULLISH IMPULSE:• Bullish candle• Large candle body• Sufficient volumeBEARISH IMPULSE:• Bearish candle• Large candle body• Sufficient volumeOptional filters can require the impulse to break the previous candle range or require the candle before the impulse to have the opposite direction.━━━━━━━━━━━━━━━━━━3. ORDER BLOCK CREATION━━━━━━━━━━━━━━━━━━When a bullish impulse is detected, a bullish Order Block is created from the previous candle.Default full-zone definition:Top = Previous HighBottom = Previous LowThe strategy can optionally use only the previous candle body instead.The same process is mirrored for bearish Order Blocks.━━━━━━━━━━━━━━━━━━4. MULTIPLE ACTIVE ZONES━━━━━━━━━━━━━━━━━━CNPS23 can maintain several Order Blocks simultaneously.Each zone stores:• Zone Top• Zone Bottom• Impulse Volume• Creation Bar• Direction• Used / Unused StateDefault Maximum Active Zones:15Default Maximum Zone Age:300 barsOld or invalid zones are automatically removed.━━━━━━━━━━━━━━━━━━5. ZONE INVALIDATION━━━━━━━━━━━━━━━━━━A bullish zone becomes invalid if price closes below its lower boundary.A bearish zone becomes invalid if price closes above its upper boundary.Zones are also removed after exceeding the maximum permitted age.This prevents outdated Order Blocks from remaining indefinitely active.━━━━━━━━━━━━━━━━━━6. RETEST LOGIC━━━━━━━━━━━━━━━━━━A retest occurs when the current candle overlaps an active Order Block.The strategy scans active zones from newest to oldest.Default:One Trade Per Zone: ONAfter a zone generates a trade, it is marked as used and cannot generate another trade when first-touch mode is enabled.━━━━━━━━━━━━━━━━━━7. OPTIONAL RETEST FILTERS━━━━━━━━━━━━━━━━━━CNPS23 supports additional confirmation filters.These include:• Directional candle• Rejection wick• Retest volume dry-up• EMA trend filterDefault configuration:Directional Candle: ONRejection Wick: OFFRetest Volume Filter: OFFEMA Trend Filter: OFFThis keeps the default setup relatively close to the original Order Block retest concept.━━━━━━━━━━━━━━━━━━8. LONG SETUP━━━━━━━━━━━━━━━━━━Bullish displacement→ Bullish Order Block created→ Price revisits the zone→ Zone remains structurally valid→ Bullish confirmation requirements pass→ LONG━━━━━━━━━━━━━━━━━━9. SHORT SETUP━━━━━━━━━━━━━━━━━━Bearish displacement→ Bearish Order Block created→ Price revisits the zone→ Zone remains structurally valid→ Bearish confirmation requirements pass→ SHORT━━━━━━━━━━━━━━━━━━10. RISK MANAGEMENT━━━━━━━━━━━━━━━━━━CNPS23 supports two exit modes:FIXED POINTSDefault:Stop Loss: 5 pointsTake Profit: 15 pointsZONE RRThe protective stop is placed outside the relevant Order Block with an ATR buffer.Default buffer:0.20 ATRDefault Zone Target:1.5RThis allows the user to compare fixed monetary geometry against source-style structural risk.━━━━━━━━━━━━━━━━━━11. OPTIONAL TRADE MANAGEMENT━━━━━━━━━━━━━━━━━━Break-even functionality is available but disabled by default.A time stop is also available.Default:Time Stop: OFFThese features can be enabled for research but are not required by the core Order Block logic.━━━━━━━━━━━━━━━━━━12. SESSION MANAGEMENT━━━━━━━━━━━━━━━━━━Default timezone:Asia/Ho_Chi_MinhEntry Window:09:00 – 14:30Force Close:14:45The strategy uses the current chart timeframe.━━━━━━━━━━━━━━━━━━13. BACKTEST ASSUMPTIONS━━━━━━━━━━━━━━━━━━Initial Capital: 100,000,000Position Size: 3 contractsCommission: 10,000 VND per contractSlippage: 3 ticksPyramiding: 0━━━━━━━━━━━━━━━━━━14. HOW TO EVALUATE THE STRATEGY━━━━━━━━━━━━━━━━━━Useful research variables include:• Displacement threshold• Impulse volume requirement• Full candle zone vs body-only zone• First-touch behavior• Zone lifetime• Rejection wick filter• Retest volume dry-up• EMA trend alignment• Fixed Points vs Zone RRBecause multiple zones may exist simultaneously, the number and age of active zones should also be monitored when interpreting results.━━━━━━━━━━━━━━━━━━DISCLAIMER━━━━━━━━━━━━━━━━━━This strategy is provided for educational, research and backtesting purposes only.It does not constitute financial advice.Past performance does not guarantee future results.Trading futures and leveraged financial instruments involves substantial risk. Users are solely responsible for their trading decisions and risk management.

Browse all 5,900+ TradingView Pine Script strategies

View on TradingView