In Pine script, is there a way of extracting the values of the base and quote currency from forex pairs pls?
what i mean is, using AUDCAD as an example, is there a way of finding the value of AUD and that of CAD pls?
Thanks in advance
In Pine script, is there a way of extracting the values of the base and quote currency from forex pairs pls?
what i mean is, using AUDCAD as an example, is there a way of finding the value of AUD and that of CAD pls?
Thanks in advance
You will find these in the reference document.
syminfo.basecurrency for example
https://www.tradingview.com/pine-script-reference/v5/#var_syminfo{dot}basecurrency