Edit simple logic on Tradingview (Pinescript)

Job ID: 30937461

Budget: $10 – $30 CAD

Hello I am looking for some help in writing a simple logic for me on Pinescript on Tradingview. What I want to do is match a bunch of keys for different trading pairs. It is as follows:

1. if syminfo.basecurrency = btc, then -> key = 12345 (unique value)
if syminfo.basecurrency = ada, then -> key = 2233d (unique value)
if syminfo.basecurrency = eos, then -> key = 33212 (unique value)
.
.
. ETC
plot (key, title='key')

I hope you get the idea. I have 80 different keys for different trading pair and I want it print key = xyz (pre-defined fixed values) as I change the charts so I can upload alerts more easily
Related categories: C Programming Python Metatrader Pine Script Trading