tradercgt

Day of Week Background

Highlights the chart background of the bars in the specified days of week.
Release Notes: docs(): add TV and source links
Remove from Favorite Scripts Add to Favorite Scripts

Comments

Can you do this for each month... it would be great to paint every other month to see time better... thanks for sharing
Reply
If I want to paint the third Friday of the month for option expirations, how should I do? every 21 days
Regards
Reply
@Aporio, not possible yet with the current version of the indicator.
Reply
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
Reply
@Aporio, I said "not possible yet with the current version of the indicator.". Of course it is possible to code.
Reply
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
Reply
@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.
Reply
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
Reply
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
+1 Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Refer a friend My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out