repo32

Open Daily Line

1319 views
393
1319 0
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

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