czoa

Previous OHLC

czoa Aktualisiert   
The scripts places horizontal levels on your charts indicating the previous Daily, Weekly or Monthly OHLC values over the current timeframe.

Slightly modified version of Nanda86's "Previous OHLC" script. I corrected a couple of bugs and added more control over colors and labels in general. I also removed the hourly OHLCs.
Versionshinweise:
Corrected an error that showed open prices for current day, week or month instead of those of the day, week or month prior. It only affected OPEN prices.
Versionshinweise:
Indicator working on non time-based timeframes now and showing labels by default.
Versionshinweise:
Completely rewritten the script and now it uses lines instead of plots to display its information.
Now you can control in how many days, weeks and months back you want to display their previous OHLC levels, in order not to clutter your chart with too many lines and very old levels. You can also choose how much you want to extend these level lines to the right of the last bar and place (or not) their corresponding label at the end, so that the labels are not too close to it.
Also, labels are now fancier.
Versionshinweise:
Corrected a couple of minor bugs
Versionshinweise:
Correction minor bug preventing to load weekly or monthly levels if the chart resolution is very high. Added modification of old level's end point to current time when creating a new one to compensate for the extension to the right.
NOTE: level extension and label placement a few bars to the right of last bar may behave unpredictably in not time-based charts, because of TradingView limitations. Use 0 or 1 values for extensions.
Versionshinweise:
-Substituted lines for regular Tradingview plots
- Improved general performance
- Added plots for OHLC and MID levels for current day, week and month, besides last day, week and month.
- Added optional informative labels and optional price display
- Added daily, weekly and monthly MID levels
- You can set plot styles to lines and these will display as dashes (no steplines between levels when these change, which was very annoying and the reason why I initially opted to use lines)
Versionshinweise:
OHLC values for current day, week or month will now only be plotted for today, this week or this month.
Tracking price lines are now optional.

PolloLoco Trader
Follow me on YouTube: www.youtube.com/channel/UCOyirS9cpfhDoh4ktRBJH8g
Open-source Skript

Ganz im Spirit von TradingView hat der Autor dieses Skripts es als Open-Source veröffentlicht, damit Trader es besser verstehen und überprüfen können. Herzlichen Glückwunsch an den Autor! Sie können es kostenlos verwenden, aber die Wiederverwendung dieses Codes in einer Veröffentlichung unterliegt den Hausregeln. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.

Möchten Sie dieses Skript auf einem Chart verwenden?