Ely
I am using TS 8.3 and a tradestation feed and have no problems with any of Glenn/Iraj's code. The only difference between your screenshots and my settings are that I have Update value intrabar ticked on the format indicator for the Iraj N minute change. You did not include a copy of your format indicator settings for the MISC function that contains the Nmin Comp, but again I have the Update value intrabar ticked.
With regard to the question on XAverage, I think there are 2 things to consider. First you are using the "Last" price which is the price of the last completed trade, whereas you will plotting the "Close" price on the chart, which is the closing price of the bar for the specified bar interval.
However I think the real issue is highlighted in these help notes from Easylanguage
"Historical calculations for RadarScreen (Quotes) and OptionStation indicators are performed by loading only the minimum number of bars required. Accumulation or smoothing type indicators such as the Moving Average Exponential Indicator build values based upon the values of previous indicators. Unless you add additional bars of data, the values for these indicators may differ slightly in RadarScreen and OptionStation from those for the same indicator in Chart Analysis.
To ensure that the values of these indicators are consistent between RadarScreen, OptionStation, and Chart Analysis, you can load additional bars of data. To do this, you need to enable the Load additional data for accumulative calculations option on the Format Indicator - General tab. You can then specify the number of additional bars to load so RadarScreen and OptionStation will perform the necessary "bring forward" calculations. The values for these indicators will then match those in Chart Analysis. See Maximum Number of Bars Study Will Reference for more information about historical bar references"
Thus I think you might resolve your issues if you go to the format indicator for your xaverage indicator within radarscreen and set the "Load additional data for accumulative calculations" to at least 10. This will ensure that when it starts calculating afresh it has all the data it requires immediately.
Charlton
Historical calculations for RadarScreen (Quotes) and OptionStation indicators are performed by loading only the minimum number of bars required. Accumulation or smoothing type indicators such as the Moving Average Exponential Indicator build values based upon the values of previous indicators. Unless you add additional bars of data, the values for these indicators may differ slightly in RadarScreen and OptionStation from those for the same indicator in Chart Analysis.
To ensure that the values of these indicators are consistent between RadarScreen, OptionStation, and Chart Analysis, you can load additional bars of data. To do this, you need to enable the Load additional data for accumulative calculations option on the Format Indicator - General tab. You can then specify the number of additional bars to load so RadarScreen and OptionStation will perform the necessary "bring forward" calculations. The values for these indicators will then match those in Chart Analysis. See Maximum Number of Bars Study Will Reference for more information about historical bar references.