Now I want to access the string series created by that indicator in a second indicator that does not use multi time frames.
Indicator1 myOtherIndicator = Indicator1(p1,p2,p3);
string myColor = myOtherIndicator.BColor[0]; //BColor is the string series, R or G
if (myColor == "G") BackColor = Color.FromArgb(255,0,64,0);
if (myColor == "R") BackColor = Color.FromArgb(255,64,0,0);
This code accesses the other indicator, but the strings returned are all wrong.
Do I need to add the other time frame to this indicator? Do I need to pass extra parameters/BarsArrays or something to myOtherIndicator?
Any help would be appreciated.
Comment