I am experimenting with SAR() but I want it to apply to a longer TimeFrame.
For example, if my BarPeriod is 15, I want to look at the SAR for hourly.
I tried the below, but TimeFrame doesn't seem to affect SAR() at all. Is there any way to simulate a wider timeframe by supplying a different input to SAR() ?
function run()
{
StartDate = 20140206;
EndDate = 20140212;
BarPeriod = 15;
TimeFrame = 4;
vars Price = series(price());
var sar = SAR(0.02,0.2);
plot("SAR",sar,DOT,RED);
TimeFrame = 1;
}