Hello.
I'm new to Amibroker and in this forum. I know how to write AFL scripts but I think I have some problems with understanding how Amibroker works and what is Statica data plugin v5 doing and what Amibroker and what is responsible for what.
Let's say I want to configure new database for GPW. Session for Futures starts at 8:45 and for normal stocks at 9:00. During Databas settings I have Intraday settings button and inside it Trading Hours. So I configured it for day session only start: 08:45 end: 17:05.
Now when Statica plugin fetches data it fetches it in such way that I have candles on 1h chart from for example 11:45 (candle open) to 12:45 (candle close) but I would like the candles to be presented on full hours.
How to do it? Is it issue of Statica plugin which I suspect is not oficially approved by Amibroker developer or I'm doing something wrong? I'm trading stocks and futures so I need this day session start configured at 8:45.
Could be nice If somebody can point me in right direction and answers for question what is the role of plugin. My final goal later will be to scan symbols in GPW to search for buying signals and I'm not sure if this Statica plugin will help me to scan many different symbols because I noticed it only refreshing/downloading symbol data when I open chart for that particular symbol.
You can use PER-GROUP intraday settings (as @rottor has mentioned), but I guess you don't really need that. Simply change Start of Trading Hours at 8:00 or 9:00. In this way your hourly candles will start and end at full hours. By the way I also use Statica Plugin and such settings work for me. Also for the futures market.
Statica plugin works really well when it comes to scanning the whole market. I've been using this plugin for many years. Just remember, that before you attempt to scan/explore all stocks, you need to complete your database (download data). First time you do that, it takes some time ... You also need to configure your database correctly (especially number of bars) not to run out of resources (memory).
Thanks @Milosz. But is it possible to scan whole market once per hour? Is this data flowing to the database for all symbols all the time? I noticed that data is only fetched when I have open chart with symbol then data for this particular symbol is only fetching. The rest is not fetching until I open them so during scanning whole market does this data is fetched all the time so I have the freshest candles on every symbol every hour?
Statica's plugin time per Symbol is (at least in my case) usually below 0,1 ms so you can scan/explore even the whole market way, way more often Just remember to select "Use QuickAFL" in Backtester settings. Data will be updated each time you do such scan/exploration. I suggest you read below threads:
If you want to periodically screen the market, use Exploraion (not Scan) as it gives you much more possiblities.