TradingView
inversionflow
28 ינו׳ 2023 09:44

RS: Market Profile 

E-mini S&P 500 FuturesCME

תיאור

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)



הערות שחרור

Removed unused text size options.

הערות שחרור

Remove unused attribute.

הערות שחרור

Cleanup unused code.

הערות שחרור

Touchup

הערות שחרור

Update chart

הערות שחרור

Make sure the script works on free accounts.

הערות שחרור

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


הערות שחרור

Fix house rules violation

הערות שחרור

Update the chart

הערות שחרור

Bugfix: terminate extension lines even for 24h sessions

הערות שחרור

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



הערות שחרור

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

הערות שחרור

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

E.g.

הערות שחרור

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

הערות שחרור

Add background for fixed range

הערות שחרור

Improve closing price marking in A-Za-z profiles

הערות שחרור

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

הערות שחרור

Use all or nothing for VP

הערות שחרור

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)


הערות שחרור

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

הערות שחרור

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).
תגובות
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.
עוד