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 on 184 public MQL5 prompts across three model arms.

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.0.0.

Result

Arm Compile success Result
Base Qwen2.5-Coder-14B-Instruct 1.09% 2/184
Fine-tuned Qwen2.5-Coder-14B-Instruct 92.39% 170/184
gpt-5.6-sol 97.28% 179/184

One epoch of domain fine-tuning increased compile success by 91.30 percentage points, from 2/184 to 170/184. The fine-tuned 14B model finished 4.89 percentage points below gpt-5.6-sol on the same benchmark items.

A pass requires zero compiler errors and a produced EX5 artifact.

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. Details are under "Serving template and control" below.

Run the benchmark

Inputs are in prompts.jsonl. Render each prompt with the system prompt and template in serving_template.json, generate MQL5, compile it, and record the verdict using the schema in per_item_results.jsonl.

The system prompt:

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 benchmark prompts and scoring contract are public. Readers can evaluate another model against the same 184 items. The original generation and compilation harness is not distributed, so exact implementation parity on edge cases is not guaranteed.

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.

Scoring contract

Two verdicts are computed for every item and published side by side:

  • 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. TRUNCATED and INFRASTRUCTURE-FAILURE rows leave the denominator. On this release's rows all three arms have zero TRUNCATED rows and zero INFRASTRUCTURE-FAILURE rows, so every comparison is over the full 184 items.

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. 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.

Compilation used the MetaQuotes Language Compiler supplied with MetaEditor, build 5836, the same build for all three arms.

Serving configuration, local arms

  • Engine: Hugging Face transformers, AutoModelForCausalLM, greedy decoding (do_sample=False), seed set per generation, bfloat16 compute, no quantisation, 8,192 max new tokens.
  • Hardware: one AMD Radeon AI PRO R9700 (RDNA 4, gfx1201) under ROCm, 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 transformers, torch and tokenizer versions in force during the evaluation, the host OS, GPU driver version and environment variables were not recorded and are not established. The published experiment cannot be re-run to its exact environment; the same 184 prompts can be run under the published template, scoring contract and generation settings on any stack.

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 per-row positive_control_* counts are those fixture results, identical on every row of an arm.

Serving template and control

Both local arms were served the same prompt template, the one the tuned model was trained on. The published prompt_sha256 is identical for the two local arms on every item, so this is verifiable from the release.

That template is not the base model's native chat format, so part of the measured base-vs-tuned difference could in principle reflect template mismatch rather than capability. A template control measured this in a control configuration: the base model, quantised to Q8_0 on a different inference stack, run over the same 184 items once under the shared template and once under its native ChatML format, with identical settings and scoring.

Among the 183 items with scoreable outputs under both templates, one verdict changed: it compiled under the shared training template and failed under native ChatML. The remaining item was truncated under the shared-template condition and could not be compared. The observed difference on the 183 jointly scoreable items was one compile pass in favour of the shared template. Under the shared template the control reproduced the published base arm's two passing items.

The control served a different quantisation and stack than the published arms, so only the difference between its two conditions carries meaning; neither condition is a published arm. Carrying the one-item result to the published bf16 arms assumes the template effect transfers across quantisation and serving stack, and that transfer was not measured. The control's per-item rows are not distributed; they are identified by SHA-256 in publication_metadata.json.

The frontier arm

The third arm is gpt-5.6-sol, evaluated on 2026-09-02 against the same 184 items, using the same extraction logic, compiler build, and scoring path as the local arms.

All 184 items returned scoreable results. There were no truncations or infrastructure failures.

The frontier arm was served through the vendor API rather than the local inference stack. It received the same system-prompt text and item text, but the vendor API applied its own chat framing.

Other serving differences:

  • The run used temperature=1. A fixed seed was requested. This is a single run of a sampled decoder; a rerun may differ item-for-item.
  • The model is vendor-hosted and is identified by model name and evaluation date rather than a locally pinned weight hash.
  • The generation cap was 8,192 tokens, sent as the API's max_completion_tokens parameter, matching the local arms' cap.

The frontier rows' prompt_sha256 is a canonical SHA-256 commitment to the system-prompt text and item text submitted to the API. It is not a hash of the vendor's serialized request or internal chat framing. The exact rule is under "Hash definitions".

Tuned 14B vs frontier

gpt-5.6-sol pass gpt-5.6-sol fail
Tuned pass 168 2
Tuned fail 11 3

gpt-5.6-sol compiled 11 items the tuned model missed. The tuned model compiled 2 items gpt-5.6-sol missed. Three items failed under both. The exact-binomial McNemar test on the 13 discordant pairs gives p = 0.0225.

Readers can evaluate the public base model and gpt-5.6-sol on the same benchmark prompts, subject to model access. Exact item-level reproduction of the sampled frontier run is not expected. The fine-tuned arm cannot be independently rerun from this public release because its weights are not distributed.

Statistics

Stratum: CLEAN 184 — no normalised-exact training twin.

Measure Value 95% CI
Base compile rate 1.09% (2/184) 0.30%–3.88%
Tuned compile rate 92.39% (170/184) 87.63%–95.41%
Frontier compile rate 97.28% (179/184) 93.80%–98.83%
Base-vs-tuned paired difference +91.30 pp 85.40–94.55 pp

Rate intervals are Wilson score intervals at z = 1.96 exactly. The paired-difference interval is Newcombe's square-and-add MOVER method for paired data. The base-vs-tuned contingency table is 1/1/169/13 (both pass / base only / tuned only / both fail); the exact-binomial McNemar p-value is 2.29e-49. Full-precision values, the phi term the MOVER interval needs, and the paired-bootstrap record are in publication_metadata.json; every statistic except the bootstrap recomputes from the published rows.

Evaluation set

The 184 items are a decontaminated stratum of a frozen 300-item draw from a 9,168-record pool. The draw used seed 42 and a deterministic selection rule with no RNG, stated in full:

score(ea_name) = sha256(utf8(str(seed)) + b"\x00" + utf8(ea_name)); order by (lowercase hex of score ASC, ea_name ASC); take first n; manifest lists them sorted by ea_name. seed is encoded as its decimal characters (--seed 42 hashes b"42").

The pool's SHA-256 is 2ca2d669626a44b8a0096ce25873e23d6cbf08f6887295a26179218c7e0d29cf. The selection and manifest identity hashes are published in publication_metadata.json; both are canonical-JSON content hashes computed by the rules the frozen manifest records in its own hash_spec field, not hashes of a file's raw bytes.

The original 300-item draw was frozen before any result was seen and was not redrawn.

Decontamination

The frozen set was scanned against the training corpus with two methods.

The exact method computes SHA-256 over the UTF-8 encoding of each evaluation item's reference solution and over each training row's completion field, and tests digest equality. It found 0 collisions.

The normalised-equivalence method applies a domain normaliser to both sides before hashing: it strips comments, canonicalises names, magic numbers, timeframe and price constants, indicator periods, risk multipliers and symbol literals, and collapses whitespace. The normaliser source is pinned by SHA-256 in publication_metadata.json. This method found 116 collisions; removing them from the frozen 300 produced the clean stratum of 184.

The predicate, the collision count of 116 and a capped witness set of 30 identities were recorded before either local arm ran; the pre-run record kept those 30 witnesses, not all 116 identities. After both local arms had run, the fixed predicate was re-executed twice, independently, and each rerun had to reproduce the pre-run count and all 30 witnesses before the full identity list was emitted. What predates the results is the rule and the count; the explicit membership list was derived afterwards from the rule.

The normaliser is deliberately aggressive: it collapses parameter variation, so items differing only in parameters normalise to the same string. The clean stratum removes more than a strict reading requires.

No similarity threshold decides membership. 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, served at bf16 with no quantisation.

Tuned: the base model fine-tuned for one epoch on the withheld corpus (83,155 rows, SHA-256 5e9881b61f3375d3d575c35950a236375eb5648f5fe55b8d18de321f69659c68), merged to bf16 and served directly. Adapter, merge tool, merge settings and merged-weight identities are pinned by SHA-256 in publication_metadata.json, including the epoch and global-step evidence read from trainer state rather than directory names. Two historical merges from the same inputs in the same environment produced byte-identical weights; cross-environment reproduction was not performed.

Frontier: gpt-5.6-sol through the vendor API, identified by model name and evaluation date 2026-09-02.

Hash definitions

prompt_sha256_public is the SHA-256 of the UTF-8 encoding of the prompt exactly as published in prompts.jsonl.

prompt_sha256 is an arm-specific request-content hash. On base and tuned rows it hashes the rendered serving template from serving_template.json. On frontier rows it hashes the system prompt, two newline characters, then the prompt, the canonical form of the two fields submitted to the API. Both rules are machine-checked by the release verifier.

mq5_sha256 and ex5_sha256 are commitments to the generated source and compiled artifact of a row. mq5_sha256 is present on every row. ex5_sha256 is present only on rows where an EX5 artifact was produced and is null on the rest; a failed compile leaves nothing to hash. 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
Published prompts and prompt hashes Yes
Per-arm result arithmetic and statistics Yes
Running a new model on the 184 prompts Yes
Original generated MQL5 and compiler logs No
Tuned model outputs and weights No
Training-corpus contents and decontamination scan No
Exact original harness behaviour No

Non-public claims are bound to retained artifacts and hashes but cannot be independently reproduced from this release. Generated MQL5 source is not distributed for any arm. Access to undistributed material is available under written agreement.

Item names are public: each prompt carries a // NAME: line because that line was part of the prompt the models were served, and the published prompts are byte-identical to the evaluated ones. The names disclose the corpus naming scheme for these 184 items; the corpus itself remains undistributed. The 184 prompts should be treated as a public benchmark from this release onward, not as an uncontaminated evaluation set. A separate private holdout is reserved for future releases.

Files

File Content
README.md this card
prompts.jsonl 184 prompt rows
per_item_results.jsonl 552 rows: 184 base, 184 tuned, 184 frontier
serving_template.json system prompt and serving template
publication_metadata.json release metadata, full-precision statistics, model provenance
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. Two error counts appear on every row: errors counts printed diagnostics, which the compiler caps around 100, and result_line_errors is the compiler's own final tally; they differ on 12 base-arm rows and both are far above zero wherever they differ.

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; 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.0.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.

Compilation validation used the MetaQuotes Language Compiler supplied with 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
93

Collection including CompilingThings/compile-benchmark