Dataset Viewer
Auto-converted to Parquet Duplicate
item_id
stringlengths
8
8
prompt
stringlengths
157
1.67k
item_001
//#PROMPT_BEGIN // NAME: EA_CAT276_vwap_cross_bear_h4_v60_sw10_v100 // TIMEFRAME: PERIOD_H4 // INDICATORS: None -- inline VWAP computed from iHigh/iLow/iClose typical price weighted by iVolume over InpVWAP_Period bars // BUY: No buy signal for this bearish crossover filter. // SELL: Close crosses below VWAP: close[2] >...
item_002
//#PROMPT_BEGIN // NAME: EA_OOP_10A_0030_v101 // TIMEFRAME: H1 // INDICATORS: ATR(14) // BUY: Bullish candle body exceeds InpBodyMult times 10-bar average body size // SELL: Bearish candle body exceeds InpBodyMult times 10-bar average body size // EXIT: Break-even with lock. Activation=ATR*InpATR_BE, lock=InpBE_Lock po...
item_003
//#PROMPT_BEGIN // NAME: EA_OOP_0417_EA_Multi_14D_0022_v100_D1_trail // TIMEFRAME: D1 // INDICATORS: CCI(20), ATR(14) // BUY: CCI(20) exits oversold zone (crosses above -100) // SELL: CCI(20) exits overbought zone (crosses below 100) // EXIT: Trailing stop + break-even. // MANAGE_TIMING: ON_TICK (ManagePosition every t...
item_004
//#PROMPT_BEGIN // NAME: TS_T18_A06_M7 // INDICATORS: MACD(12,26,9), ATR(14) // BUY: MACD main[1] crosses above 0 // SELL: MACD main[1] crosses below 0 // EXIT: SL=ATR*2.0, TP=ATR*3.0, Time-based exit (N bars) // MANAGE_TIMING: ON_NEW_BAR // RISK: Fixed fractional equity risk per trade using Risk=1.0% position sizing b...
item_005
//#PROMPT_BEGIN // NAME: EA_OOP_0308_EA_Multi_14B_0013_v100_H4_trail // TIMEFRAME: H4 // INDICATORS: MFI(14), ATR(14) // BUY: MFI(14) exits oversold zone (crosses above 20) // SELL: MFI(14) exits overbought zone (crosses below 80) // EXIT: SL/TP only (no trailing) // MANAGE_TIMING: ON_NEW_BAR // RISK: Fixed fractional ...
item_006
//#PROMPT_BEGIN // NAME: EA_SES_0161_EA_GAP_9A_0034_v100 // TIMEFRAME: M15 // INDICATORS: ADX(14), ATR(14) // BUY: +DI above -DI + bullish bar // SELL: +DI below -DI + bearish bar // EXIT: SL/TP only + forced close at session end (7:00 GMT) // MANAGE_TIMING: ON_TICK (SupervisePosition every tick; signals on new bar wit...
item_007
//#PROMPT_BEGIN // NAME: EA_OOP_1121_EA_PRO_8G_0056_v100_H4_trail // TIMEFRAME: H4 // INDICATORS: ADX(14), RSI(14), ATR(14) // BUY: Ranging regime (ADX < threshold): RSI crosses back above oversold (reversal buy) // SELL: Ranging regime (ADX < threshold): RSI crosses back below overbought (reversal sell) // EXIT: SL/TP...
item_008
//#PROMPT_BEGIN // NAME: EA_EVT_4322_EA_PRO_8G_0147_v100 // TIMEFRAME: H1 // INDICATORS: Ichimoku(9,26,52), RSI(14), ATR(14), Ichimoku // BUY: Price above Ichimoku cloud + RSI crosses above 50 // SELL: Price below Ichimoku cloud + RSI crosses below 50 // EXIT: ATR trailing stop. Trail activation=ATR*InpATR_TrailStart, ...
item_009
//#PROMPT_BEGIN // NAME: SCRIPT_GAP_9B_0035_v102 // TYPE: script // DESCRIPTION: Print daily_stats table contents to Experts log // PARAMS: DbName=history_data.sqlite //#PROMPT_END
item_010
//#PROMPT_BEGIN // NAME: EA_OOP_0822_EA_PRO_8A_0076_v100 // TIMEFRAME: D1 // INDICATORS: ADX(14), ATR(14), ADX // BUY: ADX above threshold + +DI crosses above -DI // SELL: ADX above threshold + -DI crosses above +DI // EXIT: Trailing stop + break-even. // MANAGE_TIMING: ON_TICK (ManagePosition every tick; signals on ne...
item_011
//#PROMPT_BEGIN // NAME: TG_R2_I41_M5 // INDICATORS: ATR(14) // BUY: Close moves more than 1.5*ATR above previous close (explosive move up) // SELL: Close moves more than 1.5*ATR below previous close (explosive move down) // EXIT: SL=ATR*2.0, TP=ATR*3.0, Partial close 50% at TP1, trailing remainder // MANAGE_TIMING: ON...
item_012
//#PROMPT_BEGIN // NAME: EA_DRT_2325_max_pos_per_symbol_v100 // MARKET: Fx // TIMEFRAME: H4 // INDICATORS: RSI(14), ATR(14) // BUY: RSI crosses above 30 from below on confirmed bar // SELL: RSI crosses below 70 from above on confirmed bar // EXIT: ATR-based SL/TP only. VWAP anchor with daily reset accumulator. Daily re...
item_013
//#PROMPT_BEGIN // NAME: EA_CAT262_0020_ha_consec_bear_h1_sw10_r_v100 // TIMEFRAME: PERIOD_H1 // INDICATORS: None -- inline Heikin Ashi from iOpen/iClose/iHigh/iLow (no indicator handle) // BUY: InpHA_Count consecutive bearish HA bars followed by a bullish HA bar[1] (reversal). Counter-trend BUY after bearish streak. /...
item_014
//#PROMPT_BEGIN // NAME: EA_EOD_0161_EA_GAP_9A_0034_v100 // MARKET: Fx // TIMEFRAME: D1 // INDICATORS: ADX(14), ATR(14) // BUY: +DI above -DI + bullish bar // SELL: +DI below -DI + bearish bar // EXIT: SL/TP only. Reduce position by 50% at close. Allow overnight. // MANAGE_TIMING: ON_TICK (position management every tic...
item_015
//#PROMPT_BEGIN // NAME: EA_MFD_0022_mfd_ema_m14_lb8_r20_v100 // INDICATORS: iMFI(InpMFI_Period, VOLUME_TICK), iMA(50, EMA, PRICE_CLOSE) // BUY: MFI bullish divergence AND EMA(50) slope up (ema[1] > ema[2]) // SELL: MFI bearish divergence AND EMA(50) slope down (ema[1] < ema[2]) // EXIT: SL: N-bar swing low/high (for-l...
item_016
//#PROMPT_BEGIN // NAME: EA_OOP_2890_cci_plus100_cross_v100 // TIMEFRAME: M15 // INDICATORS: CCI(14), ATR(14) // BUY: CCI crosses above -100 from below (val[2]<InpCCI_OS AND val[1]>InpCCI_OS) // SELL: CCI crosses below +100 from above (val[2]>InpCCI_OB AND val[1]<InpCCI_OB) // EXIT: ATR trailing stop. Trail activation=...
item_017
//#PROMPT_BEGIN // NAME: EA_CHA_0007_MACD_Chan_p14_m20_v100 // INDICATORS: MACD(12,26,9), ATR(14) // BUY: MACD main crosses above signal line (bar[2] main<=signal, bar[1] main>signal) // SELL: MACD main crosses below signal line (bar[2] main>=signal, bar[1] main<signal) // EXIT: Chandelier trailing stop: highest high(1...
item_018
//#PROMPT_BEGIN // NAME: EA_SES_0833_EA_PRO_8A_0076_v100 // TIMEFRAME: M15 // INDICATORS: ADX(14), ATR(14) // BUY: ADX above threshold + +DI crosses above -DI // SELL: ADX above threshold + -DI crosses above +DI // EXIT: ATR trailing stop + forced close at session end (16:00 GMT) // MANAGE_TIMING: ON_TICK (SupervisePos...
item_019
//#PROMPT_BEGIN // NAME: EA_C3D_0187_oop_base_derived_v100 // INDICATORS: RSI(14), ATR(14) // BUY: CSignalRSI::CheckSignal returns 1 // SELL: CSignalRSI::CheckSignal returns -1 // EXIT: ATR-based SL/TP // MANAGE_TIMING: ON_NEW_BAR // RISK: Fixed lot 0.1 // FUNCS: OnInit, OnDeinit, OnTick, IsNewBar, CSignalBase(virtual)...
item_020
//#PROMPT_BEGIN // NAME: EA_PRO_8F_0074_v113 // TIMEFRAME: H4 // INDICATORS: EMA(60) for trend, 24-bar swing levels, ATR(14) for SL/TP // BUY: Prior downtrend + close breaks above swing high (market structure shift buy) // SELL: Prior uptrend + close breaks below swing low (market structure shift sell) // EXIT: ATR tra...
item_021
//#PROMPT_BEGIN // NAME: EA_EQT_0034_STOCH_EQT_pct10_rr25_ms05_v100 // INDICATORS: Stochastic(14,3,3) // BUY: Stochastic %%K < InpStoch_OS (20) — oversold entry // SELL: Stochastic %%K > InpStoch_OB (80) — overbought entry // EXIT: SL = lowest low (buy) / highest high (sell) of last 10 bars via iLow/iHigh loop. TP = SL...
item_022
//#PROMPT_BEGIN // NAME: EA_SXE_7061_momentum_sma_regime_d_v100 // MARKET: Fx // TIMEFRAME: M15 // INDICATORS: Momentum(14), SMA(14), ATR(14) // BUY: Momentum(14)[1] > [2] (rising) (regime) AND SMA(100)[1] > [2] (rising) (trigger) // SELL: Momentum(14)[1] < [2] (falling) (regime) AND SMA(100)[1] < [2] (falling) (trigge...
item_023
//#PROMPT_BEGIN // NAME: EA_C1B_0098_handle_busy_v100 // MARKET: Gold // BUY: Market buy via SendOrderWithRetry() (raw OrderSend with retry loop; no CTrade, no separate PlaceEntry; fill policy auto-detected via OrderCheck in OnInit) // SELL: N/A // EXIT: Sleep and retry on TRADE_RETCODE_TOO_MANY_REQUESTS or TRADE_RETCO...
item_024
//#PROMPT_BEGIN // NAME: EA_SES_6410_dynscale_ichimoku_wpr_v100 // TIMEFRAME: M15 // INDICATORS: Ichimoku(9,26,52), WPR(14), ATR(14) // BUY: HTF price above Ichimoku cloud top (bullish) AND LTF WPR crosses above InpWPR_OS (oversold recovery) // SELL: HTF price below Ichimoku cloud bottom (bearish) AND LTF WPR crosses b...
item_025
//#PROMPT_BEGIN // NAME: EA_SXE_9803_ichimoku_macd_sequenti_v100 // MARKET: Fx // TIMEFRAME: M15 // INDICATORS: Ichimoku(9,26,52), MACD(12,26,9), ATR(14), Ichimoku // BUY: Setup: Ichimoku(9,26,52) Tenkan[1] > [2] (rising) onset (stamps only when g_setupDir != 1; g_setupDir persists until opposite setup overwrites), sto...
item_026
//#PROMPT_BEGIN // NAME: EA_C365_0096_ac_ma_disagree_h1_atr14_sl30_tr20_v100 // TIMEFRAME: H1 // INDICATORS: iAC() for Accelerator Oscillator, iMA(InpEMA_Period, MODE_EMA) for trend direction, iATR(InpATR_Period) for trailing stop distance // BUY: EMA slope bearish (EMA[1] < EMA[2]) but AC rising (AC[1] > AC[2]) and AC...
item_027
//#PROMPT_BEGIN // NAME: EA_ZSC_0025_ZScore_Stch_p20_z18_v100 // INDICATORS: iMA(SMA, InpPeriod) for mean, iStdDev(InpPeriod) for StdDev, iBands(InpPeriod,2.0) for SL/TP, iStochastic(14,3,3) confirmation // BUY: Z < -InpZThresh AND Stoch-K(14,3,3) < 20 (both oversold). SL at lower BB, TP at SMA. // SELL: Z > +InpZThres...
item_028
//#PROMPT_BEGIN // NAME: EA_SPD_0077_sprd_weekly_open_sp10_r20_sw_v100 // INDICATORS: None -- spread gate plus weekly open level comparison (iOpen PERIOD_W1) // BUY: Spread <= InpMaxSpread AND close[1] > iOpen(_Symbol,PERIOD_W1,1) AND close[1] > open[1] (bullish bar above weekly open). BUY. // SELL: Spread <= InpMaxSpr...
item_029
//#PROMPT_BEGIN // NAME: EA_CAT286_mex_ma_filter_h1_f5s40_sw8_v100 // TIMEFRAME: PERIOD_H1 // INDICATORS: iMA(InpEMA_Period, MODE_EMA) -- momentum exhaustion with EMA trend filter // BUY: Fast momentum troughed (fast_mom[bar1] < fast_mom[bar2] AND fast_mom[bar0] > fast_mom[bar1]) AND close[1] > EMA for bullish trend co...
item_030
//#PROMPT_BEGIN // NAME: TS_T02_M30_M1 // INDICATORS: ATR(14) // BUY: Close-to-close change accelerating (c1-c2 > c2-c3 > c3-c4 > 0) while bar ranges shrinking (r1 < r2 < r3) — hidden momentum // SELL: Close-to-close change decelerating downward while bar ranges shrinking // EXIT: SL=ATR*2.0, TP=ATR*3.0 // MANAGE_TIMIN...
item_031
//#PROMPT_BEGIN // NAME: EA_FSM_1334_I09_v100 // TIMEFRAME: M5 // INDICATORS: Bollinger(20), Stochastic(14,3,3), ADX(14), ATR(14) // BUY: Close touches BB lower AND Stoch K crosses above D AND ADX < 25 (ranging) // SELL: Close touches BB upper AND Stoch K crosses below D AND ADX < 25 (ranging) // EXIT: SL = ATR * 1.0, ...
item_032
//#PROMPT_BEGIN // NAME: EA_OOP_1416_adx_stochastic_mtf_v100_H1_e978 // TIMEFRAME: H1 // INDICATORS: ADX(14), Stochastic(14,3,3), ATR(14) // BUY: HTF ADX above threshold AND +DI > -DI (bullish directional) AND LTF Stoch %K crosses above %D in OS zone (below InpStoch_OS) // SELL: HTF ADX above threshold AND -DI > +DI (b...
item_033
//#PROMPT_BEGIN // NAME: EA_VWP_0020_VwapCCI_vb30_sl150_rr25_v100 // INDICATORS: Inline VWAP (volume-weighted average price over InpVwapBars bars, real volume with tick volume fallback), CCI(14) // BUY: Close[1] > VWAP AND CCI(14) crosses above -100 (oversold recovery). VWAP computed over InpVwapBars bars // SELL: Clos...
item_034
//#PROMPT_BEGIN // NAME: EA_C388_0076_DmMACD_dp5_swg10_rr20_v100 // INDICATORS: iDeMarker (period=InpDeM_Period), iMACD (fast=InpMACD_Fast, slow=InpMACD_Slow, signal=InpMACD_Sig) // BUY: DeMarker[1] < InpDeM_OS AND MACD main[1] > MACD signal[1] (oversold + MACD bullish) // SELL: DeMarker[1] > InpDeM_OB AND MACD main[1]...
item_035
//#PROMPT_BEGIN // NAME: EA_C3A_0215_ema_adx_override_v100 // INDICATORS: EMA(50), ADX(14), ATR(14) // BUY: ADX(14) +DI crosses above -DI with ADX > InpADX_Threshold UNLESS EMA(50) vetoes (EMA(50)[1] < [2] (falling)) // SELL: ADX(14) -DI crosses above +DI with ADX > InpADX_Threshold UNLESS EMA(50) vetoes (EMA(50)[1] < ...
item_036
//#PROMPT_BEGIN // NAME: TS_T02_A04_M4 // INDICATORS: RSI(14), ATR(14) // BUY: RSI(14)[1] crosses above 50 // SELL: RSI(14)[1] crosses below 50 // EXIT: SL=ATR*2.0, TP=ATR*3.0, ATR trailing + break-even at 1R // MANAGE_TIMING: ON_TICK // RISK: Fixed fractional equity risk per trade using Risk=1.0% position sizing based...
item_037
//#PROMPT_BEGIN // NAME: EA_OOP_0441_FUT_SES_002_v100 // TIMEFRAME: H4 // INDICATORS: ATR, EMA // BUY: Close above prior-day high AND above EMA(20) // SELL: Close below prior-day low AND below EMA(20) // EXIT: Break-even with lock. Activation=ATR*InpATR_BE, lock=InpBE_Lock points. // MANAGE_TIMING: ON_TICK (ManagePosit...
item_038
//#PROMPT_BEGIN // NAME: EA_MIN_1867_sar_macd_regime_d_v100_H1_trail // TIMEFRAME: H1 // INDICATORS: SAR, MACD(14,30,10), ATR(14) // BUY: SAR(0.02,0.2) flips below price (SAR reversal to bullish) (regime) AND MACD(14,30,10) Main[1] > [2] (rising) (trigger) // SELL: SAR(0.02,0.2) flips above price (SAR reversal to beari...
item_039
//#PROMPT_BEGIN // NAME: EA_EVT_1036_EA_PRO_8F_0002_v100_D1_trail // TIMEFRAME: D1 // INDICATORS: ATR(14) // BUY: Bar[1] wick sweeps below swing low but closes back above (buy reversal) // SELL: Bar[1] wick sweeps above swing high but closes back below (sell reversal) // EXIT: ATR trailing stop. Trail activation=ATR*In...
item_040
//#PROMPT_BEGIN // NAME: EA_CAT272_frac_chain_bull_m15_f5_sw6_r20_v100 // TIMEFRAME: M15 // INDICATORS: None -- inline 5-bar fractal detection, two consecutive fractal highs each higher than prior (HH pattern) // BUY: Scan bars[1..InpScan_Bars] for two 5-bar fractal highs. If the more recent fractal high is above the o...
item_041
//#PROMPT_BEGIN // NAME: EA_MFS_0017_MFSMid_mp14_cp14_ep100_sl30_rr20_v100 // INDICATORS: iMFI (period=InpMFIPeriod) midline cross (50) // BUY: MFI[2] < 50 AND MFI[1] >= 50 (cross above midline — positive money flow) // SELL: MFI[2] > 50 AND MFI[1] <= 50 (cross below midline — negative money flow) // EXIT: SL = fixed 3...
item_042
//#PROMPT_BEGIN // NAME: EA_EVT_0076_C09_v100_M15_trail // TIMEFRAME: M15 // INDICATORS: AO, ATR(14) // BUY: Price lower low but AO higher low // SELL: Price higher high but AO lower high // EXIT: ATR trailing stop. Trail activation=ATR*InpATR_TrailStart, trail distance=ATR*InpATR_Trail. Uses Bid for BUY, Ask for SELL....
item_043
//#PROMPT_BEGIN // NAME: EA_MIN_1470_bollinger_cci_sequenti_v100_H1_trail // TIMEFRAME: H1 // INDICATORS: Bollinger(20), CCI(14), ATR(14) // BUY: Setup: Bollinger(20,2.0) price below lower band (oversold) onset (stamps only when g_setupDir != 1; g_setupDir persists until opposite setup overwrites), stored via g_setupBa...
item_044
//#PROMPT_BEGIN // NAME: EA_MIN_1544_d28_S03_v100_H4_trail // TIMEFRAME: H4 // INDICATORS: TEMA(21), ATR(14) // BUY: close[1] crosses above TEMA(21)[1] // SELL: close[1] crosses below TEMA(21)[1] // EXIT: ATR trailing stop. Trail activation=ATR*InpATR_TrailStart, trail distance=ATR*InpATR_Trail. Initial SL/TP from ATR....
item_045
//#PROMPT_BEGIN // NAME: EA_SXE_0447_EA_OOP_10A_0006_v100 // MARKET: Fx // TIMEFRAME: M15 // INDICATORS: RSI(14), ATR(14) // BUY: RSI(14) exits oversold zone after spending InpStreakMin+ bars in OS // SELL: RSI(14) exits overbought zone after spending InpStreakMin+ bars in OB // EXIT: SL/TP only // MANAGE_TIMING: ON_TI...
item_046
//#PROMPT_BEGIN // NAME: EA_CAT345_kel_vol_bear_p30_m15_H4_v100 // INDICATORS: None -- inline Keltner channel: SMA of 30 closes +/- 1.5 * avg bar range (H-L), no indicator handles // BUY: No buy signal // SELL: DUAL condition: (A) close[1] < lower Keltner band AND (B) tick_volume[1] > 1.5 * average tick volume of InpPe...
item_047
//#PROMPT_BEGIN // NAME: EA_C366_0009_rvi_sig_cross_r21a14_sl30tp40_w1_v100 // TIMEFRAME: W1 // INDICATORS: iRVI(InpRVI_Period) main and signal lines, iATR(InpATR_Period) for SL/TP sizing // BUY: RVI main line crosses above signal line: rvi[2] <= sig[2] AND rvi[1] > sig[1]. Bullish momentum shift confirmed by vigor cro...
item_048
//#PROMPT_BEGIN // NAME: EA_C369_0033_trb_contract_m30_10_25_60_sw_r25_v100 // TIMEFRAME: M30 // INDICATORS: iTEMA(InpTEMA_Fast) fast line, iTEMA(InpTEMA_Mid) mid line, iTEMA(InpTEMA_Slow) slow line for ribbon context // BUY: Ribbon was bearish on bar[2] (fast[2] < slow[2]) AND contracting: MathAbs(fast[1]-slow[1]) < M...
item_049
//#PROMPT_BEGIN // NAME: EA_EVT_0835_EA_PRO_8C_0129_v100_H1_e978 // TIMEFRAME: H1 // INDICATORS: CCI(16), ATR(14) // BUY: CCI crosses above zero (bullish pullback entry) // SELL: CCI crosses below zero (bearish pullback entry) // EXIT: Break-even with lock. Activation=ATR*InpATR_BE, lock=InpBE_Lock points. // MANAGE_TI...
item_050
//#PROMPT_BEGIN // NAME: EA_COD_0061_CodWPR_cc14_dp10_os5_v100 // INDICATORS: iCCI (CCI extreme), iOBV (OBV slope), Williams %R(14) // BUY: CCI[1] < -InpCciOS AND OBV slope positive AND WPR[1] < -80 (oversold) // SELL: CCI[1] > InpCciOS AND OBV slope negative AND WPR[1] > -20 (overbought) // EXIT: SL = lowest low of la...
item_051
//#PROMPT_BEGIN // NAME: EA_DRT_0596_EA_PRO_8G_0111_v100 // MARKET: Fx // TIMEFRAME: H4 // INDICATORS: Bollinger(20), Stochastic(14,3,3), ATR(14) // BUY: BB squeeze (bandwidth ratio < SqzRatio) + %%K crosses above %%D in oversold zone // SELL: BB squeeze (bandwidth ratio < SqzRatio) + %%K crosses below %%D in overbough...
item_052
//#PROMPT_BEGIN // NAME: EA_KCK_0083_kick_body_g5_r20_dc30_v100 // INDICATORS: None -- kicker pattern where bar[1] body > bar[2] body (momentum accelerating) // BUY: Bullish kicker (bar[2] bearish, bar[1] gaps up open[1]>open[2], bar[1] bullish) AND |close[1]-open[1]| > |close[2]-open[2]|. Momentum-accelerating BUY. //...
item_053
//#PROMPT_BEGIN // NAME: EA_MIN_8786_ema_adx_sequenti_v100 // TIMEFRAME: H4 // INDICATORS: EMA(14), ADX(14), ATR(14), ADX // BUY: Setup: EMA(50)[1] > [2] (rising) onset (stamps only when g_setupDir != 1; g_setupDir persists until opposite setup overwrites), stored via g_setupBar=iBars() and g_setupDir=+1; Confirm: ADX(...
item_054
//#PROMPT_BEGIN // NAME: EA_CAT348_range_fade_bull_rp30_m5_H1_v100 // INDICATORS: None (inline regime detection over 30 bars + momentum = close[1]-close[1+5]) // BUY: Regime is ranging (neither trending bull nor bear) AND momentum < -InpMomThresh (oversold in range) => buy fade // SELL: No sell signal // EXIT: SL=swing...
item_055
//#PROMPT_BEGIN // NAME: EA_HAK_0083_hak_vol_c2_pip_v100 // INDICATORS: Inline Heikin-Ashi candle computation, tick volume 20-bar average // BUY: HA bar[2] is red AND HA bar[1] is green AND bar[1] tick volume > 20-bar average volume // SELL: HA bar[2] is green AND HA bar[1] is red AND bar[1] tick volume > 20-bar averag...
item_056
//#PROMPT_BEGIN // NAME: EA_C385_0035_DayRngBB_dt2_rr30_sw12_v100 // INDICATORS: Bollinger Bands(InpBB_Period, InpBB_Dev), inline daily OHLC tracking // BUY: Daily reset at midnight. Daily range (g_dayHigh - g_dayLow) < BB width (upper[1] - lower[1]) (contracted day) AND close[1] <= lower[1] (at lower BB). Daily trade ...
item_057
//#PROMPT_BEGIN // NAME: EA_CAT342_osc_cross_bear_f5_s50_h4_v100 // TIMEFRAME: H4 // INDICATORS: None -- inline price oscillator (fast SMA - slow SMA) computed from iClose, no indicator handle // BUY: No buy signal. This EA only trades bearish zero-line crossovers. // SELL: Price oscillator (InpFastPeriod-bar SMA minus...
item_058
//#PROMPT_BEGIN // NAME: EA_CAT331_tq_dual_bull_qp20_ct70_et50_M15_v100 // INDICATORS: SMA(20) // BUY: STATE==1 (cond_A) AND inline efficiency ratio > InpEfficiencyGate (cond_B): net displacement / total path over InpQualityPeriod bars (dual gate within state) // SELL: No sell signal (bull-only dual gate within quality...
item_059
//#PROMPT_BEGIN // NAME: EA_C394_0049_ChkEMA_rr30_dch30_v100 // INDICATORS: iChaikin(InpChk_Fast, InpChk_Slow), iMA EMA(InpEMA_Period) // BUY: Session: New York (13-21 UTC). Chaikin[1] > 0 (positive buying pressure) AND close[1] > EMA[1] (above EMA trend). Trend-aligned volume buy. // SELL: Session: New York. Chaikin[1...
item_060
//#PROMPT_BEGIN // NAME: EA_MIN_1707_ichimoku_macd_v100_H1_be // TIMEFRAME: H1 // INDICATORS: Ichimoku(9,26,52), MACD(14,30,10), ATR(14) // BUY: Setup: Ichimoku(9,26,52) Tenkan[1] > [2] (rising) onset (stamps only when g_setupDir != 1; g_setupDir persists until opposite setup overwrites), stored via g_setupBar=iBars() ...
item_061
//#PROMPT_BEGIN // NAME: EA_C2A_0936_sma_price_cross_v200 // TIMEFRAME: M15 // INDICATORS: SMA(100), ATR(14) // BUY: Close crosses above SMA (Close[2]<=SMA[2] AND Close[1]>SMA[1]) // SELL: Close crosses below SMA (Close[2]>=SMA[2] AND Close[1]<SMA[1]) // EXIT: SL=ATR(14)*2.0 from entry; TP=ATR(14)*3.0 from entry; No tr...
item_062
//#PROMPT_BEGIN // NAME: EA_EVT_0013_A13_v100_H1_e978 // TIMEFRAME: H1 // INDICATORS: Bollinger(20), ATR(14) // BUY: close[1] breaks above BB upper[1] // SELL: close[1] breaks below BB lower[1] // EXIT: Break-even with lock. Activation=ATR*InpATR_BE, lock=InpBE_Lock points. // MANAGE_TIMING: ON_NEW_BAR (ManagePosition ...
item_063
//#PROMPT_BEGIN // NAME: EA_EOD_12102_outside_bar_v100 // MARKET: Fx // TIMEFRAME: D1 // INDICATORS: ATR(14) // BUY: Outside bar bullish: bar[1] engulfs bar[2] range (H[1]>H[2] AND L[1]<L[2]) with Close[1]>Open[1] // SELL: Outside bar bearish: bar[1] engulfs bar[2] range (H[1]>H[2] AND L[1]<L[2]) with Close[1]<Open[1] ...
item_064
//#PROMPT_BEGIN // NAME: TS_T06_I13_M2 // INDICATORS: ADX(14), RSI(14), SAR(0.02,0.2), ATR(14) // BUY: ADX > 25 AND +DI > -DI AND RSI > 50 AND SAR below price // SELL: ADX > 25 AND -DI > +DI AND RSI < 50 AND SAR above price // EXIT: SL=ATR*2.0, TP=ATR*3.0, ATR trailing stop // MANAGE_TIMING: ON_TICK // RISK: Fixed frac...
item_065
//#PROMPT_BEGIN // NAME: TS_T14_E32_M2 // INDICATORS: HTF BB on PERIOD_D1, MACD(12,26,9), ATR(14) // BUY: D1 bb bullish AND MACD buy // SELL: D1 bb bearish AND MACD sell // EXIT: SL=ATR*2.0, TP=ATR*3.0, ATR trailing stop // MANAGE_TIMING: ON_TICK // RISK: Fixed fractional equity risk per trade using Risk=1.0% position ...
item_066
//#PROMPT_BEGIN // NAME: EA_EVT_0969_EA_PRO_8E_0025_v100_M15_trail // TIMEFRAME: M15 // INDICATORS: ATR(14) // BUY: Close crosses above Asian session high (checked on bar[1] after 08:00) // SELL: Close crosses below Asian session low (checked on bar[1] after 08:00) // EXIT: ATR trailing stop. Trail activation=ATR*InpAT...
item_067
//#PROMPT_BEGIN // NAME: EA_DRT_0018_B18_v100 // MARKET: Fx // TIMEFRAME: H4 // INDICATORS: Bollinger(20), RSI(14), ADX(14), ATR(14) // BUY: Close > BB upper AND RSI > 50 AND ADX > 25 // SELL: Close < BB lower AND RSI < 50 AND ADX > 25 // EXIT: ATR-based SL/TP only. VWAP anchor with daily reset accumulator. Daily refs:...
item_068
//#PROMPT_BEGIN // NAME: EA_MIN_1622_ema_adx_sequenti_v100_D1_be // TIMEFRAME: D1 // INDICATORS: EMA(50), ADX(14), ATR(14) // BUY: Setup: EMA(50)[1] > [2] (rising) onset (stamps only when g_setupDir != 1; g_setupDir persists until opposite setup overwrites), stored via g_setupBar=iBars() and g_setupDir=+1; Confirm: ADX...
item_069
//#PROMPT_BEGIN // NAME: EA_PND_0036_BBCCI_PE_pct15_rr30_off03_exp10_v100 // INDICATORS: Bollinger(20,2.0), CCI(20) // BUY: Close breaks above upper BB AND CCI > 0. Place BuyLimit at offset below ask. // SELL: Close breaks below lower BB AND CCI < 0. Place SellLimit at offset above bid. // EXIT: SL=1.5% of order price....
item_070
//#PROMPT_BEGIN // NAME: EA_SES_7940_volumes_volume_rising_v100 // TIMEFRAME: H1 // INDICATORS: Volumes, ATR(14) // BUY: Volume rising: vol[1]>vol[2] // SELL: Volume falling: vol[1]<vol[2] // EXIT: Break-even lock + forced close at session end (8:00 GMT) // MANAGE_TIMING: ON_TICK (SupervisePosition every tick; signals ...
item_071
//#PROMPT_BEGIN // NAME: EA_OOP_0877_EA_PRO_8D_0013_v100_D1_trail // TIMEFRAME: D1 // INDICATORS: ATR(14) // BUY: Bullish body engulfing: bearish bar[2] body engulfed by bullish bar[1] (close1>open2, open1<close2); bar[1] body >= 50% of bar[2] body // SELL: Bearish body engulfing: bullish bar[2] body engulfed by bearis...
item_072
//#PROMPT_BEGIN // NAME: EA_C2C_0467_rollover_time_v100 // TIMEFRAME: H1 // INDICATORS: ATR(14) // BUY: Bullish bar (Close[1]>Open[1]) during Session hours (InpStartHour to InpEndHour) with rising ATR (ATR[1]>ATR[2]) // SELL: Bearish bar (Close[1]<Open[1]) during Session hours (InpStartHour to InpEndHour) with rising A...
item_073
//#PROMPT_BEGIN // NAME: EA_MGP_0052_mgap_size_g20_r20_gp_v100 // INDICATORS: None -- Monday gap fill with minimum gap size filter (|gap| > InpMinGap x _Point) // BUY: Today is Monday, gap down (Monday open < Friday close), gap size >= InpMinGap x _Point, and close[1] < Friday close. Size-filtered gap fill BUY. // SELL...
item_074
//#PROMPT_BEGIN // NAME: EA_FSM_6173_d28_S03_v100 // TIMEFRAME: H1 // INDICATORS: TEMA(21), ATR(14) // BUY: close[1] crosses above TEMA(21)[1] // SELL: close[1] crosses below TEMA(21)[1] // EXIT: SL = ATR * 2.0, TP = ATR * 3.0; trailing in MANAGING, then COOLDOWN // MANAGE_TIMING: ON_TICK (ProcessManaging every tick; s...
item_075
//#PROMPT_BEGIN // NAME: EA_CAT345_kel_cross_bull_p14_m15_M15_v100 // INDICATORS: None -- inline Keltner channel: SMA of 14 closes +/- 1.5 * avg bar range (H-L), no indicator handles // BUY: DUAL condition: (A) close[2] < midline AND close[1] > midline (price crossed above Keltner midline from below) AND (B) MathAbs(cl...
item_076
//#PROMPT_BEGIN // NAME: EA_LRD_0028_LRDCCI_lr14_cp14_sl30_dm15_rr20_v100 // INDICATORS: LinearRegression (period=InpLRPeriod), iCCI (period=InpCCIPeriod) // BUY: Close[1] < LR[1] AND CCI[1] > -100 AND CCI[1] < 0 (below LR, CCI turning up) // SELL: Close[1] > LR[1] AND CCI[1] < 100 AND CCI[1] > 0 (above LR, CCI turning...
item_077
//#PROMPT_BEGIN // NAME: EA_CAT278_dpo_extreme_bull_h4_p20_sw5_v100 // TIMEFRAME: PERIOD_H4 // INDICATORS: None -- inline DPO computed from iClose values. DPO = close - SMA(close, N, N/2+1) // BUY: Inline DPO < -InpDPO_Extreme (deeply negative, cycle low) AND DPO turning up: DPO[bar1] > DPO[bar2]. Cycle low reversal BU...
item_078
//#PROMPT_BEGIN // NAME: EA_CAT348_trend_mom_bull_rp30_m10_M15_v100 // INDICATORS: None (inline regime detection over 30 bars + momentum = close[1]-close[1+10]) // BUY: Regime is trending bull (>=70% of last InpRegimePeriod closes above their mean) AND momentum (close[1]-close[1+InpMomPeriod]) > 0 => buy // SELL: No se...
item_079
//#PROMPT_BEGIN // NAME: EA_EVT_0435_EA_Multi_14D_0040_v100_D1_trail // TIMEFRAME: D1 // INDICATORS: Envelopes(20), ATR(14) // BUY: Close crosses above lower Envelope // SELL: Close crosses below upper Envelope // EXIT: ATR trailing stop. Trail activation=ATR*InpATR_TrailStart, trail distance=ATR*InpATR_Trail. Uses Bid...
item_080
//#PROMPT_BEGIN // NAME: EA_C3D_0488_ontester_sharpe_v100 // INDICATORS: RSI(14), ATR(14) // BUY: RSI crosses above InpRSI_OS // SELL: RSI crosses below InpRSI_OB // EXIT: ATR SL/TP. OnTester returns custom metric: ProfitFactor * (1 - MaxDD/Balance) // MANAGE_TIMING: ON_NEW_BAR // RISK: Fixed fractional equity // FUNCS...
item_081
//#PROMPT_BEGIN // NAME: EA_C1E_0107_free_margin_check_v100 // MARKET: Crypto // INDICATORS: RSI(14), ATR(14) // BUY: RSI crosses above 30 from below on confirmed bar // SELL: RSI crosses below 70 from above on confirmed bar // EXIT: SL=ATR*2.0; TP=ATR*3.0; No trailing. Entry skipped if SL/TP < broker stops/freeze leve...
item_082
//#PROMPT_BEGIN // NAME: EA_C3B_0517_triple_ichimoku_wpr_v100 // TIMEFRAME: M5 // INDICATORS: Ichimoku(9,26,52), Ichimoku(9,26,52), WPR(14), ATR(14)@M5 // BUY: H4 TENKAN rising (trend up) AND H1 TENKAN rising (confirms) AND LTF WPR crosses above InpWPR_OS (oversold recovery) // SELL: H4 TENKAN falling (trend down) AND ...
item_083
//#PROMPT_BEGIN // NAME: EA_OOP_1036_EA_PRO_8F_0002_v100_H1_e978 // TIMEFRAME: H1 // INDICATORS: ATR(14) // BUY: Bar[1] wick sweeps below swing low but closes back above (buy reversal) // SELL: Bar[1] wick sweeps above swing high but closes back below (sell reversal) // EXIT: Break-even with lock. Activation=ATR*InpATR...
item_084
//#PROMPT_BEGIN // NAME: EA_ROC_0022_RocThresh_rp20_sl80_rr25_v100 // INDICATORS: Inline ROC (percentage price change over InpROCPeriod bars) // BUY: ROC(InpROCPeriod) > +InpROCThresh — strong positive momentum acceleration // SELL: ROC(InpROCPeriod) < -InpROCThresh — strong negative momentum acceleration // EXIT: SL =...
item_085
//#PROMPT_BEGIN // NAME: EA_MIN_0107_E30_v100_H1_be // TIMEFRAME: H1 // INDICATORS: Ichimoku, AO, ATR(14) // BUY: H4 ichimoku bullish AND AO buy // SELL: H4 ichimoku bearish AND AO sell // EXIT: Breakeven at InpBE_Trigger points profit, lock InpBE_Lock points. Initial SL/TP from ATR. // MANAGE_TIMING: ON_NEW_BAR // RIS...
item_086
//#PROMPT_BEGIN // NAME: EA_FSM_6257_d28_U05_v100 // TIMEFRAME: H1 // INDICATORS: ATR(14) // BUY: Piercing: bar[2] bearish, bar[1] opens below bar[2] low then closes above bar[2] midpoint // SELL: Dark Cloud: bar[2] bullish, bar[1] opens above bar[2] high then closes below bar[2] midpoint // EXIT: SL = ATR * 2.0, TP = ...
item_087
//#PROMPT_BEGIN // NAME: EA_EVT_0013_A13_v100_D1_trail // TIMEFRAME: D1 // INDICATORS: Bollinger(20), ATR(14) // BUY: close[1] breaks above BB upper[1] // SELL: close[1] breaks below BB lower[1] // EXIT: ATR trailing stop. Trail activation=ATR*InpATR_TrailStart, trail distance=ATR*InpATR_Trail. Uses Bid for BUY, Ask fo...
item_088
//#PROMPT_BEGIN // NAME: TS_T03_I07_M3 // INDICATORS: ADX(14), Ichimoku(9,26,52), RSI(14), ATR(14) // BUY: ADX > 25 AND close above cloud AND RSI crosses above 50 // SELL: ADX > 25 AND close below cloud AND RSI crosses below 50 // EXIT: SL=ATR*2.0, TP=ATR*3.0, Step trailing stop // MANAGE_TIMING: ON_TICK // RISK: Fixed...
item_089
//#PROMPT_BEGIN // NAME: SCRIPT_time_converter_v015 // TYPE: script // DESCRIPTION: Print server time, local time, GMT offset, broker time info //#PROMPT_END
item_090
//#PROMPT_BEGIN // NAME: EA_OOP_1927_EA_Multi_14D_0009_v100 // TIMEFRAME: M15 // INDICATORS: Bollinger(20), ATR(14) // BUY: Close crosses above lower Bollinger band // SELL: Close crosses below upper Bollinger band // EXIT: ATR trailing stop. Trail activation=ATR*InpATR_TrailStart, trail distance=ATR*InpATR_Trail. Uses...
item_091
//#PROMPT_BEGIN // NAME: EA_CAT334_cycle_flip_bull_vp30_c08_e15_H1_v100 // TIMEFRAME: H1 // INDICATORS: None -- inline volatility cycle: H-L range vs N-bar average range (no iATR) // BUY: STATE: s_vol_cycle just changed from CONTRACTING (1) to EXPANDING (2) -- s_prev_cycle==1 AND s_vol_cycle==2. close[1] > open[1] (bul...
item_092
//#PROMPT_BEGIN // NAME: EA_OOP_10362_london_session_entry_v100 // TIMEFRAME: M15 // INDICATORS: ATR(14) // BUY: Bullish bar (Close[1]>Open[1]) during London session (08:00 to before 16:00) with rising ATR (ATR[1]>ATR[2]) // SELL: Bearish bar (Close[1]<Open[1]) during London session (08:00 to before 16:00) with rising ...
item_093
//#PROMPT_BEGIN // NAME: FILL_BB_10_XX_x_1 // TYPE: indicator // WINDOW: chart // BUFFERS: 2 (upper BB + lower BB for filled cloud) // PLOTS: 1: DRAW_FILLING clrGold,clrMagenta Bollinger cloud // DRAW_TYPES: DRAW_FILLING // COLORS: clrGold, clrMagenta // CALCULATION: Bollinger Bands(10, dev=2) shown as DRAW_FILLING clo...
item_094
//#PROMPT_BEGIN // NAME: EA_C375_0062_ao_ema_score_m15_atr10_sl15_rr15_v100 // TIMEFRAME: M15 // INDICATORS: iAO() for Awesome Oscillator, iMA(InpEMA_Period, MODE_EMA) for trend direction, iATR(InpATR_Period) for stops. Multi-factor scoring: AO polarity, AO color, and EMA slope each contribute one point. // BUY: Score ...
item_095
//#PROMPT_BEGIN // NAME: EA_OOP_1544_d28_S03_v100_H4_trail // TIMEFRAME: H4 // INDICATORS: TEMA(21), ATR(14) // BUY: close[1] crosses above TEMA(21)[1] // SELL: close[1] crosses below TEMA(21)[1] // EXIT: SL/TP only (no trailing) // MANAGE_TIMING: ON_NEW_BAR // RISK: Fixed fractional equity risk per trade using Risk=In...
item_096
//#PROMPT_BEGIN // NAME: EA_PRO_8E_0012_v111 // TIMEFRAME: H4 // INDICATORS: Opening Range (scanned via chart TF or M15 on higher TFs), ATR(14) for SL/TP // BUY: Close crosses above opening range high (checked on bar[1] after range period) // SELL: Close crosses below opening range low (checked on bar[1] after range pe...
item_097
//#PROMPT_BEGIN // NAME: EA_SES_0024_A26_v100 // TIMEFRAME: M15 // INDICATORS: Envelopes(20), ATR(14) // BUY: close[1] touches lower envelope (close[1] < lower[1]) // SELL: close[1] touches upper envelope (close[1] > upper[1]) // EXIT: SL/TP only + forced close at session end (7:00 GMT) // MANAGE_TIMING: ON_TICK (Super...
item_098
//#PROMPT_BEGIN // NAME: EA_CAT320_cvx_concave_dn_h1_w5_t5_v100 // INDICATORS: None -- Second derivative of close prices over window for curvature measurement // BUY: Not used. Short-only signal based on downward acceleration. // SELL: Average second derivative (avg_d2) over window < -InpD2_Thresh (price curve accelera...
item_099
//#PROMPT_BEGIN // NAME: EA_C3A_0190_ema_macd_sequenti_v100 // INDICATORS: EMA(50), MACD(14,30,10)[Main], ATR(14) // BUY: Setup: EMA(50)[1] > [2] (rising) onset (stamps only when g_setupDir != 1; g_setupDir persists until opposite setup overwrites), stored via g_setupBar=iBars() and g_setupDir=+1; Confirm: MACD(14,30,1...
item_100
//#PROMPT_BEGIN // NAME: EA_FSM_7044_max_pos_per_symbol_v100 // TIMEFRAME: D1 // INDICATORS: RSI(14), ATR(14) // BUY: RSI crosses above 30 from below on confirmed bar // SELL: RSI crosses below 70 from above on confirmed bar // EXIT: SL = ATR * 1.5, TP = ATR * 2.0; trailing in MANAGING, then COOLDOWN // MANAGE_TIMING: ...
End of preview. Expand in Data Studio

CompilingThings Compile Benchmark for MQL5®

This release evaluates compile success of generated MQL5 on two private held-out sets. The first is 300 Expert Advisor prompts, run on four arms: the base model, two tuned local models and one frontier API model. The second is 200 non-EA prompts (include files, custom indicators, scripts and services, 50 each), run on the three local arms, plus a stability re-run of one of them. The holdout results are attested, not fully verifiable: every row is published as hashes and verdicts, the prompts are not. The 184 public prompts of version 1.0.0 remain in the release, with their published results unchanged.

MQL5® and MetaTrader 5® are registered trademarks of MetaQuotes Ltd. CompilingThings is an independent project. No affiliation, sponsorship, certification, endorsement, or approval by MetaQuotes Ltd. is claimed.

Release identifier: CompilingThings/compile-benchmark-v1.1.0. This version replaces the card of v1.0.0 in place; the 1.0.0 files and figures are carried forward, not re-run.

Result

A pass requires zero compiler errors and a produced EX5 artifact. A generation cut off at the 8,192-token ceiling counts as a fail. Every local arm run for v1.1 was served at Q8_0 quantisation; see "Serving configuration" and "Q8_0 against the 1.0.0 bf16 arm".

300 Expert Advisor prompts, private holdout

Arm Compile success Result Truncated Infrastructure failures
Base Qwen2.5-Coder-14B-Instruct 0.33% 1/300 3 0
Tuned 14B, 83k corpus (the 1.0.0 tuned model) 93.67% 281/300 0 0
Tuned 14B, 220k corpus 94.00% 282/300 0 0
gpt-5.6-sol 95.33% 286/300 4 3

The frontier arm's seven excluded rows are its own: four generations hit the token ceiling and three API calls returned HTTP 500. Excluding those seven rows gives 286/293 = 97.61%; the all-300 headline stays 286/300 = 95.33%.

The two tuned models are flat against each other on EA prompts: they disagree on 35 of 300 items, 18 in favour of the 220k model and 17 in favour of the 83k model, McNemar p = 1.0.

Against gpt-5.6-sol the 220k model is 1.33 points behind over all 300 (p = 0.57) and 3.41 points behind when the frontier arm's seven excluded rows are dropped from both sides (293 pairs, Newcombe 95% CI −6.86 to −0.24 pp, McNemar p = 0.0525). Both denominators are reported because dropping the frontier failures moves the comparison from −1.33 to −3.41 points. These results do not establish equivalence.

200 non-EA prompts, private holdout, 50 per class

Arm Compile success, all 200 Excluding own truncations Truncated
Base Qwen2.5-Coder-14B-Instruct 28.0% (56/200) 30.1% (56/186) 14
Tuned 14B, 83k corpus 67.5% (135/200) 72.2% (135/187) 13
Tuned 14B, 220k corpus 84.0% (168/200) 89.4% (168/188) 12

The first column is the headline: a truncated generation is a fail. The second column drops each arm's own truncated rows from its own denominator. gpt-5.6-sol was not run on this set.

Per class, all 200 counted:

Class Base 83k 220k
Include file 20/50 38/50 31/50
Custom indicator 0/50 49/50 50/50
Script 13/50 19/50 39/50
Service 23/50 29/50 48/50

Each cell is 50 items and is indicative, not conclusive. The 220k model is 20 items ahead of the 83k model on scripts and 19 ahead on services, and 7 behind on include files (31/50 vs 38/50; McNemar p = 0.14 over the 50 include-file pairs, p = 0.39 over the 38 pairs left when truncations are dropped, both intervals spanning zero). Those four figures are differences between the class totals in the table, not counts of items that changed verdict: item by item, 24 scripts moved to the 220k model and 4 the other way, 19 services and none the other way, 5 include files and 12 the other way, and 1 indicator and none the other way, which is where the 49 and the 16 in the paired-movement table below come from. Eleven of the 220k model's twelve truncations are include files. Whether the truncations cause the include-file loss is not tested by this release; the 83k model truncated eight include files and still scored higher on that class.

Over the whole set the 220k model is 16.5 points ahead of the 83k model (all 200, 49 items gained against 16 lost, Newcombe 95% CI +8.85 to +23.96 pp, McNemar p = 5.1e-5) and 17.0 points ahead with truncations dropped (182 pairs, CI +9.35 to +24.60 pp, p = 3.3e-5). This is the only set in the benchmark where the two tuned models separate.

The 8,192-token ceiling was chosen so that no arm would be truncated. On the two EA sets it achieved that for the tuned arms. On the non-EA set it did not: 14, 13 and 12 rows were cut off. Truncation counts are reported per arm and per class in the result files and are never folded into a compile-failure category.

184 public prompts, version 1.0.0 result, unchanged

Arm Compile success Result
Base Qwen2.5-Coder-14B-Instruct 1.09% 2/184
Fine-tuned Qwen2.5-Coder-14B-Instruct (83k corpus, bf16) 92.39% 170/184
gpt-5.6-sol 97.28% 179/184

These are the 1.0.0 figures under the 1.0.0 serving configuration (bf16 transformers). They are not re-headlined here. The 184 prompts have been public since 1.0.0 and should be treated as a public benchmark, not as an uncontaminated set; the two holdouts above exist for that reason. The 1.0.0 card's description of these arms is carried in "The 1.0.0 arms" below.

Stability check: the 220k arm re-run on the 200 non-EA prompts

The 220k arm was run a second time on the same 200 prompts under the same configuration. The rule was fixed before the second run started: the first run is the headline regardless of outcome, both runs publish, and neither is averaged or selected.

First run (headline) Second run
Compile success, all 200 168/200 169/200
Truncated 12 11
Per class 31 · 50 · 39 · 48 31 · 50 · 40 · 48

By the rows' own compile verdicts, two of 200 items flipped, one in each direction, so both runs carry 169 true verdicts. The one-item difference in the table comes from the pre-registered rule (the protocol is identified under protocol in publication_metadata.json by filename and SHA-256; it is retained in the evidence package and not distributed in this release): the item that compiled despite truncation in the first run is scored as a fail there, and in the second run it did not compile.

The generated source was byte-identical on 164 of 200 items; the 36 that differed were 20 include files, 13 scripts, 2 services and 1 indicator.

Both runs used the same recorded settings; this release does not isolate the cause of the differences. An output hash in this release is provenance of the observed run where a source was produced, not a promise that a re-generation reproduces it. Both runs' rows are published.

Q8_0 against the 1.0.0 bf16 arm

Every local arm run for v1.1 was served as a Q8_0 GGUF through llama.cpp. The 1.0.0 tuned arm was served at bf16 through transformers. To connect the two, the 83k model was re-run at Q8_0 on the 184 public prompts.

83k model, 184 public prompts Result
Q8_0, llama.cpp (this release) 175/184
bf16, transformers (1.0.0) 170/184

Six items passed under Q8_0 and failed under bf16; one the other way. That is a 5-item gap, Newcombe 95% CI −0.26 to +6.28 pp, McNemar p = 0.125, not significant at n = 184. The two runs also differ in serving backend, so the difference is not attributable to quantisation alone. The bf16 arm is the 1.0.0 tuned arm as published, identified by the weight hashes under models.tuned.merged_weights and model_identities.tuned_83k in publication_metadata.json; this release did not re-verify those weights. The 1.0.0 figures stand as published; the Q8_0 re-run of the 184 is published as a bridge row set, not as a replacement.

The base arm was also re-run at Q8_0 on the 184 (2/184 with 2 truncated, the same two passing items as 1.0.0, which truncated none), and the 220k arm was run on them (169/184, 0 truncated). Those rows ship in the bridge file for completeness. The 184-item set is public, so none of these is a holdout figure.

Run the benchmark

The 184 public prompts are in prompts.jsonl. Render each prompt with the Expert Advisor system prompt and the template in serving_template.json, generate MQL5, compile it, and record the verdict using the schema in per_item_results.jsonl. Every published run of the 184 used the Expert Advisor system prompt for all 184 items, including the six whose specification header declares another type; a reproduction that follows that rule reproduces the published request hashes.

The system prompt for the 184 public prompts and for the 300 EA holdout:

You are an expert MQL5 programmer. Write the complete MQL5 Expert Advisor code that implements the given specification exactly.

The serving template:

<|system|>{system_prompt}<|end|>\n<|user|>{prompt}<|end|>\n<|assistant|>

\n is a real newline. The template field in serving_template.json holds actual newline characters, so a JSON parser returns the correct string without further unescaping.

The 200 non-EA holdout items use the same sentence with the unit noun replaced, by the class of the set they were drawn into, never by the specification header. The four strings are published in serving_template.json and are, verbatim:

You are an expert MQL5 programmer. Write the complete MQL5 include file code that implements the given specification exactly.
You are an expert MQL5 programmer. Write the complete MQL5 custom indicator code that implements the given specification exactly.
You are an expert MQL5 programmer. Write the complete MQL5 script code that implements the given specification exactly.
You are an expert MQL5 programmer. Write the complete MQL5 service code that implements the given specification exactly.

The holdout prompts are not published. A reader can evaluate any model on the 184 public prompts under the published contract. The holdout results are attested by per-item hashes, not independently reproducible; see "What is public and what is not".

verify_public_release.py ships in this release and checks release hashes, item pairing, row counts, contingency tables, and headline result counts. It needs Python 3.9+ and nothing else. Run it from the release directory:

python verify_public_release.py --public .

Scoring contract

Two verdicts are computed for every item that reached compilation and published side by side. On the three frontier rows where generation failed before compilation (the API returned HTTP 500), both verdicts are null.

  • verdict_headline — true when the compile log reports zero errors and the .ex5 artifact was produced.
  • verdict_strict — true when the compile log reports zero errors and zero warnings and the .ex5 artifact was produced.

Each row carries one of four buckets, assigned in this order. A generation error is an infrastructure failure. Otherwise a truncated response is TRUNCATED. Otherwise a compile-side infrastructure reason is an infrastructure failure. Everything else is compile-pass or compile-fail from verdict_headline.

A TRUNCATED or INFRASTRUCTURE-FAILURE row counts as a fail in the headline figure and is dropped from the denominator in the second figure printed beside it. One row in the release compiled despite being truncated (a 220k include-file generation in the first non-EA run); the pre-registered rule scores it as a fail, which is why that arm shows 168 passes where 169 rows carry a true verdict. Both numbers are in the result files.

Extraction (three_way.v4): truncate the response at the first serving end-token; find every fenced code block; if none, use the whole response; otherwise take the first block that defines a real MQL5 event handler, falling back to the first block. The chosen index is published per row as used_block_index in per_item_results.jsonl and bridge_q8_184_results.jsonl. It is null where n_fenced_blocks is 0, which is every tuned-arm row in those two files: the tuned models answer with bare code, so the whole response was used and there was no block to index. The holdout row files do not carry it, so holdout extraction choices are not row-auditable from this release. The same extraction runs on every arm.

Compile logs are UTF-16LE with a byte-order mark and must be decoded before matching. A diagnostic is a line matching (line,col): error N: or (line,col): warning N:. A log without the compiler's own Result: N errors, M warnings line is an infrastructure failure, never a model result.

MQL5 outputs were compiled using the MetaQuotes Language Compiler through MetaEditor, build 5836, the same build for every arm in this release and in 1.0.0. Include-file items are compiled through a minimal caller that includes them, since an include file alone produces no EX5.

The harness, the extractor and the scorer are not distributed, and neither is the compiler. The rules above describe what they do at the level published here; details below that level are not published, so an independent implementation may score individual items differently. Before an arm is scored, two known fixtures are compiled: one that must produce an error, one that must produce a warning and still build. The harness writes no rows for an arm whose control fails. The 1.0.0 rows and the bridge rows carry the control's error and warning counts, which attest that the control ran; the holdout row files do not carry them. The fixture inputs and the control's compiler output were not retained, so the control itself cannot be audited from this release, and no known-answer validation record for the extractor is retained either.

Serving configuration

Local arms, this release:

  • Engine: llama.cpp llama-server build 10441 (commit 0177dcc73, Clang 20.1.8, Windows x86_64), Q8_0 GGUF, Vulkan backend, 8 parallel slots, 69,632-token context, all layers offloaded (-ngl 999), 8 concurrent requests per arm. Launch line, verbatim: llama-server.exe -m <gguf> -np 8 -c 69632 -ngl 999 --device Vulkan0 --host 127.0.0.1 --port 8088.
  • Host: Windows 11 Pro 10.0.26200, AMD graphics driver 32.0.31036.15 (2026-08-12). No environment variables were set for the server. Python-side library versions were not recorded and are a gap.
  • Decoding: temperature 0.0, top-k 1 and seed 42 sent with every request, 8,192 max new tokens. The harness records what it sent; whether the server applied every setting as sent is not independently verified by this release.
  • Hardware: one AMD Radeon AI PRO R9700 in an AMD Ryzen 9 7950X3D host with 64 GB of system memory. The device is not recorded in the run parameters; it is stated from the evaluation host's configuration.

The frontier arm, gpt-5.6-sol, was evaluated on the 300 EA holdout on 2026-09-11 through the vendor API, one request at a time. That is a statement about concurrency and not about HTTP attempts: one item was in flight at a time. The harness set no retry policy and no client-side timeout for this arm, so any transport retry behind a single request was whatever the vendor's Python client library did by default, and that library's version was not recorded. The three rows that returned HTTP 500 are items whose request failed after whatever the client attempted. The request asked for temperature 1.0 and seed 42 and sent the same 8,192-token cap as max_completion_tokens; whether the service applied those settings is not recorded. The system-prompt text and the item text were sent as separate system and user fields; the local arms received them rendered into one serving template. The local arms were run with greedy settings requested, at concurrency 8. The frontier result is a single run of a sampled decoder identified by model name and evaluation date, and a rerun may differ item for item. The two serving and decoding configurations differ, and the head-to-head is a comparison across those configurations, not a configuration-matched one.

Statistics

Rate intervals are Wilson score intervals without continuity correction, and paired differences use Newcombe's square-and-add method with the exact-binomial McNemar test on discordant pairs. Two z values are in force, one per release: every interval computed for this release uses z = 1.959963984540054, the two-sided 95% normal quantile at full precision, while the intervals carried forward from 1.0.0 were computed with the rounded z = 1.96 and are republished exactly as 1.0.0 published them. publication_metadata.json records both under interval_conventions. Every arm ran the same prompts, so no comparison in this release treats two arms as independent samples. Full-precision values, contingency tables and the paired-bootstrap record are in publication_metadata.json. Every statistic in the tables above recomputes from the published row files. Two metadata blocks do not: the 183-item precision check, which needs the identity of the one excluded item (not published), and the 19-item replay on the public set, whose rows are not in the release. The bootstrap is recorded, not recomputable.

Per-set paired movement between the two tuned models, 220k against 83k:

Set Pairs 220k gains 220k loses Difference p
184 public (both at Q8_0) 184 6 12 −3.26 pp 0.24
300 EA holdout 300 18 17 +0.33 pp 1.0
200 non-EA holdout 200 49 16 +16.50 pp 5.1e-5

On EA prompts the two models move items in both directions in roughly equal numbers. On non-EA prompts the movement strongly favours the 220k model: 49 items moved its way, 16 the other. The three sets are different populations and their rates are not comparable with each other.

Evaluation sets

The 184 public prompts are unchanged from 1.0.0. All 184 were run under the Expert Advisor instruction, in 1.0.0 and in the bridge; six of them declare another type in their specification header (item_009, item_089 and item_102 script; item_093 and item_134 indicator; item_167 include) and were run under that same instruction regardless; publication_metadata.json lists them under public_set_184_composition. They are a decontaminated stratum of a frozen 300-item draw, selection rule and hashes as published there and carried in publication_metadata.json.

The 300 EA holdout was drawn from a private pool of 1,000 EA items held out of training. The items with a normalised-exact match to the 220k corpus were removed (352 of 1,000), leaving 648. The first 300 in the pool's frozen order were taken. The manifest's identity hash is published; the prompts and item names are not. This pool was scanned against the 220k corpus only; no scan of it against the 83k corpus exists, so the 83k arm's holdout figures carry no decontamination evidence of their own.

The 200 non-EA holdout was drawn from a private pool of 600 withheld non-EA items, 150 per class, the 21 items with a normalised-exact match to the 220k corpus were removed before the draw (20 scripts, 1 service), then the first 50 of each class in the pool's own order were taken. Manifest identity hashes are published; prompts and names are not. The same scan scope applies: this pool was checked against the 220k corpus, not the 83k corpus. One specification appears in both the 184 public set (run under the Expert Advisor instruction) and this set (run under the indicator instruction); it is identified by hash in the metadata, and the overlap is one item of 200.

Both holdouts were frozen before any arm ran and were not redrawn. The stability re-run above used the same 200 items.

Decontamination

Every evaluation set was scanned against the 220k corpus, and the 184 public items also keep their 1.0.0 scan against the 83k corpus. No holdout was scanned against the 83k corpus. The two methods are those published in 1.0.0: exact SHA-256 equality of the reference solution against every training row, and equality after a domain normaliser that strips comments and canonicalises names, magic numbers, timeframe and price constants, indicator periods, risk multipliers and symbol literals. No similarity threshold decides membership.

Every scan carries three known-positive fixtures and one falsifying twin, and all passed: a verbatim duplicate was caught by both methods, a cosmetic variant and a line-ending variant by the normalised method only, and the twin by neither. Twelve fixture records are retained in the evidence package and are not distributed: four for the 2026-08-19 scan, four for the 2026-09-10 scan that covered the public 184 and the 1,000-item EA pool together, and four for the 2026-09-11 scan of the 600-item non-EA pool. All twelve are named with their SHA-256 in publication_metadata.json under decontamination.known_answer_validation and decontamination.known_answer_validation_scope, and the two later scans also carried their known positives and their twin through the full corpus pass rather than a fixture sample alone. The two pool scans behind the third and fourth rows of the table below are named and hashed there as well, under decontamination.holdout_pool_scans; that is where the 352, the 21 and the split of the 21 into 20 scripts and 1 service are recorded.

Both methods are scored on the reference-solution side. The specification text was scanned as well, and only its exact result is scored, at zero collisions: the specifications are entirely comment lines, the normaliser strips comments first, so every specification normalises to the empty string and a normalised-exact count on that side would measure the instrument, not the corpus. The retained scan records that result as escalated rather than scored, and which side the stop conditions bind on is left unsettled.

Set Corpus Exact Normalised-exact Action
184 public 83k (83,155 rows) 0 116 of 300 removed, leaving 184 (1.0.0)
184 public 220k (215,541 rows) 0 1 of 184 reported; nothing removed
1,000 EA pool 220k 0 352 of 1,000 removed before the 300 draw
600 non-EA pool 220k 0 21 of 600 removed before the 200 draw

The 184-item scan against the 83k corpus cannot be re-run today; the corpus file it read no longer exists, and its hash was established by that run. It was re-run once, on 2026-08-31, from an archived copy at the same hash, and agreed; that copy is also gone. The metadata records that event under reproduction_gate. The one 184-item collision against the 220k corpus is reported, not removed, so the 220k arm's 169/184 bridge figure includes one item with a normalised twin in its corpus.

A descriptive similarity curve was also computed for each scan by a candidate-based matcher whose figures are lower bounds; it is retained with the evidence and is not part of this release. Contamination in this release means an exact or normalised-exact collision, and those counts are in the table above.

The evaluation prompts come from the same specification generator family as the training corpus, so the benchmark measures in-distribution competence on that family's specification style, not generalisation to human-written specifications.

Models

Base: Qwen/Qwen2.5-Coder-14B-Instruct, pinned revision aedcc2d42b622764e023cf882b6652e646b95671, quantised to Q8_0 for this release.

Tuned, 83k: the 1.0.0 fine-tuned model (one epoch on 83,155 rows, corpus SHA-256 5e9881b61f3375d3d575c35950a236375eb5648f5fe55b8d18de321f69659c68), merged and quantised to Q8_0.

Tuned, 220k: the same base fine-tuned for one epoch on a 215,541-row corpus, SHA-256 3c2f57db5986eaac49f7ae5ed6732e1ae702b339b1354bf3d94e33c7b611e023, merged and quantised to Q8_0. Adapter, merge and GGUF identities are pinned by SHA-256 in publication_metadata.json. For the 220k model the one-epoch figure comes from the training plan; no trainer-state epoch or global step was read for it, and the metadata says so. For the 83k model the epoch and global step were read from trainer state. Two historical merges of the 83k model from the same inputs in the same environment produced byte-identical weights. Cross-environment reproduction was not performed for either tuned model. A row-content hash manifest ships as corpus_row_hashes.json: 219,867 row hashes, no contents, no names. The 215,541-row corpus the model was trained on is the subset of those rows that passed a maximum-length rule; the 4,326 other hashes are the rows that rule dropped. The threshold is not published and this release did not check the subset row by row, so the check a counterparty holding the corpus can make is that every row they hold hashes to a member of the manifest. No one else can verify it.

Frontier: gpt-5.6-sol through the vendor API, identified by model name and evaluation date (2026-09-02 on the 184; 2026-09-11 on the 300).

Model weights are not distributed in any version of this release.

The 1.0.0 arms

The 1.0.0 local arms were served through Hugging Face transformers at bf16 with greedy decoding, on the same hardware. The two local arms shared one prompt template, the tuned model's training format; a quantised base-model control comparing that template against the base's native ChatML format changed one verdict out of 183 jointly scoreable items, in the shared template's favour. The 1.0.0 frontier arm ran on 2026-09-02 with temperature 1. The 1.0.0 base-vs-tuned contingency table is 1/1/169/13 (both pass / base only / tuned only / both fail), McNemar p = 2.29e-49; tuned-vs-frontier is 168/2/11/3, p = 0.0225. Those figures and their intervals are unchanged in publication_metadata.json.

Hash definitions

prompt_sha256_public is the SHA-256 of the UTF-8 encoding of the prompt exactly as published in prompts.jsonl. Holdout rows carry item_sha256, the SHA-256 of the UTF-8 specification text, as their only item identity; the text itself is not published.

prompt_sha256 is an arm-specific request-content hash. On local rows it hashes the rendered serving template. On frontier rows it hashes the system prompt, two newline characters, then the prompt. The verifier recomputes both rules on the 184 public rows of per_item_results.jsonl. On the holdout and bridge files it checks row counts, arm identities, headline and truncation counts and item pairing. On the two holdout files it cannot recompute a prompt hash because the holdout prompts are not published. On the bridge file the prompts are the 184 public prompts, so each row's prompt_sha256 equals the local-arm value on the matching 1.0.0 row and can be checked by that equality; the verifier does not recompute it there.

mq5_sha256 and ex5_sha256 are commitments to the generated source and compiled artifact of a row. mq5_sha256 is present on every row; on the seven frontier rows where no source was extracted (three API failures and four ceiling truncations) it holds the SHA-256 of zero bytes, e3b0c442…, and commits to nothing. ex5_sha256 is present only on rows where an EX5 artifact was produced and is null on the rest. Those artifacts are not distributed; the hashes permit integrity verification if they are later disclosed under agreement.

What is public and what is not

Claim or artifact Publicly verifiable
The 184 published prompts and their hashes Yes
Per-arm result arithmetic and statistics, every set Yes
Running a new model on the 184 prompts Yes
Holdout prompts, item names, and running a model on them No
Original generated MQL5 and compiler logs No
Tuned model outputs and weights No
Training-corpus contents and decontamination scans No
Exact original harness behaviour No

The holdout results are attested, not fully verifiable. Every holdout row is published as item hash, arm, verdicts, bucket, error and warning counts, truncation flag and output hashes. The arithmetic can be checked. Rows with a generated source are bound to the retained source and compiler output by hash; the seven frontier rows with no extracted source are bound only to their item and request identity and to the recorded failure. No third party can regenerate any of them from this release. Access to undistributed material is available under written agreement.

Files

File Content
README.md this card
prompts.jsonl 184 public prompt rows (1.0.0)
per_item_results.jsonl 552 rows: 184 base, 184 tuned, 184 frontier (1.0.0, bf16)
holdout_ea300_results.jsonl 1,200 hash-keyed rows: base, 83k, 220k, frontier on the 300 EA holdout
holdout_nonea200_results.jsonl 800 hash-keyed rows: base, 83k, 220k and the 220k re-run on the 200 non-EA holdout
bridge_q8_184_results.jsonl 552 rows: base, 83k and 220k at Q8_0 on the 184 public prompts
serving_template.json system prompts (EA and the four non-EA classes) and serving template
publication_metadata.json release metadata, full-precision statistics, model and manifest identities
corpus_row_hashes.json 219,867 row-content hashes of the 220k corpus, no contents
PROJECTION_REPORT.json row-projection record, field inventory, hash definitions
verify_public_release.py the release verifier
SHA256SUMS.txt checksum manifest over every file except itself
LICENSE, CITATION.cff, .gitattributes licence, citation metadata, line-ending pin

File hashes are in SHA256SUMS.txt. The hashes cover the files as stored, with LF line endings; .gitattributes pins that so checkout does not rewrite them. The per-row field dictionary is in PROJECTION_REPORT.json.

Limitations

  • Compilation is a low bar. It is a necessary, not a sufficient, condition for useful code. Nothing in this release measures whether any generated artifact is correct, useful, or safe to run.
  • A single language, with no claim of transfer.
  • The prompts are generator-produced, not harvested from human-written production code, and come from the same generator family as the training corpus. This measures in-distribution competence; it is not a test of generalisation to human-written specifications.
  • The frontier arm is a moving target; its snapshot dates bound the comparison.
  • The 8,192-token ceiling truncated rows on the non-EA set. Whether an item the model would have finished past that ceiling should count against it is a judgement this release makes one way (it counts as a fail).
  • The holdout sets are private, so their results are attested by hash rather than reproducible.
  • Each non-EA class cell is 50 items.
  • Token counts for the training corpora are not published; row counts and corpus hashes are.
  • The harness, extractor and scorer are not distributed. An independent implementation of the scoring contract may score individual items differently.
  • Merge determinism rests on two historical merges of the 83k model, not on a fresh remerge.

Licence

The benchmark files are provided under the CompilingThings Benchmark Evaluation Licence v1.0. The summary below is non-exhaustive; LICENSE controls in the event of any conflict.

Permitted: running the 184 published prompts against any model; checking, citing and comparing the published result rows and the corpus row-hash manifest, including the holdout row files; implementing and using the published scoring contract; publishing and comparing benchmark results, including results that disagree with ours; citing the benchmark and release identifier. The supporting files may be reproduced and quoted for using, checking or citing the benchmark, and verify_public_release.py may be run as-is.

Not permitted: using the prompts for training, fine-tuning, continued pretraining, distillation, or reinforcement learning; incorporating the prompts or result rows into another dataset; creating or selling derivative datasets; representing the benchmark as your own work.

Commercial licences, evaluation access, research collaboration and partnership are arranged individually under written agreement.

Contact

Identity: CompilingThings. For evaluation access, research collaboration, commercial licensing, or partnership, open a discussion on the Hugging Face dataset repository.

Citation

CITATION.cff ships with the release and identifies CompilingThings as the author of version 1.1.0.

MetaQuotes notice

MQL5® and MetaTrader 5® are registered trademarks of MetaQuotes Ltd. CompilingThings is an independent project. No affiliation, sponsorship, certification, endorsement, or approval by MetaQuotes Ltd. is claimed.

MQL5 outputs were compiled using the MetaQuotes Language Compiler through MetaEditor. This release does not distribute MetaTrader 5, MetaEditor, compiler binaries, MetaQuotes documentation, or other MetaQuotes-owned materials. The benchmark prompts published in this release were produced by CompilingThings' own generators and are owned by CompilingThings. No model-generated MQL5 source or other model outputs are distributed.

Downloads last month
96

Collection including CompilingThings/compile-benchmark