TradingView
inversionflow
28. Jan. 2023 09:44

RS: Market Profile 

E-mini S&P 500 FuturesCME

Beschreibung

A Market Profile (time price opportunity) implementation with an option to mark a point of control (POC) based on volume.

Config: Hide default candles. Select a session time using exchange timezone. Experiment with tick multiplier value to achieve desired level of detail. Choose the symbols of your choice, e.g. squares or A-Z chars. For multiple sessions you will have to add additional instances of this script with a different time configuration.

Limitations: TradingView has a hard limit for the number of characters (500), if it's reached, label rendering stops. Try increasing tick multiplier value to reduce the number of labels rendered or reduce the window size.

Features:
  • Use symbols or A-Z chars for TPOs
  • Mark POC
  • Calculate Value Area (volume or time based)
  • Highlight single prints (SP)
  • Highlight VWAP
  • Show daily bar
  • Highlight Open and Close
  • Highlight current price row (during live market)
  • Highlight initial balance (IB)



Versionshinweise

Removed unused text size options.

Versionshinweise

Remove unused attribute.

Versionshinweise

Cleanup unused code.

Versionshinweise

Touchup

Versionshinweise

Update chart

Versionshinweise

Make sure the script works on free accounts.

Versionshinweise

  • Extend VAH/VAL and POC lines (disabled by default)
  • Mark period opening price, either use case swap or '0' character (disabled by default)


Versionshinweise

Fix house rules violation

Versionshinweise

Update the chart

Versionshinweise

Bugfix: terminate extension lines even for 24h sessions

Versionshinweise

  • Introduce weekly and monthly profiles
  • Add value area percentage input



Versionshinweise

  • Add option to split the profile (available only if A-Za-z rendering is selected)

Versionshinweise

Introduce a "Fixed" range timeframe (arbitrary start/end date profile)

E.g.

Versionshinweise

Add option to show volume numbers in "Fixed" market profile mode

Versionshinweise

Add background for fixed range

Versionshinweise

Improve closing price marking in A-Za-z profiles

Versionshinweise

  • Add high/low extension lines (hidden by default)
  • Simplify lower TF logic (volume)

Versionshinweise

Use all or nothing for VP

Versionshinweise

Allow to show midpoint extension line (hidden by default).

Midpoint calculation algorithm can be either:
  • High/Low based (midpoint)
  • TPOs count based (similar count on both sides)


Versionshinweise

Add an option to choose the time settings in a specific timezone (defaults to exchange timezone).

Versionshinweise

Add possibility to render intraday profiles.
To use this feature, select Timeframe -> Intraday. Set desired Profile length in minutes value, the default is 60 (1 hour).
Kommentare
Blackthorn
Absolutely fire update! Thank you thank you. What are the chances of getting the split profile view? (I'm not sure if that's even possible?)
inversionflow
@Blackthorn, thank you! Answering here for the second time, it seems that my first answer got moderated for some reason. The short version - it's kind of possible, but not in a natural/optimal way. I may try it in the future.
Blackthorn
@RunStrat, completely understand. There are a couple of TPO indicators that do allow splitting profiles on here, but... most TPO indictors don't really work or kick back a zillion errors. Maybe rather than being able to split the profile, maybe it's just a separate indicator that can also be added to the chart that shows the profile split out? I guess the only other thing would be the option to construct profiles for longer timeframes - like weekly and monthly. But again, all around, awesome job and thank you.
akutsusho
It's better than Trading View Official TPO indicator...
Single print feature is great.
DanielLeung
Great indicator. I can now use it to analyze any market since the indicator can manually adjust the trading hour to fix all markets.
Blackthorn
These updates are unreal! Really appreciate the work.
inversionflow
🙏
Blackthorn
Incredible work. Are there any plans to have options for drawing VAH, VAL and POC lines on the chart (extended until intercepted by price)?
inversionflow
@Blackthorn, thank you! Yes, I had plans to add extension lines in the future.
Mehr