I'm using TS 8.3, so I'm assuming they have all the data. I have no idea on how to check.
I noticed something weird as I was experimenting with RadarScreen. I tried to do an EMA using "XAverage( Last, 10 )". Everytime I do a verify (just change the code by adding and removing a space to get the verify option), the calculation will reset to the last price and over time, it would slow adjust to a number close to the EMA on the chart.
This is on the 1 minute and the chart displays all the data, I'm not sure why the EMA didn't calculated correctly instantly. I had it plot out the time and closing price of the previous 10 bars, but it still takes a while for it to calculate. The data is there, but it seems like the XAverage function itself only start calculation from the moment it's applied and not look at historical data. Mind-boggling.
-E
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.