konstantin.novik

USDRUB Budget Line

36 0 3
This indicator plots an estimated level of USDRUB             rate according to the oil             price in rubles to balance the budget. The indicator works at arbitrary timescales. You can change the estimated oil             price level in rubles (default value is 3150 rubles/bbl) and the ticker for the oil             .
Remove from Favorite Scripts Add to Favorite Scripts
//@version=2
study(title = "USDRUB Budget Line", shorttitle = "BUDL", overlay = true, precision = 4)
oilLevel = input(title = "RUB Oil Level", type = float, defval = 3150.0, minval = 1.0, step = 1.0)
oilTicker = input(title = "Ticker for Oil", type = string, defval = "UKOIL")
rubLevel = security(oilTicker, period, oilLevel/close)
plot(rubLevel)
United States
United Kingdom
India
Deutschland
España
France
Italia
Polska
Brasil
Россия
Türkiye
Indonesia
Malaysia
日本
한국
中国
Home Stock Screener Forex 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