Brokey For Amibroker -
Use Brokey > 0 to filter only long breakout signals (e.g., channel breaks, moving average crosses).
For intraday traders, Brokey can automatically shade pre-market, regular trading hours, and after-hours sessions directly on the chart. This visual context is crucial for gap strategies and volume profiling.
This is where Amibroker shines. You can write a simple AFL (Amibroker Formula Language) snippet to scan your entire database for holes.
Paste this code into your Analysis Window: brokey for amibroker
// Brokey Detector - Find Missing Data Holes
// Set
Brokey for AmiBroker is an essential dynamic-link library (DLL) file included in the standard AmiBroker installation. It serves as a core application component required for the main broker.exe program to function properly. Core Functionality
System Integration: Brokey.dll is one of several critical support libraries—alongside CoolTool.dll and MiscTool.dll—that AmiBroker needs to run its technical analysis and charting environment.
Feature Unlocking: While specific documentation on individual DLL logic is internal, these files generally handle the licensing, advanced charting, and data-processing features that allow traders to identify profitable opportunities. Role in Automated Trading Use Brokey > 0 to filter only long breakout signals (e
While brokey.dll is a background system file, it operates within the broader AmiBroker ecosystem used for:
AFL Scripting: Creating custom indicators and automated strategies using AmiBroker Formula Language (AFL).
Bridge Integration: Connecting AmiBroker to broker APIs for automated execution, often through third-party tools like Algomojo or OpenAlgo. Brokey for AmiBroker is an essential dynamic-link library
Data Handling: Supporting high-speed data processing (up to 166 million bars per second) through highly optimized C++ code. Installation and Troubleshooting Brokey For Amibroker
AmiBroker’s native ApplyStop does not handle a stock going to $0.01 and then being removed from the exchange. Brokey introduces a custom DelistedStop() function:
This single feature changes everything. Suddenly, strategies that hold positions for months are forced to take catastrophic losses, revealing their true risk.
Let’s get technical. Assuming you have sourced a delisted stock master file (a CSV with Ticker, DelistDate, FinalPrice), here is how to integrate the Brokey system.
Standard Amibroker lets you draw a horizontal line. Brokey lets you draw a line that displays its price value right on the line, adjusts the text position automatically, and allows you to snap to high/low/close with a single click. This is a game-changer for identifying round numbers, breakout levels, and stop-loss zones.