If you want, I can:
Related search suggestions: (Launching related search terms...)
To implement Brokey for AmiBroker, you need data. Here is where to find it: brokey for amibroker
| Provider | Delisted Coverage | Cost | AmiBroker Integration | | :--- | :--- | :--- | :--- | | Norgate Premium | Full history of delisted US stocks (1925+) | $39/mo | Native plugin | | CSI Data | Unadjusted master files | $29/mo | ASCII import | | Yahoo Finance (historical components) | Incomplete, requires manual scraping | Free | Via AmiQuote + Python | | Brokey Community GitHub | Crowdsourced lists of bankruptcies (2000-2020) | Free | CSV import |
Recommendation: Pay for Norgate if you are serious. It includes the “Delisted Flag” as a built-in field. Then, use Brokey scripts to handle the response to that flag. If you want, I can:
Brokey is a utility/script used with AmiBroker to detect and manage broken/invalid data, symbol mismatches, or problematic bars that can cause analysis and backtests to produce incorrect results. It helps find gaps, duplicate timestamps, erroneous prices (e.g., zero or null), and misaligned symbol headers.
The typical Brokey formula structure is: Related search suggestions: (Launching related search terms
Brokey = (C - Ref(C, -Length)) / (ATR(ATR_Period) * Multiplier)
Where:
Alternatively, a smoothed version may use EMA of the raw Brokey.
Interpretation:
// Simple Brokey-like check: flags bars with non-positive or NaN close
bad = (Close <= 0) OR IsNull(Close);
if (LastValue(Sum(bad, BarCount)) > 0)
printf("%s has %d bad bars\n", Name(), LastValue(Sum(bad, BarCount)));