Version: ProSuite 2000i SP5 on Windows 2000 SP4
I have developed an indicator that involves counting the number of bars on a chart. It works absolutely fine when applied to a chart and to a Radarscreen grid for daily data. However, when I try it on weekly data the number of bars reported for a chart is about 3% more than for the identical symbol in a RS grid. For example, NOK had 175 bars on the chart but only 166 bars in RS for exactly the same time period.
I am familiar with some of the subtleties of the MaxBarsBack and Load Additional Bars settings and the results occur independently of these settings. I'm also aware that because of the way Radarscreen processes historical differently to charting, that Radarscreen typically starts its analysis one bar before charting does (assuming the Load Additional Bars setting is set high enough). In the example below a large Load Additional Bars setting was chosen so that Radarscreen could process the entire history of the stock (NOK).
Using the code below I was able to pinpoint the problem: when the Friday of any given week is a holiday, RS rejects the price data for the entire week, even if Mon-Thu were not holidays, and consequently the whole week counts as a holiday (no bar for the whole week).
I pasted this code into a new blank indicator, set the MaxBarsBack and Load Additional Bars as below, and applied it to NOK in Radarscreen set to Weekly compression. The printout is in the box below.
Symbol: NOK
Compression: WEEKLY
MaxBarsBack: AUTO
Load Additional Bars: 17000
Indicator applied to: RADARSCREEN
Radarscreen counts 391 bars (weekly) starting 940701 and ending 1020301. The exact same indicator with the exact same settings, applied to a weekly NOK chart results in 400 bars, starting one week later 940708 and ending the same time on 1020301.
I haven't spotted the tenth missing bar yet but nine of the missing bars that Radarscreen fails to count (but which do show up in the charting printout) are:
970328
970704
980410
980703
981225
990101
990402
991224
1000421
For example, if you scroll down to around Bar 143 you'll find the printout reads:
970321.00
143.00 Bar#
1.00 MaxBarsBack
970404.00
144.00 Bar#
1.00 MaxBarsBack
i.e. There is a 2 week gap between Bar 143 and Bar 144!
I've tested the above code on two different installations of ProSuite and on other stocks like CSCO, IBM, and got the same results. I also spent hours searching forums for a solution but am surprised to find no mention made of what seems like a pretty fundamental flaw or at least quirk.
I'd really like to know is if this quirk is recognised by other Tradestation users and whether there is a known workaround (or not).
:-0
I have developed an indicator that involves counting the number of bars on a chart. It works absolutely fine when applied to a chart and to a Radarscreen grid for daily data. However, when I try it on weekly data the number of bars reported for a chart is about 3% more than for the identical symbol in a RS grid. For example, NOK had 175 bars on the chart but only 166 bars in RS for exactly the same time period.
I am familiar with some of the subtleties of the MaxBarsBack and Load Additional Bars settings and the results occur independently of these settings. I'm also aware that because of the way Radarscreen processes historical differently to charting, that Radarscreen typically starts its analysis one bar before charting does (assuming the Load Additional Bars setting is set high enough). In the example below a large Load Additional Bars setting was chosen so that Radarscreen could process the entire history of the stock (NOK).
Using the code below I was able to pinpoint the problem: when the Friday of any given week is a holiday, RS rejects the price data for the entire week, even if Mon-Thu were not holidays, and consequently the whole week counts as a holiday (no bar for the whole week).
Code:
IF CurrentBar = 1 then BEGIN
Cleardebug;
END;
IF LastBaronChart then BEGIN
Plot1(CurrentBar,"Bars");
END;
Print(Date, " ");
Print(CurrentBar," Bar#");
Print(MaxBarsBack, " MaxBarsBack");
I pasted this code into a new blank indicator, set the MaxBarsBack and Load Additional Bars as below, and applied it to NOK in Radarscreen set to Weekly compression. The printout is in the box below.
Symbol: NOK
Compression: WEEKLY
MaxBarsBack: AUTO
Load Additional Bars: 17000
Indicator applied to: RADARSCREEN
Code:
940701.00
1.00 Bar#
1.00 MaxBarsBack
940708.00
2.00 Bar#
1.00 MaxBarsBack
940715.00
3.00 Bar#
1.00 MaxBarsBack
940722.00
4.00 Bar#
1.00 MaxBarsBack
940729.00
5.00 Bar#
1.00 MaxBarsBack
940805.00
6.00 Bar#
1.00 MaxBarsBack
940812.00
7.00 Bar#
1.00 MaxBarsBack
940819.00
8.00 Bar#
1.00 MaxBarsBack
940826.00
9.00 Bar#
1.00 MaxBarsBack
940902.00
10.00 Bar#
1.00 MaxBarsBack
940909.00
11.00 Bar#
1.00 MaxBarsBack
940916.00
12.00 Bar#
1.00 MaxBarsBack
940923.00
13.00 Bar#
1.00 MaxBarsBack
940930.00
14.00 Bar#
1.00 MaxBarsBack
941007.00
15.00 Bar#
1.00 MaxBarsBack
941014.00
16.00 Bar#
1.00 MaxBarsBack
941021.00
17.00 Bar#
1.00 MaxBarsBack
941028.00
18.00 Bar#
1.00 MaxBarsBack
941104.00
19.00 Bar#
1.00 MaxBarsBack
941111.00
20.00 Bar#
1.00 MaxBarsBack
941118.00
21.00 Bar#
1.00 MaxBarsBack
941125.00
22.00 Bar#
1.00 MaxBarsBack
941202.00
23.00 Bar#
1.00 MaxBarsBack
941209.00
24.00 Bar#
1.00 MaxBarsBack
941216.00
25.00 Bar#
1.00 MaxBarsBack
941223.00
26.00 Bar#
1.00 MaxBarsBack
941230.00
27.00 Bar#
1.00 MaxBarsBack
950106.00
28.00 Bar#
1.00 MaxBarsBack
950113.00
29.00 Bar#
1.00 MaxBarsBack
950120.00
30.00 Bar#
1.00 MaxBarsBack
950127.00
31.00 Bar#
1.00 MaxBarsBack
950203.00
32.00 Bar#
1.00 MaxBarsBack
950210.00
33.00 Bar#
1.00 MaxBarsBack
950217.00
34.00 Bar#
1.00 MaxBarsBack
950224.00
35.00 Bar#
1.00 MaxBarsBack
950303.00
36.00 Bar#
1.00 MaxBarsBack
950310.00
37.00 Bar#
1.00 MaxBarsBack
950317.00
38.00 Bar#
1.00 MaxBarsBack
950324.00
39.00 Bar#
1.00 MaxBarsBack
950331.00
40.00 Bar#
1.00 MaxBarsBack
950407.00
41.00 Bar#
1.00 MaxBarsBack
950414.00
42.00 Bar#
1.00 MaxBarsBack
950421.00
43.00 Bar#
1.00 MaxBarsBack
950428.00
44.00 Bar#
1.00 MaxBarsBack
950505.00
45.00 Bar#
1.00 MaxBarsBack
950512.00
46.00 Bar#
1.00 MaxBarsBack
950519.00
47.00 Bar#
1.00 MaxBarsBack
950526.00
48.00 Bar#
1.00 MaxBarsBack
950602.00
49.00 Bar#
1.00 MaxBarsBack
950609.00
50.00 Bar#
1.00 MaxBarsBack
950616.00
51.00 Bar#
1.00 MaxBarsBack
950623.00
52.00 Bar#
1.00 MaxBarsBack
950630.00
53.00 Bar#
1.00 MaxBarsBack
950707.00
54.00 Bar#
1.00 MaxBarsBack
950714.00
55.00 Bar#
1.00 MaxBarsBack
950721.00
56.00 Bar#
1.00 MaxBarsBack
950728.00
57.00 Bar#
1.00 MaxBarsBack
950804.00
58.00 Bar#
1.00 MaxBarsBack
950811.00
59.00 Bar#
1.00 MaxBarsBack
950818.00
60.00 Bar#
1.00 MaxBarsBack
950825.00
61.00 Bar#
1.00 MaxBarsBack
950901.00
62.00 Bar#
1.00 MaxBarsBack
950908.00
63.00 Bar#
1.00 MaxBarsBack
950915.00
64.00 Bar#
1.00 MaxBarsBack
950922.00
65.00 Bar#
1.00 MaxBarsBack
950929.00
66.00 Bar#
1.00 MaxBarsBack
951006.00
67.00 Bar#
1.00 MaxBarsBack
951013.00
68.00 Bar#
1.00 MaxBarsBack
951020.00
69.00 Bar#
1.00 MaxBarsBack
951027.00
70.00 Bar#
1.00 MaxBarsBack
951103.00
71.00 Bar#
1.00 MaxBarsBack
951110.00
72.00 Bar#
1.00 MaxBarsBack
951117.00
73.00 Bar#
1.00 MaxBarsBack
951124.00
74.00 Bar#
1.00 MaxBarsBack
951201.00
75.00 Bar#
1.00 MaxBarsBack
951208.00
76.00 Bar#
1.00 MaxBarsBack
951215.00
77.00 Bar#
1.00 MaxBarsBack
951222.00
78.00 Bar#
1.00 MaxBarsBack
951229.00
79.00 Bar#
1.00 MaxBarsBack
960105.00
80.00 Bar#
1.00 MaxBarsBack
960112.00
81.00 Bar#
1.00 MaxBarsBack
960119.00
82.00 Bar#
1.00 MaxBarsBack
960126.00
83.00 Bar#
1.00 MaxBarsBack
960202.00
84.00 Bar#
1.00 MaxBarsBack
960209.00
85.00 Bar#
1.00 MaxBarsBack
960216.00
86.00 Bar#
1.00 MaxBarsBack
960223.00
87.00 Bar#
1.00 MaxBarsBack
960301.00
88.00 Bar#
1.00 MaxBarsBack
960308.00
89.00 Bar#
1.00 MaxBarsBack
960315.00
90.00 Bar#
1.00 MaxBarsBack
960322.00
91.00 Bar#
1.00 MaxBarsBack
960329.00
92.00 Bar#
1.00 MaxBarsBack
960405.00
93.00 Bar#
1.00 MaxBarsBack
960412.00
94.00 Bar#
1.00 MaxBarsBack
960419.00
95.00 Bar#
1.00 MaxBarsBack
960426.00
96.00 Bar#
1.00 MaxBarsBack
960503.00
97.00 Bar#
1.00 MaxBarsBack
960510.00
98.00 Bar#
1.00 MaxBarsBack
960517.00
99.00 Bar#
1.00 MaxBarsBack
960524.00
100.00 Bar#
1.00 MaxBarsBack
960531.00
101.00 Bar#
1.00 MaxBarsBack
960607.00
102.00 Bar#
1.00 MaxBarsBack
960614.00
103.00 Bar#
1.00 MaxBarsBack
960621.00
104.00 Bar#
1.00 MaxBarsBack
960628.00
105.00 Bar#
1.00 MaxBarsBack
960705.00
106.00 Bar#
1.00 MaxBarsBack
960712.00
107.00 Bar#
1.00 MaxBarsBack
960719.00
108.00 Bar#
1.00 MaxBarsBack
960726.00
109.00 Bar#
1.00 MaxBarsBack
960802.00
110.00 Bar#
1.00 MaxBarsBack
960809.00
111.00 Bar#
1.00 MaxBarsBack
960816.00
112.00 Bar#
1.00 MaxBarsBack
960823.00
113.00 Bar#
1.00 MaxBarsBack
960830.00
114.00 Bar#
1.00 MaxBarsBack
960906.00
115.00 Bar#
1.00 MaxBarsBack
960913.00
116.00 Bar#
1.00 MaxBarsBack
960920.00
117.00 Bar#
1.00 MaxBarsBack
960927.00
118.00 Bar#
1.00 MaxBarsBack
961004.00
119.00 Bar#
1.00 MaxBarsBack
961011.00
120.00 Bar#
1.00 MaxBarsBack
961018.00
121.00 Bar#
1.00 MaxBarsBack
961025.00
122.00 Bar#
1.00 MaxBarsBack
961101.00
123.00 Bar#
1.00 MaxBarsBack
961108.00
124.00 Bar#
1.00 MaxBarsBack
961115.00
125.00 Bar#
1.00 MaxBarsBack
961122.00
126.00 Bar#
1.00 MaxBarsBack
961129.00
127.00 Bar#
1.00 MaxBarsBack
961206.00
128.00 Bar#
1.00 MaxBarsBack
961213.00
129.00 Bar#
1.00 MaxBarsBack
961220.00
130.00 Bar#
1.00 MaxBarsBack
961227.00
131.00 Bar#
1.00 MaxBarsBack
970103.00
132.00 Bar#
1.00 MaxBarsBack
970110.00
133.00 Bar#
1.00 MaxBarsBack
970117.00
134.00 Bar#
1.00 MaxBarsBack
970124.00
135.00 Bar#
1.00 MaxBarsBack
970131.00
136.00 Bar#
1.00 MaxBarsBack
970207.00
137.00 Bar#
1.00 MaxBarsBack
970214.00
138.00 Bar#
1.00 MaxBarsBack
970221.00
139.00 Bar#
1.00 MaxBarsBack
970228.00
140.00 Bar#
1.00 MaxBarsBack
970307.00
141.00 Bar#
1.00 MaxBarsBack
970314.00
142.00 Bar#
1.00 MaxBarsBack
970321.00
143.00 Bar#
1.00 MaxBarsBack
970404.00
144.00 Bar#
1.00 MaxBarsBack
970411.00
145.00 Bar#
1.00 MaxBarsBack
970418.00
146.00 Bar#
1.00 MaxBarsBack
970425.00
147.00 Bar#
1.00 MaxBarsBack
970502.00
148.00 Bar#
1.00 MaxBarsBack
970509.00
149.00 Bar#
1.00 MaxBarsBack
970516.00
150.00 Bar#
1.00 MaxBarsBack
970523.00
151.00 Bar#
1.00 MaxBarsBack
970530.00
152.00 Bar#
1.00 MaxBarsBack
970606.00
153.00 Bar#
1.00 MaxBarsBack
970613.00
154.00 Bar#
1.00 MaxBarsBack
970620.00
155.00 Bar#
1.00 MaxBarsBack
970627.00
156.00 Bar#
1.00 MaxBarsBack
970711.00
157.00 Bar#
1.00 MaxBarsBack
970718.00
158.00 Bar#
1.00 MaxBarsBack
970725.00
159.00 Bar#
1.00 MaxBarsBack
970801.00
160.00 Bar#
1.00 MaxBarsBack
970808.00
161.00 Bar#
1.00 MaxBarsBack
970815.00
162.00 Bar#
1.00 MaxBarsBack
970822.00
163.00 Bar#
1.00 MaxBarsBack
970829.00
164.00 Bar#
1.00 MaxBarsBack
970905.00
165.00 Bar#
1.00 MaxBarsBack
970912.00
166.00 Bar#
1.00 MaxBarsBack
970919.00
167.00 Bar#
1.00 MaxBarsBack
970926.00
168.00 Bar#
1.00 MaxBarsBack
971003.00
169.00 Bar#
1.00 MaxBarsBack
971010.00
170.00 Bar#
1.00 MaxBarsBack
971017.00
171.00 Bar#
1.00 MaxBarsBack
971024.00
172.00 Bar#
1.00 MaxBarsBack
971031.00
173.00 Bar#
1.00 MaxBarsBack
971107.00
174.00 Bar#
1.00 MaxBarsBack
971114.00
175.00 Bar#
1.00 MaxBarsBack
971121.00
176.00 Bar#
1.00 MaxBarsBack
971128.00
177.00 Bar#
1.00 MaxBarsBack
971205.00
178.00 Bar#
1.00 MaxBarsBack
971212.00
179.00 Bar#
1.00 MaxBarsBack
971219.00
180.00 Bar#
1.00 MaxBarsBack
971226.00
181.00 Bar#
1.00 MaxBarsBack
980102.00
182.00 Bar#
1.00 MaxBarsBack
980109.00
183.00 Bar#
1.00 MaxBarsBack
980116.00
184.00 Bar#
1.00 MaxBarsBack
980123.00
185.00 Bar#
1.00 MaxBarsBack
980130.00
186.00 Bar#
1.00 MaxBarsBack
980206.00
187.00 Bar#
1.00 MaxBarsBack
980213.00
188.00 Bar#
1.00 MaxBarsBack
980220.00
189.00 Bar#
1.00 MaxBarsBack
980227.00
190.00 Bar#
1.00 MaxBarsBack
980306.00
191.00 Bar#
1.00 MaxBarsBack
980313.00
192.00 Bar#
1.00 MaxBarsBack
980320.00
193.00 Bar#
1.00 MaxBarsBack
980327.00
194.00 Bar#
1.00 MaxBarsBack
980403.00
195.00 Bar#
1.00 MaxBarsBack
980417.00
196.00 Bar#
1.00 MaxBarsBack
980424.00
197.00 Bar#
1.00 MaxBarsBack
980501.00
198.00 Bar#
1.00 MaxBarsBack
980508.00
199.00 Bar#
1.00 MaxBarsBack
980515.00
200.00 Bar#
1.00 MaxBarsBack
980522.00
201.00 Bar#
1.00 MaxBarsBack
980529.00
202.00 Bar#
1.00 MaxBarsBack
980605.00
203.00 Bar#
1.00 MaxBarsBack
980612.00
204.00 Bar#
1.00 MaxBarsBack
980619.00
205.00 Bar#
1.00 MaxBarsBack
980626.00
206.00 Bar#
1.00 MaxBarsBack
980710.00
207.00 Bar#
1.00 MaxBarsBack
980717.00
208.00 Bar#
1.00 MaxBarsBack
980724.00
209.00 Bar#
1.00 MaxBarsBack
980731.00
210.00 Bar#
1.00 MaxBarsBack
980807.00
211.00 Bar#
1.00 MaxBarsBack
980814.00
212.00 Bar#
1.00 MaxBarsBack
980821.00
213.00 Bar#
1.00 MaxBarsBack
980828.00
214.00 Bar#
1.00 MaxBarsBack
980904.00
215.00 Bar#
1.00 MaxBarsBack
980911.00
216.00 Bar#
1.00 MaxBarsBack
980918.00
217.00 Bar#
1.00 MaxBarsBack
980925.00
218.00 Bar#
1.00 MaxBarsBack
981002.00
219.00 Bar#
1.00 MaxBarsBack
981009.00
220.00 Bar#
1.00 MaxBarsBack
981016.00
221.00 Bar#
1.00 MaxBarsBack
981023.00
222.00 Bar#
1.00 MaxBarsBack
981030.00
223.00 Bar#
1.00 MaxBarsBack
981106.00
224.00 Bar#
1.00 MaxBarsBack
981113.00
225.00 Bar#
1.00 MaxBarsBack
981120.00
226.00 Bar#
1.00 MaxBarsBack
981127.00
227.00 Bar#
1.00 MaxBarsBack
981204.00
228.00 Bar#
1.00 MaxBarsBack
981211.00
229.00 Bar#
1.00 MaxBarsBack
981218.00
230.00 Bar#
1.00 MaxBarsBack
990108.00
231.00 Bar#
1.00 MaxBarsBack
990115.00
232.00 Bar#
1.00 MaxBarsBack
990122.00
233.00 Bar#
1.00 MaxBarsBack
990129.00
234.00 Bar#
1.00 MaxBarsBack
990205.00
235.00 Bar#
1.00 MaxBarsBack
990212.00
236.00 Bar#
1.00 MaxBarsBack
990219.00
237.00 Bar#
1.00 MaxBarsBack
990226.00
238.00 Bar#
1.00 MaxBarsBack
990305.00
239.00 Bar#
1.00 MaxBarsBack
990312.00
240.00 Bar#
1.00 MaxBarsBack
990319.00
241.00 Bar#
1.00 MaxBarsBack
990326.00
242.00 Bar#
1.00 MaxBarsBack
990409.00
243.00 Bar#
1.00 MaxBarsBack
990416.00
244.00 Bar#
1.00 MaxBarsBack
990423.00
245.00 Bar#
1.00 MaxBarsBack
990430.00
246.00 Bar#
1.00 MaxBarsBack
990507.00
247.00 Bar#
1.00 MaxBarsBack
990514.00
248.00 Bar#
1.00 MaxBarsBack
990521.00
249.00 Bar#
1.00 MaxBarsBack
990528.00
250.00 Bar#
1.00 MaxBarsBack
990604.00
251.00 Bar#
1.00 MaxBarsBack
990611.00
252.00 Bar#
1.00 MaxBarsBack
990618.00
253.00 Bar#
1.00 MaxBarsBack
990625.00
254.00 Bar#
1.00 MaxBarsBack
990702.00
255.00 Bar#
1.00 MaxBarsBack
990709.00
256.00 Bar#
1.00 MaxBarsBack
990716.00
257.00 Bar#
1.00 MaxBarsBack
990723.00
258.00 Bar#
1.00 MaxBarsBack
990730.00
259.00 Bar#
1.00 MaxBarsBack
990806.00
260.00 Bar#
1.00 MaxBarsBack
990813.00
261.00 Bar#
1.00 MaxBarsBack
990820.00
262.00 Bar#
1.00 MaxBarsBack
990827.00
263.00 Bar#
1.00 MaxBarsBack
990903.00
264.00 Bar#
1.00 MaxBarsBack
990910.00
265.00 Bar#
1.00 MaxBarsBack
990917.00
266.00 Bar#
1.00 MaxBarsBack
990924.00
267.00 Bar#
1.00 MaxBarsBack
991001.00
268.00 Bar#
1.00 MaxBarsBack
991008.00
269.00 Bar#
1.00 MaxBarsBack
991015.00
270.00 Bar#
1.00 MaxBarsBack
991022.00
271.00 Bar#
1.00 MaxBarsBack
991029.00
272.00 Bar#
1.00 MaxBarsBack
991105.00
273.00 Bar#
1.00 MaxBarsBack
991112.00
274.00 Bar#
1.00 MaxBarsBack
991119.00
275.00 Bar#
1.00 MaxBarsBack
991126.00
276.00 Bar#
1.00 MaxBarsBack
991203.00
277.00 Bar#
1.00 MaxBarsBack
991210.00
278.00 Bar#
1.00 MaxBarsBack
991217.00
279.00 Bar#
1.00 MaxBarsBack
991231.00
280.00 Bar#
1.00 MaxBarsBack
1000107.00
281.00 Bar#
1.00 MaxBarsBack
1000114.00
282.00 Bar#
1.00 MaxBarsBack
1000121.00
283.00 Bar#
1.00 MaxBarsBack
1000128.00
284.00 Bar#
1.00 MaxBarsBack
1000204.00
285.00 Bar#
1.00 MaxBarsBack
1000211.00
286.00 Bar#
1.00 MaxBarsBack
1000218.00
287.00 Bar#
1.00 MaxBarsBack
1000225.00
288.00 Bar#
1.00 MaxBarsBack
1000303.00
289.00 Bar#
1.00 MaxBarsBack
1000310.00
290.00 Bar#
1.00 MaxBarsBack
1000317.00
291.00 Bar#
1.00 MaxBarsBack
1000324.00
292.00 Bar#
1.00 MaxBarsBack
1000331.00
293.00 Bar#
1.00 MaxBarsBack
1000407.00
294.00 Bar#
1.00 MaxBarsBack
1000414.00
295.00 Bar#
1.00 MaxBarsBack
1000428.00
296.00 Bar#
1.00 MaxBarsBack
1000505.00
297.00 Bar#
1.00 MaxBarsBack
1000512.00
298.00 Bar#
1.00 MaxBarsBack
1000519.00
299.00 Bar#
1.00 MaxBarsBack
1000526.00
300.00 Bar#
1.00 MaxBarsBack
1000602.00
301.00 Bar#
1.00 MaxBarsBack
1000609.00
302.00 Bar#
1.00 MaxBarsBack
1000616.00
303.00 Bar#
1.00 MaxBarsBack
1000623.00
304.00 Bar#
1.00 MaxBarsBack
1000630.00
305.00 Bar#
1.00 MaxBarsBack
1000707.00
306.00 Bar#
1.00 MaxBarsBack
1000714.00
307.00 Bar#
1.00 MaxBarsBack
1000721.00
308.00 Bar#
1.00 MaxBarsBack
1000728.00
309.00 Bar#
1.00 MaxBarsBack
1000804.00
310.00 Bar#
1.00 MaxBarsBack
1000811.00
311.00 Bar#
1.00 MaxBarsBack
1000818.00
312.00 Bar#
1.00 MaxBarsBack
1000825.00
313.00 Bar#
1.00 MaxBarsBack
1000901.00
314.00 Bar#
1.00 MaxBarsBack
1000908.00
315.00 Bar#
1.00 MaxBarsBack
1000915.00
316.00 Bar#
1.00 MaxBarsBack
1000922.00
317.00 Bar#
1.00 MaxBarsBack
1000929.00
318.00 Bar#
1.00 MaxBarsBack
1001006.00
319.00 Bar#
1.00 MaxBarsBack
1001013.00
320.00 Bar#
1.00 MaxBarsBack
1001020.00
321.00 Bar#
1.00 MaxBarsBack
1001027.00
322.00 Bar#
1.00 MaxBarsBack
1001103.00
323.00 Bar#
1.00 MaxBarsBack
1001110.00
324.00 Bar#
1.00 MaxBarsBack
1001117.00
325.00 Bar#
1.00 MaxBarsBack
1001124.00
326.00 Bar#
1.00 MaxBarsBack
1001201.00
327.00 Bar#
1.00 MaxBarsBack
1001208.00
328.00 Bar#
1.00 MaxBarsBack
1001215.00
329.00 Bar#
1.00 MaxBarsBack
1001222.00
330.00 Bar#
1.00 MaxBarsBack
1001229.00
331.00 Bar#
1.00 MaxBarsBack
1010105.00
332.00 Bar#
1.00 MaxBarsBack
1010112.00
333.00 Bar#
1.00 MaxBarsBack
1010119.00
334.00 Bar#
1.00 MaxBarsBack
1010126.00
335.00 Bar#
1.00 MaxBarsBack
1010202.00
336.00 Bar#
1.00 MaxBarsBack
1010209.00
337.00 Bar#
1.00 MaxBarsBack
1010216.00
338.00 Bar#
1.00 MaxBarsBack
1010223.00
339.00 Bar#
1.00 MaxBarsBack
1010302.00
340.00 Bar#
1.00 MaxBarsBack
1010309.00
341.00 Bar#
1.00 MaxBarsBack
1010316.00
342.00 Bar#
1.00 MaxBarsBack
1010323.00
343.00 Bar#
1.00 MaxBarsBack
1010330.00
344.00 Bar#
1.00 MaxBarsBack
1010406.00
345.00 Bar#
1.00 MaxBarsBack
1010420.00
346.00 Bar#
1.00 MaxBarsBack
1010427.00
347.00 Bar#
1.00 MaxBarsBack
1010504.00
348.00 Bar#
1.00 MaxBarsBack
1010511.00
349.00 Bar#
1.00 MaxBarsBack
1010518.00
350.00 Bar#
1.00 MaxBarsBack
1010525.00
351.00 Bar#
1.00 MaxBarsBack
1010601.00
352.00 Bar#
1.00 MaxBarsBack
1010608.00
353.00 Bar#
1.00 MaxBarsBack
1010615.00
354.00 Bar#
1.00 MaxBarsBack
1010622.00
355.00 Bar#
1.00 MaxBarsBack
1010629.00
356.00 Bar#
1.00 MaxBarsBack
1010706.00
357.00 Bar#
1.00 MaxBarsBack
1010713.00
358.00 Bar#
1.00 MaxBarsBack
1010720.00
359.00 Bar#
1.00 MaxBarsBack
1010727.00
360.00 Bar#
1.00 MaxBarsBack
1010803.00
361.00 Bar#
1.00 MaxBarsBack
1010810.00
362.00 Bar#
1.00 MaxBarsBack
1010817.00
363.00 Bar#
1.00 MaxBarsBack
1010824.00
364.00 Bar#
1.00 MaxBarsBack
1010831.00
365.00 Bar#
1.00 MaxBarsBack
1010907.00
366.00 Bar#
1.00 MaxBarsBack
1010914.00
367.00 Bar#
1.00 MaxBarsBack
1010921.00
368.00 Bar#
1.00 MaxBarsBack
1010928.00
369.00 Bar#
1.00 MaxBarsBack
1011005.00
370.00 Bar#
1.00 MaxBarsBack
1011012.00
371.00 Bar#
1.00 MaxBarsBack
1011019.00
372.00 Bar#
1.00 MaxBarsBack
1011026.00
373.00 Bar#
1.00 MaxBarsBack
1011102.00
374.00 Bar#
1.00 MaxBarsBack
1011109.00
375.00 Bar#
1.00 MaxBarsBack
1011116.00
376.00 Bar#
1.00 MaxBarsBack
1011123.00
377.00 Bar#
1.00 MaxBarsBack
1011130.00
378.00 Bar#
1.00 MaxBarsBack
1011207.00
379.00 Bar#
1.00 MaxBarsBack
1011214.00
380.00 Bar#
1.00 MaxBarsBack
1011221.00
381.00 Bar#
1.00 MaxBarsBack
1011228.00
382.00 Bar#
1.00 MaxBarsBack
1020104.00
383.00 Bar#
1.00 MaxBarsBack
1020111.00
384.00 Bar#
1.00 MaxBarsBack
1020118.00
385.00 Bar#
1.00 MaxBarsBack
1020125.00
386.00 Bar#
1.00 MaxBarsBack
1020201.00
387.00 Bar#
1.00 MaxBarsBack
1020208.00
388.00 Bar#
1.00 MaxBarsBack
1020215.00
389.00 Bar#
1.00 MaxBarsBack
1020222.00
390.00 Bar#
1.00 MaxBarsBack
1020301.00
391.00 Bar#
1.00 MaxBarsBack
Radarscreen counts 391 bars (weekly) starting 940701 and ending 1020301. The exact same indicator with the exact same settings, applied to a weekly NOK chart results in 400 bars, starting one week later 940708 and ending the same time on 1020301.
I haven't spotted the tenth missing bar yet but nine of the missing bars that Radarscreen fails to count (but which do show up in the charting printout) are:
970328
970704
980410
980703
981225
990101
990402
991224
1000421
For example, if you scroll down to around Bar 143 you'll find the printout reads:
970321.00
143.00 Bar#
1.00 MaxBarsBack
970404.00
144.00 Bar#
1.00 MaxBarsBack
i.e. There is a 2 week gap between Bar 143 and Bar 144!
I've tested the above code on two different installations of ProSuite and on other stocks like CSCO, IBM, and got the same results. I also spent hours searching forums for a solution but am surprised to find no mention made of what seems like a pretty fundamental flaw or at least quirk.
I'd really like to know is if this quirk is recognised by other Tradestation users and whether there is a known workaround (or not).
:-0