sbtnc

Previous Day Week Highs & Lows

This script plots the previous n day and week highs and lows (previous two days and previous week by default).

Here are some additional info about the script behavior:
  • Plots highs and/or lows
  • Plots for days and/or weeks
  • Day highs and lows are shown only on intraday timeframes
  • Week highs and lows are shown only on timeframes < weekly
Catatan Rilis:
  • Add previous month(s) high(s) and low(s)
  • Minor fixes and improvements
Skrip open-source

Sejalan dengan semangat TradingView, penulis skrip ini telah mempublikasikannya secara open-source, sehingga para trader dapat memahami dan memverifikasinya. Salut untuk sang penulis! Anda dapat menggunakannya secara gratis, tetapi penggunaan kembali kode ini dalam publikasi diatur oleh Tata Tertib. Anda dapat memfavoritkannya untuk dapat menggunakannya didalam sebuah chart.

Inggin menggunakan skrip ini pada chart?
I have private indicators too!

Get access to them via: https://www.patreon.com/sbtnc

Komentar

Hello, I am using Heikinashi hourly chart for trading. Take previous day's highest close/open in hourly chart as support/ resistance. Can you please explain how I can draw the line?
+1 Jawab
sbtnc thajudeenkm
Okay @thajudeenkm, please check your PM!
+1 Jawab
Looks like a nice script, however, there is an issue with it. For e-mini sp500 it calculates previous day high and low starting from the evening session 18:00 EST which is wrong. The session for e-mini starts at 9:30 AM ends at 5 PM and reopens at 6 PM for the night. And starts again at 9:30 AM the next day. Hope that you can fix it. Thank you.
Jawab
sbtnc Intuitive_Trader
@Intuitive_Trader, The script uses the session defined by a specific instrument that you can find in “Symbol Info” (in your case, it’s likely to be 17:00-16:00 Chicago time).
So, the start time is the same as any candles from the daily timeframe and it’s intended to be like this.
Jawab
Thanks for adding the previous month high and low!
Jawab
sbtnc Madcaptains
@Madcaptains, It was a nice addition to the script!
Jawab
Loving the script. Is there possible a way that I can have the line start and end at a different time?
Jawab
sbtnc romellegr
@romellegr, While it is possible, it is a feature I would save for a new indicator.
Jawab
When I use the price line feature, the day lines show today's high and lows and not the previous day high low. Is this correct? The same happens with weekly levels, when I activate the price line feature, it shows the current week high and lows, not the high and lows of the previous week. The regular levels are good, it is only the price line that is showing the current information. Is this how the indicator is supposed to work?
Jawab
sbtnc gabx11
@gabx11, Thanks for raising this issue. It's definitely something to improve and so I will bring a bugfix within next release ;)
Jawab