Multi-Timeframe OHLC Levels indiicator (Daily, Weekly, Monthly)

As a trader, I want to see where the previous week's high and low are while looking at a 5-minute chart, so I can anticipate price reactions at those levels. I want to be able to turn off the monthly levels when they aren't relevant to my current trade setup.

Objective

​Create a visual indicator that automatically plots horizontal levels for the Open, High, Low, and Close (OHLC) of the previous Day, Week, and Month. This tool is designed to help traders identify key historical liquidity zones and pivot points at a glance.

Core Functionality

​The indicator should calculate and draw horizontal lines based on the previous period's data across three specific timeframes:

  1. Daily: Previous Day’s OHLC.

  2. Weekly: Previous Week’s OHLC.

  3. Monthly: Previous Month’s OHLC.

Key Technical Requirements

  • Line Configuration: For each timeframe selected, the indicator must display four distinct horizontal lines:

    • ​Previous Open (PO)

    • ​Previous High (PH)

    • ​Previous Low (PL)

    • ​Previous Close (PC)

  • Data Accuracy: The levels must remain static throughout the current session, strictly referencing the completed candle data of the previous period.

Please authenticate to join the conversation.

Upvoters
Status

Backlog

Board
💡

Feature Ideas

Tags

Vote for your feature

Date

29 days ago

Author

AMIT KUMAR

Subscribe to post

Get notified by email when there are changes.