Hello:
I would like some assistance parsing a string . The following code:
barTypeName = Bars.BarsType.Period.ToString();
returns
SiBTRenko B:12 T:1 R:17
Can someone please help with the code to extract the values of "B:" and "R:" above and covert them to an integer,
or,
if they can be directly acquired from the Bars object or class, whatever it is, (also as integers) that would be fine too.
Please help.
Thanks!
I didn't find the right solution from the Internet.
References:
https://ninjatrader.com/support/forum/showthread.php?t=105985Pharmaceutical Advertising Example