paaax

[PX] M/W/D Level

Hey guys,

this script shows monthly, weekly and daily OHLC data represented as horizontal level.

I tried to make it as user-friendly as possible. Therefore, you can add different colors and styles for each level, as well as turn them on and off.
With the "Label Offset"-parameter you are in control where the label text should appear. You can shift it from left to right and vice-versa. To shift it to the left choose a negative value. To shift it to the right use a positive one .

This best setting for me personally is the "Candle Selection"-dropdown. This allows you to decide wether you want to show the previous candles OHLC-data or the current live OHLC-data.

!!CAUTION!! If you use the "Current Month/Week/Day"-selection be aware that values shown are "live"-data of the current candle. Therefore, values will change the same way your chart keeps changing on live data.
The "Previous Month/Week/Day"-selection on the other hand is historical data and therefore only changes once we reached a new month/week/day.

If you like my work, consider leaving a like :)

Happy trading!
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?
http://www.pascal-simon.de - Custom indicator development

Kommentarer

Just what I was looking for
100 coins
Svara
Thank you man, very useful tool. Dropping @cryptocred nice read about it. https://medium.com/@cryptocreddy/using-previous-days-high-low-for-intraday-bias-798fbd7d9509
+1 Svara
Hey man, great work really. The weekly lines are not showing on M15, is this by design? Also is it possible to see the labels at the price scale rather than with an offset function? Thanks in advance
Svara
Great work. I have a suggestion like adding optional settings for showing open-close prices high-low prices as pairs.
Svara
Is it the same day price? Is it the previous day's price? (about daily open, close, low, high)
Svara
Amazing!
Help me out as to how did you position the words in center and not towards the scale?
My code
plot(sd7 and D_High ? D_High : na, title="PDH",style=circles, color=yellow,linewidth=3, trackprice=true)
Svara
paaax paidlukkha
@paidlukkha, thank you. Use a label with an offset.
Svara
@paaax, can you help me with this on my code?
Svara
Nice work. Can you help me develop a script?
Svara
Hem Aktie-screener Forex-screener Krypto-screener Ekonomisk kalender Om Diagramfunktioner Priser Tipsa en vän Ordningsregler Hjälpcenter Webbsidor och mäklarlösningar Widgets Diagramlösningar Lightweight Charting Library Blogg och nyheter Twitter
Profil Profilinställningar Konto och fakturering Hänvisade vänner Mynt Mina kölappar Hjälpcenter Privata meddelanden Chatt Logga ut