tradercgt

Day of Week Background

Highlights the chart background of the bars in the specified days of week.
Versionshinweise: docs(): add TV and source links
Open-source Skript

Ganz im Sinne von TradingView hat der Autor dieses Skripts es als Open-Source veröffentlicht, damit Trader es verstehen und überprüfen können. Ein Hoch auf den Autor! Sie können es kostenlos verwenden, aber die Wiederverwendung dieses Codes in einer Publikation unterliegt den Hausregeln. Sie können das Skript den Favoriten hinzufügen, um es auf dem Chart zu verwenden.

Möchten Sie dieses Skript auf einem Chart verwenden?

Kommentare

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 Antworten
If I want to paint the third Friday of the month for option expirations, how should I do? every 21 days
Regards
+1 Antworten
@Aporio, not possible yet with the current version of the indicator.
Antworten
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
Antworten
@Aporio, I said "not possible yet with the current version of the indicator.". Of course it is possible to code.
Antworten
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
Antworten
@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.
Antworten
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
Antworten
Can you do this for each month... it would be great to paint every other month to see time better... thanks for sharing
Antworten
Startseite Aktien-Screener Forex-Screener Krypto-Screener Wirtschaftskalender Über Chartmerkmale Preise Einen Freund empfehlen Hausregeln Hilfe Center Webseite & Brokerlösungen Widgets Charting Lösungen Lightweight Charting Library Blog & News Twitter
Profil Profileinstellungen Konto und Abrechnung Angeworbene Freunde Coins Meine Support Tickets Hilfe Center Private Nachrichten Chat Abmelden