samuelhei

SECURITY COMPARATION

143 1 6
Compare securities by the average difference.
Remove from Favorite Scripts Add to Favorite Scripts
//@version=2
study("SECURITY COMPARATION",overlay=true)

comp = input('GBTC', type=symbol)
maBars = input(100)

gbtc = security(comp, period, close)

dif = close/gbtc
maDif = sma(dif,maBars)

plot(gbtc*maDif, color=red)
Hi Samuel, looks interesting. Drop me a line! P
Reply
Ideas Scripts Chart
United States
United Kingdom
India
España
France
Italia
Polska
Brasil
Россия
Türkiye
Indonesia
日本
한국
Home Stock Screener Forex Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators For the WEB Widgets Stock Charting Library Priority Support Feature Request Blog & News FAQ Help & Wiki Twitter
Private Messages Chat Ideas Published Followers Following Priority Support Public Profile Profile Settings Account and Billing Sign Out