Madrid

Circles

209 0 13
This displays the closing price colored according to the closing direction. This study is a different and versatile way to present the bars, it can show only the closing level, just the opening price, the full bar range or any combination of these three elements.
Remove from Favorite Scripts Add to Favorite Scripts
// Hector R. Madrid : 31/Mar/2015 : 1.0 : Colored Circles
// This displays the closing price colored according to 
// the closing direction
// This study is a different and versatile way to present the bars,  it
// can show only the closing level, just the openning price,
// the full bar range or any combination of these three elements.

study("Circles", overlay=true)
dispOpen=input(true)
dispClose=input(true)
dispRange=input(true)

// Output
circleColor = close>open?aqua:fuchsia
plot(dispOpen?open:na, color=circleColor, style=circles, linewidth=2)
plot(dispClose?close:na, color=circleColor, style=circles, linewidth=2)
//plot(dispHigh?high:na, color=circleColor, style=circles, linewidth=1)
//plot(dispLow?low:na, color=circleColor, style=circles, linewidth=1)

step=(high-low)/12
plot(dispRange?low:na, style=circles, color= circleColor)
plot(dispRange?low+step:na, style=circles, color= circleColor)
plot(dispRange?low+step*2:na, style=circles, color= circleColor)
plot(dispRange?low+step*3:na, style=circles, color= circleColor)
plot(dispRange?low+step*4:na, style=circles, color= circleColor)
plot(dispRange?low+step*5:na, style=circles, color= circleColor)
plot(dispRange?low+step*6:na, style=circles, color= circleColor)
plot(dispRange?low+step*7:na, style=circles, color= circleColor)
plot(dispRange?low+step*8:na, style=circles, color= circleColor)
plot(dispRange?low+step*9:na, style=circles, color= circleColor)
plot(dispRange?low+step*10:na, style=circles, color= circleColor)
plot(dispRange?low+step*11:na, style=circles, color= circleColor)
plot(dispRange?high:na, style=circles, color= circleColor)

United States
United Kingdom
India
Deutschland
España
France
Italia
Polska
Brasil
Россия
Türkiye
Indonesia
Malaysia
日本
한국
简体
繁體
Home Stock Screener Forex Signal Finder Cryptocurrency Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators Website & Broker Solutions Widgets Stock Charting Library Priority Support Feature Request Blog & News FAQ Help & Wiki Twitter
Profile Profile Settings Account and Billing Priority Support Ideas Published Followers Following Private Messages Chat Sign Out