tradercgt

Day of Week Background

Highlights the chart background of the bars in the specified days of week.
版本注释: docs(): add TV and source links
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,因此交易者可以理解和验证它。为作者加油! 您可以免费使用它,但是在发布中重复使用此代码受网站规则的约束。您可以收藏它以在图表上使用。

想在图表上使用此脚本?

评论

UPDATE: this script is NOT open source because I, although an author, do not have copyright of it and cannot license it. This script is exclusive property of TradingView. More info here: https://getsatisfaction.com/tradingview/topics/license-of-published-pinescripts-and-indicators
+2 回复
If I want to paint the third Friday of the month for option expirations, how should I do? every 21 days
Regards
+1 回复
@Aporio, not possible yet with the current version of the indicator.
回复
Aporio tradercgt
@tradercgt,
WITH VERSION 4 IS NOT POSSIBLE ?. IF YOU TELL THE DAYS OF THE MONTH INSTEAD OF THE DAYS OF THE WEEK CANNOT BE DONE?
regards
回复
@Aporio, I said "not possible yet with the current version of the indicator.". Of course it is possible to code.
回复
Aporio tradercgt
@tradercgt,
And would you be kind enough to explain to me on the basis of this v.3.0 how should I do it? or if you make the code it would be incredible !!!
Greetings
Luis
回复
@Aporio, sorry other prios currently. If pinescript does not offer such function (most probably), you will have to implement it somehow: e.g. go back in history and check if the month has changed, and track the number of the desired day for the current month.
回复
Aporio69 tradercgt
@tradercgt, in other language ,prorealcode, I had this code

if (DayOfWeek = 5) AND (Day >= 15) AND (Day <= 21) then

drawvline(barindex) coloured(200,200,200)

endif
回复
Can you do this for each month... it would be great to paint every other month to see time better... thanks for sharing
回复
首页 股票筛选器 外汇筛选器 加密货币筛选器 财经日历 关于 图表功能 价格 推荐朋友 网站规则 帮助中心 网站 & 经纪商解决方案 插件 图表解决方案 轻量图表库 博客 & 新闻 Twitter