Now I wish to run the exploration on "BarsNo" -> Bypassing the Filter (Range) in the exploration. e.g.
If BarsNo = 100 then exploration should show 100 rows corresponding to 100 last bars.
You SHOULD just use Range setting. No matter what range you choose normally, the exploration output is AUTOMATICALLY limited to selected range. No need to code anything.
Filter = 1; // automatically show ALL bars belonging to selected RANGE
The first date is fixed (13-03-14) but the second date is variable (date when the corporate action is lapsed). So Aux1 is to be adjusted till second date. Each day as the trading completes number of bars have to be manually changed in range, instead can it be changed as part of code itself?