amibroker

HomeKnowledge Base

Table of Contents

Welcome to the Knowledge Base

Looking for something in particular? Well, you have come to the right place. Here you can dig through the archives by category, by tags and by month. Hopefully you will be able to find what you are searching for.

Most Recent Articles

Knowledge Base Articles by category

  1. AFL
    1. A function with multiple return values
    2. About floating point arithmetic
    3. AFL execution speed
    4. Calling custom user functions in our code
    5. Can I encrypt my formula so no-one can decipher it?
    6. Checking relationship between multiple moving averages
    7. Do NOT make assumptions on number of bars
    8. How to count symbols in given category
    9. How to fix Error 61 in printf/StrFormat calls
    10. How to populate Matrix from a text file
    11. New keywords in AFL and possible conflict with user-defined variables
    12. QuickAFL facts
    13. What are constants in AFL and how they work
    14. When and how often AFL code is executed?

  2. Analysis
    1. How to customize list-view columns
    2. How to print result list from Analysis window
    3. How to write to single shared file in multi-threaded scenario
    4. Limits of multithreading
    5. Using multiple watchlists as a filter in the Analysis
    6. Why Analysis results and Chart output may differ

    7. Backtest
      1. Broad market timing in system formulas
      2. Closing trades in delisted symbols
      3. Getting started with automatic Walk-Forward optimization
      4. Handling limit orders in the backtester
      5. How generate backtest statistics from a list of historical trades stored in a file
      6. How to backtest symbols individually
      7. How to close open positions at the end of the day (for daytraders)
      8. How to display arrows for trades generated in backtest?
      9. How to identify signal that triggered entry/exit if multiple signals are used
      10. How to manage overlapping entry/exit signals in portfolio test
      11. How to restrict trading to certain hours of the day
      12. How to set individual trading rules for symbols in the same backtest
      13. Limit number of trades per day in a backtest
      14. Limits of multithreading
      15. Low-level gfx example: Yearly/monthly profit chart
      16. Points-only backtest
      17. Position sizing based on risk
      18. Preventing exit during first N bars
      19. Using Zig-Zag in trading systems

      20. Custom Backtest
        1. Adding custom metric: Average adverse excursion
        2. Historical portfolio backtest metrics
        3. How to add MAE / MFE dates to the backtest report
        4. How to create copy of portfolio equity?
        5. How to display indicator values in the backtest trade list
        6. How to display interest gains in the backtest report
        7. How to exclude top ranked symbol(s) in rotational backtest
        8. How to use custom backtest metric as an optimization target
        9. Number of stopped-out trades as a custom metric
        10. Per-symbol profit/loss in a portfolio backtest
        11. Re-balancing open positions
        12. Using redundant signals for entries

      21. General
        1. How to copy backtest trade list to a spreadsheet
        2. How to handle delisted symbols in rotational test
        3. How to run certain piece of code only once
        4. Long-only rotational back-test
        5. Separate ranks for categories that can be used in backtesting
        6. Symbol selection when PositionScore is not defined
        7. Using Exclude statement to skip unwanted optimization steps
        8. Using optimum parameter values in backtesting

      22. Problems
        1. How to synchronize backtesting setup on different computers
        2. Too small / unreadable Profit Table in the backtest report
        3. Troubleshooting procedure when backtest shows no trades
        4. Why do backtest results change?

      23. Stops
        1. How does risk-mode trailing stop work?
        2. Ruin stop or mysterious Short(6) in the trade list
        3. Stops priority in the default backtest procedure in AmiBroker
        4. Using price levels with ApplyStop function

    8. Exploration
      1. Debugging techniques - Part 1 - Exploration
      2. Detecting N-th occurrence of a condition using modulus operator
      3. How to add exploration results to a watchlist
      4. How to detect the study crossover for multiple symbols with use of SCAN
      5. How to display correlation between symbols
      6. How to export quotations from AmiBroker to CSV file ?
      7. How to export quotes to separate text files per symbol
      8. How to setup automatic periodic scans & explorations
      9. Text output in Explorations
      10. Time compression of data retrieved from another symbol

  3. Charting
    1. Automatic support and resistance lines based on last HHV and LLV value
    2. Choosing first day of the week for weekly compression
    3. Customizing chart titles
    4. Drawing line extensions on future bars using AFL
    5. How to add symbol labels to Relative Performance chart
    6. How to adjust the number of blank bars in right margin
    7. How to browse charts in selected date range
    8. How to detect the study crossover for multiple symbols with use of SCAN
    9. How to display Bond and Bill prices in fractions
    10. How to display Range Bars
    11. How to display the indicators based on Advances/Declines
    12. How to export chart image to a file
    13. How to fill background between hand-drawn trend lines
    14. How to force Line chart style for specific symbols (like mutual funds)
    15. How to measure price / percentage distance on the chart
    16. How to restore accidentially deleted price chart
    17. How to save layouts that hold individual parameter values for different symbols.
    18. How to show date axis in a newly created chart pane
    19. How to show price ratio between two symbols
    20. How to sync a chart with the Analysis window
    21. Relationship between chart panes
    22. Setting default color for studies
    23. Why can't I change the symbol? (Symbol lock)

    24. Indicators
      1. Adding custom grid levels to RSI indicator
      2. Big symbol text in the background
      3. Calendar day index
      4. Discretionary Equity
      5. Drawing indicators on a subset of visible bars
      6. Getting X, Y co-ordinates of Study()
      7. High-Low of certain hours of the day
      8. How to add full name to the Price chart title
      9. How to change the title line in my custom indicator ?
      10. How to chart spreads?
      11. How to convert from bar-value to pixel co-ordinates
      12. How to detect the divergences
      13. How to display arrows for trades generated in backtest?
      14. How to draw regression channel programatically
      15. How to execute part of the formula only when new bar is added
      16. How to fill the area between two lines with a solid color
      17. How to increase maximum periods of built-in indicators
      18. How to plot a trailing stop in the Price chart
      19. How to plot daily High and Low on intraday chart
      20. How to read highest high value of future bars
      21. Indicators based on user values rather than standard OHLC prices
      22. Positioning area plots behind the grid lines
      23. Price chart with independent style
      24. Study() function in logarithmic scale
      25. Time compression of data retrieved from another symbol
      26. Using loops with TimeFrame functions
      27. Using per-symbol parameter values in charts

  4. Data
    1. "Invalid symbol" message for stocks traded on multiple exchanges (IB)
    2. AmiBroker for Forex
    3. AmiQuote and free data from Yahoo
    4. Choosing compression method for Aux1 and Aux2 fields
    5. Do not exceed real-time symbol limit
    6. How does the intraday-to-daily compression work?
    7. How to backfill all symbols in RT database
    8. How to backup data from an external source
    9. How to categorize symbols coming from Metastock databases
    10. How to change property for multiple symbols at once.
    11. How to combine data from multiple input files
    12. How to combine multiple databases into one
    13. How to combine two databases into one
    14. How to correct forward looking timestamps
    15. How to count symbols in given category
    16. How to create custom import definition for ASCII importer
    17. How to delete quotes without removing the symbol from a database
    18. How to export quotations from AmiBroker to CSV file ?
    19. How to find correct symbol for Interactive Brokers data
    20. How to import huge ASCII files quickly
    21. Importing auxilliary data into AmiBroker database
    22. Importing data using multiple column separators
    23. Setting up with FXCM (forex broker)

    24. AmiQuote
      1. AmiQuote and free data from Yahoo
      2. AmiQuote Yahoo Historical stopped working
      3. How to install AmiQuote 3.14 correctly
      4. How to re-import the same data without downloading them again
      5. How to use your LiveCharts account with AmiQuote ?
      6. How to verify if EOD data is available for download at Google Finance
      7. Where does AmiQuote save downloaded data?
      8. Wrong close price in Yahoo data (no more?)

  5. Installation
    1. AmiBroker on an Apple Mac (OSX)
    2. AmiBroker on tablets and smartphones
    3. Do NOT use "registry cleaners" to avoid problems
    4. How to backup AmiBroker configuration
    5. How to configure alerts to work with SSL e-mail accounts
    6. How to fix side-by-side configuration error in 64-bit version
    7. How to migrate AmiBroker to a new computer
    8. How to register AmiQuote and AFL Code Wizard
    9. Lost activation key
    10. Recommended hardware/software for AmiBroker
    11. Running AmiBroker on Windows Vista (both 32 and 64 bit editions)
    12. Single license use on multiple computers?
    13. Third-party plugins must ship with proper runtime
    14. Using IB controller (auto-trading interface) with 64-bit version of AmiBroker

  6. Troubleshooting
    1. "Invalid symbol" message for stocks traded on multiple exchanges (IB)
    2. Deleting symbols with comma in the name
    3. Differences between 32-bit and 64-bit version
    4. FastTrack data configuration and troubleshooting
    5. How to fix Error 61 in printf/StrFormat calls
    6. How to get support most efficiently
    7. How to install AmiQuote 3.14 correctly
    8. Purchases from Hong Kong
    9. Running OLE automation scripts with 32- and 64-bit versions of AmiBroker
    10. Support and sales is by e-mail only
    11. Third party software "black list"
    12. Third-party plugins must use multithreaded run-time
    13. Webroot antivirus prevents clipboard Paste function

  7. Uncategorized
    1. Support response times

  8. User Interface
    1. How to create toolbar button for custom interval
    2. How to create your own code snippet
    3. How to fix outdated web research links
    4. How to hide unused categories
    5. How to increase font size for UI elements
    6. How to make vertical selection line thinner
    7. How to move a window to another monitor
    8. How to restore program menus and/or toolbars
    9. Make icons larger on high DPI displays
    10. Timestamps explained

Tags Cloud:

64-bit | Account Manager | AddToComposite | ADLine | AFL | AmiQuote | Analysis | Backtest | Categories | Charting | Correlation | Custom Backtester | Custom Metrics | Data | Debug | Delisted stocks | Excel | Exploration | Export | FastTrack | File | Forex | FullName | Import | Installation | Interactive Brokers | Matrix | Menus | Metastock | OLE | Optimization | Position Sizing | Report Charts | Rotational Trading | Runtime | Side-By-Side | Third-party | Time Frame | Toolbar | Troubleshooting | UI | Walk-Forward | Watch Lists | Web Research | Z-Order

Alphabetical list

  1. “Invalid symbol” message for stocks traded on multiple exchanges (IB)
  2. A function with multiple return values
  3. About floating point arithmetic
  4. Adding custom grid levels to RSI indicator
  5. Adding custom metric: Average adverse excursion
  6. AFL execution speed
  7. AmiBroker for Forex
  8. AmiBroker on an Apple Mac (OSX)
  9. AmiBroker on tablets and smartphones
  10. AmiQuote and free data from Yahoo
  11. AmiQuote Yahoo Historical stopped working
  12. Automatic support and resistance lines based on last HHV and LLV value
  13. Big symbol text in the background
  14. Broad market timing in system formulas
  15. Calendar day index
  16. Calling custom user functions in our code
  17. Can I encrypt my formula so no-one can decipher it?
  18. Checking relationship between multiple moving averages
  19. Choosing compression method for Aux1 and Aux2 fields
  20. Choosing first day of the week for weekly compression
  21. Closing trades in delisted symbols
  22. Customizing chart titles
  23. Debugging techniques – Part 1 – Exploration
  24. Deleting symbols with comma in the name
  25. Detecting N-th occurrence of a condition using modulus operator
  26. Differences between 32-bit and 64-bit version
  27. Discretionary Equity
  28. Do not exceed real-time symbol limit
  29. Do NOT make assumptions on number of bars
  30. Do NOT use “registry cleaners” to avoid problems
  31. Drawing indicators on a subset of visible bars
  32. Drawing line extensions on future bars using AFL
  33. FastTrack data configuration and troubleshooting
  34. Getting started with automatic Walk-Forward optimization
  35. Getting X, Y co-ordinates of Study()
  36. Handling limit orders in the backtester
  37. High-Low of certain hours of the day
  38. Historical portfolio backtest metrics
  39. How does risk-mode trailing stop work?
  40. How does the intraday-to-daily compression work?
  41. How generate backtest statistics from a list of historical trades stored in a file
  42. How to add exploration results to a watchlist
  43. How to add full name to the Price chart title
  44. How to add MAE / MFE dates to the backtest report
  45. How to add symbol labels to Relative Performance chart
  46. How to adjust the number of blank bars in right margin
  47. How to backfill all symbols in RT database
  48. How to backtest symbols individually
  49. How to backup AmiBroker configuration
  50. How to backup data from an external source
  51. How to browse charts in selected date range
  52. How to categorize symbols coming from Metastock databases
  53. How to change property for multiple symbols at once.
  54. How to change the title line in my custom indicator ?
  55. How to chart spreads?
  56. How to close open positions at the end of the day (for daytraders)
  57. How to combine data from multiple input files
  58. How to combine multiple databases into one
  59. How to combine two databases into one
  60. How to configure alerts to work with SSL e-mail accounts
  61. How to convert from bar-value to pixel co-ordinates
  62. How to copy backtest trade list to a spreadsheet
  63. How to correct forward looking timestamps
  64. How to count symbols in given category
  65. How to create copy of portfolio equity?
  66. How to create custom import definition for ASCII importer
  67. How to create toolbar button for custom interval
  68. How to create your own code snippet
  69. How to customize list-view columns
  70. How to delete quotes without removing the symbol from a database
  71. How to detect the divergences
  72. How to detect the study crossover for multiple symbols with use of SCAN
  73. How to display arrows for trades generated in backtest?
  74. How to display Bond and Bill prices in fractions
  75. How to display correlation between symbols
  76. How to display indicator values in the backtest trade list
  77. How to display interest gains in the backtest report
  78. How to display Range Bars
  79. How to display the indicators based on Advances/Declines
  80. How to draw regression channel programatically
  81. How to exclude top ranked symbol(s) in rotational backtest
  82. How to execute part of the formula only when new bar is added
  83. How to export chart image to a file
  84. How to export quotations from AmiBroker to CSV file ?
  85. How to export quotes to separate text files per symbol
  86. How to fill background between hand-drawn trend lines
  87. How to fill the area between two lines with a solid color
  88. How to find correct symbol for Interactive Brokers data
  89. How to fix Error 61 in printf/StrFormat calls
  90. How to fix outdated web research links
  91. How to fix side-by-side configuration error in 64-bit version
  92. How to force Line chart style for specific symbols (like mutual funds)
  93. How to get support most efficiently
  94. How to handle delisted symbols in rotational test
  95. How to hide unused categories
  96. How to identify signal that triggered entry/exit if multiple signals are used
  97. How to import huge ASCII files quickly
  98. How to increase font size for UI elements
  99. How to increase maximum periods of built-in indicators
  100. How to install AmiQuote 3.14 correctly
  101. How to make vertical selection line thinner
  102. How to manage overlapping entry/exit signals in portfolio test
  103. How to measure price / percentage distance on the chart
  104. How to migrate AmiBroker to a new computer
  105. How to move a window to another monitor
  106. How to plot a trailing stop in the Price chart
  107. How to plot daily High and Low on intraday chart
  108. How to populate Matrix from a text file
  109. How to print result list from Analysis window
  110. How to re-import the same data without downloading them again
  111. How to read highest high value of future bars
  112. How to register AmiQuote and AFL Code Wizard
  113. How to restore accidentially deleted price chart
  114. How to restore program menus and/or toolbars
  115. How to restrict trading to certain hours of the day
  116. How to run certain piece of code only once
  117. How to save layouts that hold individual parameter values for different symbols.
  118. How to set individual trading rules for symbols in the same backtest
  119. How to setup automatic periodic scans & explorations
  120. How to show date axis in a newly created chart pane
  121. How to show price ratio between two symbols
  122. How to sync a chart with the Analysis window
  123. How to synchronize backtesting setup on different computers
  124. How to use custom backtest metric as an optimization target
  125. How to use your LiveCharts account with AmiQuote ?
  126. How to verify if EOD data is available for download at Google Finance
  127. How to write to single shared file in multi-threaded scenario
  128. Importing auxilliary data into AmiBroker database
  129. Importing data using multiple column separators
  130. Indicators based on user values rather than standard OHLC prices
  131. Limit number of trades per day in a backtest
  132. Limits of multithreading
  133. Long-only rotational back-test
  134. Lost activation key
  135. Low-level gfx example: Yearly/monthly profit chart
  136. Make icons larger on high DPI displays
  137. New keywords in AFL and possible conflict with user-defined variables
  138. Number of stopped-out trades as a custom metric
  139. Per-symbol profit/loss in a portfolio backtest
  140. Points-only backtest
  141. Position sizing based on risk
  142. Positioning area plots behind the grid lines
  143. Preventing exit during first N bars
  144. Price chart with independent style
  145. Purchases from Hong Kong
  146. QuickAFL facts
  147. Re-balancing open positions
  148. Recommended hardware/software for AmiBroker
  149. Relationship between chart panes
  150. Ruin stop or mysterious Short(6) in the trade list
  151. Running AmiBroker on Windows Vista (both 32 and 64 bit editions)
  152. Running OLE automation scripts with 32- and 64-bit versions of AmiBroker
  153. Separate ranks for categories that can be used in backtesting
  154. Setting default color for studies
  155. Setting up with FXCM (forex broker)
  156. Single license use on multiple computers?
  157. Stops priority in the default backtest procedure in AmiBroker
  158. Study() function in logarithmic scale
  159. Support and sales is by e-mail only
  160. Support response times
  161. Symbol selection when PositionScore is not defined
  162. Text output in Explorations
  163. Third party software “black list”
  164. Third-party plugins must ship with proper runtime
  165. Third-party plugins must use multithreaded run-time
  166. Time compression of data retrieved from another symbol
  167. Timestamps explained
  168. Too small / unreadable Profit Table in the backtest report
  169. Troubleshooting procedure when backtest shows no trades
  170. Using Exclude statement to skip unwanted optimization steps
  171. Using IB controller (auto-trading interface) with 64-bit version of AmiBroker
  172. Using loops with TimeFrame functions
  173. Using multiple watchlists as a filter in the Analysis
  174. Using optimum parameter values in backtesting
  175. Using per-symbol parameter values in charts
  176. Using price levels with ApplyStop function
  177. Using redundant signals for entries
  178. Using Zig-Zag in trading systems
  179. Webroot antivirus prevents clipboard Paste function
  180. What are constants in AFL and how they work
  181. When and how often AFL code is executed?
  182. Where does AmiQuote save downloaded data?
  183. Why Analysis results and Chart output may differ
  184. Why can’t I change the symbol? (Symbol lock)
  185. Why do backtest results change?
  186. Wrong close price in Yahoo data (no more?)

Chronological list

October 2017

June 2017

May 2017

November 2016

April 2016

February 2016

January 2016

December 2015

November 2015

October 2015

September 2015

August 2015

March 2015

February 2015

January 2015

December 2014

November 2014

October 2014

September 2014

August 2014

May 2014

March 2014

May 2012

October 2011

September 2011

November 2010

September 2010

July 2010

April 2009

March 2009

August 2008

July 2008

May 2008

April 2008

February 2008

October 2007

August 2007

July 2007

May 2007

April 2007

March 2007

February 2007

January 2007

October 2006

September 2006

August 2006

May 2006

April 2006

March 2006

Comments are closed.