Brokey - For Amibroker

If you are receiving an error related to "Brokey," it usually indicates a corrupted installation or a missing file in your AmiBroker installation directory : Reinstall the software from the official download page

// Simple Brokey-like check: flags bars with non-positive or NaN close bad = (Close <= 0) OR IsNull(Close); if (LastValue(Sum(bad, BarCount)) > 0) brokey for amibroker

// Before entering a trade BrokeyRisk = ExRem(BrokeyRisk, False); if( Buy AND NOT BrokeyRisk ) // Only enter if stock isn't on the "about to die" watchlist SetPositionSize( 2, spsPercentOfEquity ); If you are receiving an error related to

When you install AmiBroker , the installation directory includes several critical application files: = 0) OR IsNull(Close)