|
How to get the barSize and pair's name
In my indicator, I try to get the instance's barSize i.e. H1, D1, m5 etc. I used bar_stream.barSize(). But it doesn't work, nil value.
What code should I use ? Maybe something like source.bar_stream.barSize().
How can I get pair's name, i.e. EUR/USD, GBP/USD
Thanks
|