TradingView
czoa
2021年1月31日午後3時28分

Previous OHLC 

Euro Fx/U.S. DollarFXCM

詳細

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.

リリースノート

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.

リリースノート

Indicator working on non time-based timeframes now and showing labels by default.

リリースノート

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.

リリースノート

Corrected a couple of minor bugs

リリースノート

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.

リリースノート

-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)

リリースノート

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.
コメント
TraderRahul007
AMAZING SCRIPT!
czoa
@TraderRahul007, Thanks for your donation! Glad you liked it!
Erpi
This indicator is brilliant ! Well done and thank you ! However, is it normal that Weekly and Monthly lines are not drawn on a 15mn chart and below ? The labels do appear, but the lines are missing… It also fails to display lines on 1mn and 3mn chart… How could I solve this issue ?
Erpi
@Erpi, Actually I solve the problem. I just have to load more bars on my chart. Simple as that !
czoa
@Erpi, yes, that is exactly the way to do it. The indicator cannot load bars that are not already present in the chart, so that is something you have to take into account. Thanks
mjmassens
hello. This is a great indicator! Is there a way to remove the lines from previous days so it only shows yesterday's OHLC? Less clutter that way.
mahendran_m2u
Great indicator, Can you advise as how we can get OHLC For the last final 60 minutes of the previous day?
td_910
Hi,
what about calculating the values for the RTH session of a futures contrct?
It seems to use the ETH values.
czoa
@td_910, hi, you have my "Yesterday's RTH&ON sessions OHLCs" indicator for that, check it out!
詳細