In State.DataLoaded where you’re defining your Series, you need to define them in such a way that they line up with the appropriate data series. The way you have them, they are all lined up with the primary series (ie; price bars).
BarsArray[0] is price bars.
BarsArray[1] is your 240 min series
BarsArray[2] is your 15 min series
Therefore, if you want your Bias240min series to line up with your 240 min data series, you’ll need to define it as follows:
Bias240min = new Series(SMA(BarsArray[1],1),MaximumBarsLookBack.Infinite);
Bias15min = new Series(SMA(BarsArray[2],1),MaximumBarsLookBack.Infinite);
This will make the two series line up with their corresponding data series.
Hope this helps.