How to use Bar Replay Tool in Amibroker?
Here is another much awaited and most requested episode on amibroker, which is “Bar Replay window”
Bar Replay tool is available from Tools->Bar Replay menu. Bar Replay feature plays back data for all symbols at once with user-defined speed. It means that data for all symbols will end at specified “playback position”.
Controls description
Navigation bar:
- – Rewind to the beginning
- – one Step Back
- – Stop – turns bar replay OFF (chart are not affected by bar reply)
- – Pause – pauses current playback or enters pause mode that allows to manually drag the slider bar and affect chart display – in PAUSE mode data are internally modified so quotes past selected “playback” position are invisible to any part of AmiBroker ( charts / automatic analysis ), except quotation editor
- – Play – playback bars history
- – one Step Forward
- – Forward to end of selected range
Slider bar – allows to see the playback progress as well as MANUALLY move back and forward by dragging the slider thumb.
Start/End – controls provide start and end simulation dates. The playback works so that all data upto currently selected “Playback position” are visible. Data past this position are invisible. “Playback position” can change from user-defined “Start” to “End”dates. The small ^ buttons on the right side of Start / End date fields allow to set Start/End to currently selected date on the chart.
Step interval – defines interval of the step. Recommended setting is base interval of your database. So if you have 1-minute database, step interval should be 1 minute. If you have EOD database, step interval should be daily, however it is allowed to select higher step intervals. Note that chart viewing interval is independent from that. So you can playback 1 minute database and watch 15 minute bars (they will look like real – building last “ghost” bar as new data come in)
Speed parameter defines step frequency. It means how many steps will be played back within one second. Default is 1. Maximum is 5 minimum is 0.1. If you select 3 for example, AmiBroker will play one step every 0.333 sec giving total of 3 steps per second.
Skip afterhours – when turned on, playback skips hours outside regular trading hours as defined in File->Database Settings->Intraday Settings
Skip weekends – when turned on, playback skips Saturdays and Sundays
Usage
To ENTER Playback mode – press PLAY or PAUSE buttons – then data are truncated at current “playback position”.
To EXIT Playback mode – press STOP button or close Bar Replay dialog – the full data set will be restored.
Note that playback simulation is done internally and the database is kept untouched in fact (all data are still visible in Quote Editor), so there is no risk using Bar Reply.
To know more, checkout:
https://youtu.be/qMCbmDTfHtI
Related
amibroker tutorial videos how to backtest amibroker afl? how to create algo script for zerodha? how to do algo trading in india? how to install amibroker how to learn algo trading? how to start with algo trading in india? how to use afl codes how to use amibroker How to use Bar Replay Tool in Amibroker? how to write amibroker afl scripts