TradingView
caktasnino
Apr 21, 2021 11:55 AM

Hourly Time Separator 

Euro Fx/British PoundFXCM

描述

I made this indicator mostly for personal use but there may be few others who would like to have vertical lines occur every day in specific our on chart.
I am no developer and all I did was copy @allanster's work and delete few lines and duplicate few others. Code will be open for anyone to edit since it was not my code to start with after all. Hopefully this one helps to someone.

版本注释

Fixed issue where lines would show on each candle on smaller timeframe of selected hour by adding "Calibrate Minute" which only works on 0 and 30.
Added one more separator in red colour.

If anyone has any ideas how to add color changer and line style changer or anything else useful please, comment, message me or make code yourself.
评论
Mikehod1980
You don't understand how much this helps me. Love ya!
caktasnino
@Mikehod1980, Glad to help someone!
MagillaTrader
How did you get these colored time bars on your chart. I've been looking for that. See Here (image of your chart) prnt.sc/26fmnrd
caktasnino
@MagillaTrader, Hey, I used ICT's Killzone indicator, it will show you time bars on top and below the charts and you will have the background color, so it is distracting. I suggest turning top bars and background off in options.
hunterX1978
It is an amazing indicator. However, I found that it does not work in M1 time frame. May I know whether I have set something wrong?
caktasnino
@cmwong, Hey, for me it works in 1 minute timeframe, press on indicator, then go to settings -> visibility and make sure to check 1 minute timeframe. If you were thinking monthly timeframe, sorry this indicator is based on hours, so everything above daily won't show.
hunterX1978
@caktasnino, thank you for your reply. In M1 time frame, I noted that the indicator run properly up to the date 14/12/2021, yet it does not work on 13/12/2021 and previous time ...
caktasnino
@cmwong, yes it has it's limit which is forced by TradingView because it reduces lag. I am not 100% sure about this but I think that's the reason.
hunterX1978
@caktasnino, oic. thank you for your reply and your sharing. It is truly a nice indicator.
caktasnino
@cmwong, glad it helped you!
更多