czoa

Previous OHLC

czoa Mis à jour   
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.
Notes de version:
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.
Notes de version:
Indicator working on non time-based timeframes now and showing labels by default.
Notes de version:
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.
Notes de version:
Corrected a couple of minor bugs
Notes de version:
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.
Notes de version:
-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)
Notes de version:
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
Script open-source

Dans le véritable esprit de TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?