I have created a Custom data using Phyton for my requirements so that i can backtest using some more parameters apart from the regular (OHLCV, OI etc). Basically my data has 11 Columns like below:
But On Bar by bar basis there are ONLY 9 fields in Amibroker as below:
Date/Time, Open, High, Low, Close, Volume, OpenInt, Aux1 and Aux2
So i changed my custom data feed into 9 columns by clubbing the last three fields with | seperator. So the new data feed look like below:
My idea was to put the last variable into Aux2 and then split the string with StrExtract
But in the AFL code when i use the below code to split it says "the 1st argument is expected to be string, but found and array"
StrExtract( Aux2, 0, '|' );
Is there any other way to split the Aux2 Variable?