The problem is when I select date range from “From to date” to see buy and sell in my scan window ,it shows wrong result because it first calculate all the dates present in data like :ALL Quotes" and then show result of that particular dates.
What i can do in amibroker so that it actually start calculating data from the selected range rather than all quotes.???
Assumptions are not facts. Your assumptions are wrong. You did not read the docs and did not search the forum prior to posting.
It is NOT wrong to use all quotes for calculations because majority of functions require at least few quotes BEFORE your first date (such as simple moving averages) to produce any result. Some functions in theory may require ALL bars (all kind of recursive functions).
So if you tried only to use quotes in your range you will get huge “NULL” sector at the beginning.