OPEN-SOURCE SCRIPT

MM Day Trader Levels

Zaktualizowano
As an intraday trader, there are certain key levels that I care about for short-term price action on every single chart. When I first began day trading, each morning I would painstakingly mark those key levels off on the charts I planned to trade each day. Depending on the number of charts I was watching, this would take up quite a bit of my time that I felt would have been much better spent doing other things. It also meant that those levels would often be left behind, and on later days I might be trading a symbol and get confused when a line appeared and I'd be paying attention to it only to later discover that it wasn't from prior day, but from some other day in the past when I had marked it off.

I looked all over TradingView to find indicators that did this automatically for me, and I found a lot of them. One by one I tried them, and inevitably I would always find that something was wrong with them. Often they didn't have all of the levels I wanted (so I would have to combine multiple indicators), but more often I found that the levels would be incorrect, or they would be buggy and not appear consistently, or they would not appear at the right time, or they would not work on futures! The list of problems went on and on. And the biggest issue I found was that nobody knew how to get session volume profile in an indicator.

So, over the course of a few years I figured out how to solve all of those problems and now I'm thrilled to present this free indicator for everyone like me who trades intraday and wants a clean consistent way to see the prior day levels that they care about automatically on every single chart (even futures). The levels the indicator provides are:

  • Yesterday High & Low
  • Value Area High & Low & Point of Control
  • Today's Open
  • Yesterday's Close (aka "Settlement" on futures)
  • Premarket High & Low (non-futures only)
  • Overnight High & Low (futures only)


These levels are extremely important, and I expect price to be reactive to them, so each level has a shaded background behind it so that the levels stand out against other lines you may have on your chart. I try to keep configuration as simple as possible, but there are configuration options that allow you to:

  • Hide any of the levels
  • Change the color for the levels
  • Shade the value area (or not)
  • Change the label text, size, type (basic label or plain text) and location (how far to the right of last candle to place the label
  • Adjust session volume profile value area volume & number of rows


The biggest advantage to this indicator over others on TradingView is how it handles session volume profile. When it comes to futures, TradingView does differentiate between regular trading hours and "electronic" trading hours on the charts, but their timeframes for those sessions are unusual, and they do not provide any programmatic way to differentiate between them. So, I created a whole new library for dealing with futures sessions that is fully integrated into both my Session Volume Profile library and this indicator, allowing me to bring you the best and only custom indicator available on TradingView that provides you with true regular session volume profile information across every type of symbol, including futures.

I'm incredibly proud of everything I've been able to provide with this indicator, and even more thrilled to say that I'm proud of how the indicator has been implemented. Once again releasing this indicator and all associated code for free and open source. I encourage you to take a look at the source code to see how it all works, take advantage of the free underlying libraries I created to make all of this possible: Session Library and Session Volume Profile Library.
Informacje o Wersji
Some charts were not printing session.islastbar's, causing a bug where the levels from prior day would not switch over. Introduced a failsafe where it forces the day levels to switch if the day switches over.
Informacje o Wersji
TradingView recently introduced a change that caused bugs with lines and labels, making them disappear and reappear randomly. This release is a workaround for that bug so the lines and labels should remain in place consistently.
Informacje o Wersji
Fixed a bug that caused the opening print from prior day to show during premarket of the current day.
Informacje o Wersji
Updated indicator to include a fix in the SessionVolumeProfile library that caused incorrect levels to appear on low volume symbols.
Informacje o Wersji
Added alerts for breaks of prior day's range (high or low) and overnight high/low.
Informacje o Wersji
  • Fixed a bug where the prior day high/low values were incorrect when on the hourly timeframe.
  • Introduced a new level: "Half". The half-way point between yesterday's high & low.
Informacje o Wersji
Fixes a bug where the levels don't show up when the chart has extended hours off.
Informacje o Wersji
Added options to remove the shading behind the level lines. Kept the shade present for the most important daily levels: yesterday high/low and yesterday point of control.
daytraderlevelsintradayPivot points and levelspointofcontrolsessionvolumeprofilevalueareaVolume Profileyesterdayyesterdayhighyesterdaylow

Skrypt open-source

W prawdziwym duchu TradingView autor tego skryptu opublikował go jako open source, aby inwestorzy mogli go zrozumieć i zweryfikować. Pozdrowienia dla autora! Możesz go używać bezpłatnie, ale ponowne użycie tego kodu w publikacji podlega Zasadom Regulaminu. Możesz go oznaczyć jako ulubione, aby użyć go na wykresie.

Chcesz użyć tego skryptu na wykresie?


I release TradingView indicators and libraries designed to make you a better trader. For detailed info about them, head over to improve.trading
Również na:

Wyłączenie odpowiedzialności