Multi-Timeframe Volumized Order Blocks

478
Input Parameters for Timeframe Selection:

We will add user inputs so you can easily choose which higher timeframe you want to pull the order blocks from (e.g., D for Daily, 240 for 4-Hour, 60 for 1-Hour) directly from the indicator settings menu.

Higher Timeframe Data Fetching (request.security):

We will use TradingView’s request.security function to look at the higher timeframe's Open, High, Low, Close, and Volume data safely without repainting errors (using lookahead or barmerge options appropriately).

Order Block Identification Logic:

Bullish Order Block: The last down-candle (where Close < Open) right before a strong impulsive upward move that breaks a local structure.

Bearish Order Block: The last up-candle (where Close > Open) right before a strong downward impulsive move.

Volume Weighting & Filtering:

Much like professional indicators, we will calculate the volume transacted during that specific candle block relative to recent average volume, and only display or highlight blocks that meet a minimum volume threshold.

Box/Zone Plotting:

Instead of just plotting lines, we will use TradingView's box.new() drawing functions to extend the order block zones forward across your current lower-timeframe chart until price mitigates or breaks through them.

Aviso legal

As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.