Madrid

Circles

258 0 19
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)

EN English
EN English (UK)
EN English (IN)
DE Deutsch
FR Français
ES Español
IT Italiano
PL Polski
SV Svenska
TR Türkçe
RU Русский
PT Português
ID Bahasa Indonesia
MS Bahasa Melayu
TH ภาษาไทย
VI Tiếng Việt
JA 日本語
KO 한국어
ZH 简体中文
ZH 繁體中文
AR العربية
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 Feature Request Blog & News FAQ Help & Wiki Twitter
Profile Profile Settings Account and Billing My Support Tickets Contact Support Ideas Published Followers Following Private Messages Chat Sign Out