konstantin.novik

Oil Price in RUB

206 views
12
206 0
Oil price in rubles. Tickers for oil and ruble could be changed manually.
Remove from Favorite Scripts Add to Favorite Scripts
//@version=2
study(title = "Oil Price in RUB", shorttitle = "RUBOIL", overlay = true, precision = 0, scale = scale.none)
rubTicker = input(title = "Ticker for RUB", type = string, defval = "USDRUB_TOM")
oilTicker = input(title = "Ticker for Oil", type = string, defval = "UKOIL")
rubQuotes = security(rubTicker, period, close)
oilQuotes = security(oilTicker, period, close)
plot(rubQuotes * oilQuotes)
Home Stock Screener Forex Screener Crypto Screener Economic Calendar Shows How It Works Chart Features Pricing House Rules Moderators Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Help Center Refer a friend Feature Request Blog & News FAQ Wiki Twitter
Profile Profile Settings Account and Billing Refer a friend My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out