repo32

Column Up or Down

This is the same as my background up/down except it displays a column to show if the stock is above or below the previous day close.
When looking at numerous charts, you can instantly see if they are up or down for the day. For me, I like to be going long on the stocks that are already moving up and short on the ones that are moving down. When using lower time frames, you can lose perspective of where it is on the daily chart .
Von Favorisierten Skripten entfernen Zu Favorisierten Skripten hinzufügen
//Created by Robert Nance 11/19/15
//This script simply colors the background when price is above or below the previous day close.
//Works nice for seeing if the stock is up or down for the day.
study(shorttitle="UP/DN", title="Column Up or Down", overlay=false)

cdl = input(true, title="Previous Daily Closing")
dclose = security(tickerid, 'D', close[1]) 
positive = close > dclose 
negative = close < dclose 
plot(positive, style=columns, color=lime)
plot(negative, style=columns, color=red)
good addition, nice tool.


...and it I may, traders can make a heatmap by amending the script. Since you already have the Daily posted, Weekly and Monthly columns can be added to make the MTF heatmap. For non-coders, its quite simple, change the "D" on lines 7,8 and 9 to "W", "w" and "w" respectively. Save it, amend the title to "Column Up or Down, Weekly". Then you will have your weekly columns. Do the same for a monthly column, presto, MTF heatmap.

Thanks for sharing and the addition to the library repo32!

Antworten
repo32 coondawg71
Nice! Thank you for the improvement. I am a short term trader, so I forget about all the longer term folks.
Antworten
Startseite Aktien-Screener Forex-Screener Krypto-Screener Wirtschaftskalender Shows So funktioniert es! Chartmerkmale Preise Hausregeln Moderatoren Webseite & Brokerlösungen Widgets Charting Lösungen Lightweight Charting Library Hilfe Center Einen Freund empfehlen Feature-Anfrage Blog & News FAQ - Häufige Fragen & Antworten Wiki Twitter
Profil Profileinstellungen Konto und Abrechnung Einen Freund empfehlen Meine Support Tickets Hilfe Center Veröffentlichte Ideen Followers Ich folge Private Nachrichten Chat Abmelden