Plumptoiletduck

Custom Time ranges



Description:
This script colours the background of any time range you specify, including weekend periods.

It can be useful for spotting patterns on Bitcoin (recurring times of buying or selling).

Checkboxes to switch on and off. Inputs to specify time and day of week.


Monday = 2
Tuesday = 3
Wednesday = 4
Thursday = 5
Friday = 6
Saturday = 7
Sunday = 1


Example 1:

1500-1800:2

This will colour the background between 3pm and 6pm on Mondays.


Example 2:


0000-0600:247

This will colour the background between midnight and 6am on Mondays, Wednesdays, and Saturdays.


Any questions you may have, please leave in comments below and I'll respond when I have time.
從常用腳本中移除 新增至常用腳本

評論

Hi, can you add the color the only highlight the range's High and Low for the desired timeslot?
回覆
@dealerdon, That was my initial intention when I started this, unfortunately it is not possible due to Pinescript limitations. If you ever come across someone who has managed to plot highs and lows of a customised time series, please let me know.
回覆
Since It isn't possible to include price levels within the custom defined range, I added Daily price levels to this here:
回覆
Hi awesome script i have been looking for this from a long time, have you got time to wor on to plot the time range high and low
回覆
@JohnSmith8f, Thanks.

I've actually had another crack at getting the highs/lows in the past week, I hit another dead end unfortunately.There must be a reason nobody else has managed it yet! I'll check out pinescript V4 and see if there is anything in there that might help.
回覆
Hi Duck! Maybe V2 it will be possible to apply the script to Daily charts and other timeframes? It would also be nice to be able to background specific recurrent events/periods in time! Thanks for your work!
回覆
Awesome script ! Does it able to plot the time range high and low?
回覆
Plumptoiletduck UnknownUnicorn426081
@UnknownUnicorn426081, Thanks!

That's an interesting idea. I'll work on adding session high and low points when i have time.
回覆
UnknownUnicorn426081 Plumptoiletduck
@Plumptoiletduck, great!
Keep me updated.
回覆
Very nice script, thanks for your efforts and generous =D
回覆
首頁 股票篩選器 外匯篩選器 加密貨幣篩選器 全球財經日曆 如何運作 圖表功能 價格 推薦朋友 網站規則 幫助中心 網站 & 經紀商解決方案 小工具 圖表解決方案 輕量圖表庫 部落格 & 新聞 推特
概覽 個人資料設定 賬戶和賬單 推薦朋友 我的客服工單 幫助中心 發表的想法 粉絲 正在關注 私人訊息 在線聊天 登出