repo32

Open Daily Line

2469 views
491
This will place circles on your chart for the opening daily price. If price is above, the circles are green. If price is below, the circles are red. I wanted to be able to see the opening price a bit easier while in smaller time frames.
Remove from Favorite Scripts Add to Favorite Scripts
// Written by Robert N.  030615
// Still looking for way to remove from previous days
study("Open Daily Line", overlay=true)

odl = input(true, title="Open Daily Line")
dopen = security(tickerid, 'D', open) 
dcolor = close < dopen ? red : green

plot(odl and dopen ? dopen :na , title="Daily",style=circles, color=dcolor, linewidth=3) 

Comments

Did you ever work out how to not show previous days? I have another indicator that does this, but its protected so I cant see the code. I wonder if the colour is just changed so its not visible?
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 Referred friends Coins My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out