So now I developed Ron Black's Swing Line indicator in the multiple time frame form. The idea is that if the price bar is making higher lows it is up, and lower highers down, others are noise. It works as expected. And I used a dataseries "mytrend" to denote the trends: mytrend[0]==1 is up, mytrend[0]==-1 is down, mytrend[0]==0 is noise. It plots properly. But when I access the Mytrend series from another indicator. It gives all mytrend[0]==0.
Don't know why is this happening. I checked the exposure part in the code :
[Browsable(false)] [XmlIgnore] public Series<double> Mytrend { get { return mytrend; } }
Comment