Sir,
I am making screen for 5 mintute and I want this filter to work at 30 minute period
Please inform me where to write the code for time change.Before the above code or after it?
To make the filter work with a 30 minute period (30*60 = 1800 seconds), you have two choices:
a = timeframeapply(1800 , [RULE]);
OR
TimeframeSet(1800);
a = [RULE];
TimeframeRestore();
Please note that few functions do not work (including StochSlowD) when changing time-frame. This issue was fixed and you should be able to use them after the next release.