SBD steempeg v0.1

A simple indicator to show the current USD value of a Steem Backed Dollar , based on the POLONIEX:SBDBTC and BITFINEX:BTCUSD prices .
Plot lines are marked at $1 , $0.90 , $0.80 and plot line color changes depending on its current price for a quick visual reference.

If you appreciate this please show some love to !
Remove from Favorite Scripts Add to Favorite Scripts
// SBD steempeg indicator by @ausbitbank
// Work in progress v0.1   (@version on line1 is to enable pinescript if statements .. TIL)
study(title = "SBD steempeg v0.1", shorttitle = "SBD steempeg indicator")
polosbdbtc = security("POLONIEX:SBDBTC",period, close)
bitfinexbtcusd = security("BITFINEX:BTCUSD",period, close)
polosteembtc = security("POLONIEX:STEEMBTC",period,close)
polosbdpeg = (polosbdbtc*bitfinexbtcusd)
plotcolor = if polosbdpeg<1
    if polosbdpeg<0.9
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