Ai

MQL5 Experts

Spécifications

//+------------------------------------------------------------------+
//| SCA_MT5AcceptanceHarness.mq5 |
//| حقوق الطبع والنشر 2026 أرنولد هولم / ستراتكور ألفا |
//| https://stratcorealpha.com |
//+------------------------------------------------------------------+
حقوق الملكية الفكرية محفوظة "حقوق النشر 2026 أرنولد هولم / ستراتكور ألفا"
#رابط_العقار "https://stratcorealpha.com/services/mt5-ea-specification-audit"
#إصدار الخاصية "1.00"
#ممتلكات صارمة
#property script_show_inputs
#وصف الخاصية "يقوم بتشغيل حالات قبول اصطناعية حتمية لعقد حالة الدخول في MT5."
#وصف_الخاصية "لا يقرأ بيانات السوق/الحساب ولا يرسل أو يغير أو يغلق أي طلب."

input bool InpWriteTextFile = true; // حفظ التقرير في Common\Files
input bool InpPrintToExperts = true; // طباعة التقرير في برنامج الخبراء
اسم ملف الإدخال InpFileName = "SCA_MT5AcceptanceHarness.txt";

enum SCA_DECISION
{
SCA_ENTER = 0,
SCA_BLOCK_OPEN_BAR = 1,
SCA_BLOCK_NO_SIGNAL = 2,
SCA_BLOCK_DUPLICATE_BAR = 3,
SCA_BLOCK_COOLDOWN = 4,
SCA_BLOCK_DAILY_LOCK = 5
};

struct SCA_STATE
{
int day_key;
int last_entry_bar;
int last_signal_bar;
bool daily_lock;
};

struct SCA_CANDIDATE
{
اسم السلسلة؛
int day_key;
int bar_index;
bool closed_bar;
إشارة منطقية؛
bool daily_lock;
int cooldown_bars;
من المتوقع صدور قرار SCA_DECISION؛
};

int g_passed = 0;
int g_failed = 0;
string g_report = "";

void OnStart()
{
g_report = "StratCoreAlpha MT5 EA Acceptance Harness\r\n";
g_report += "بيانات تركيبية اصطناعية فقط؛ order_sent=false؛ account_data_read=false\r\n\r\n";

حالة SCA_STATE؛
state.day_key = 20260812;
state.last_entry_bar = -1000000;
state.last_signal_bar = -1000000;
state.daily_lock = false;

SCA_CANDIDATE cases[8];
SetCase(cases[0], "A1 valid closed-bar signal", 20260812, 100, true, true, false, 3, SCA_ENTER);
SetCase(cases[1], "A2 duplicate signal bar", 20260812, 100, true, true, false, 3, SCA_BLOCK_DUPLICATE_BAR);
SetCase(cases[2], "A3 open-bar signal", 20260812, 101, false, true, false, 3, SCA_BLOCK_OPEN_BAR);
SetCase(cases[3], "A4 cooldown not elapsed", 20260812, 102, true, true, false, 3, SCA_BLOCK_COOLDOWN);
SetCase(cases[4], "انقضى وقت التبريد A5", 20260812, 103, true, true, false, 3, SCA_ENTER);
SetCase(cases[5], "A6 no signal", 20260812, 104, true, false, false, 3, SCA_BLOCK_NO_SIGNAL);
SetCase(cases[6], "A7 daily lock", 20260812, 106, true, true, true, 3, SCA_BLOCK_DAILY_LOCK);
SetCase(cases[7], "A8 new-day reset", 20260813, 107, true, true, false, 3, SCA_ENTER);

for(int i = 0; i < ArraySize(cases); i++)
RunCase(state, cases[i]);

g_report += "\r\nالملخص\r\n";
g_report += StringFormat("تم النجاح=%d فشل=%d النتيجة=%s\r\n", g_passed, g_failed,
g_failed == 0 ? "ناجح" : "فشل");
g_report += "Boundaries: this harness proves only the synthetic state contract above.\r\n";
g_report += "It does not prove strategy quality, broker execution, profitability or live-account behavior.\r\n";

if(InpPrintToExperts)
Print("\n", g_report);
if(InpWriteTextFile)
SaveReport();
}

void SetCase(SCA_CANDIDATE &value, const string name, const int day_key,
const int bar_index, const bool closed_bar, const bool signal,
const bool daily_lock, const int cooldown_bars,
const SCA_DECISION expected)
{
value.name = name;
value.day_key = day_key;
value.bar_index = bar_index;
value.closed_bar = closed_bar;
value.signal = signal;
value.daily_lock = daily_lock;
value.cooldown_bars = cooldown_bars;
value.expected = expected;
}

SCA_DECISION EvaluateCandidate(SCA_STATE &state, const SCA_CANDIDATE &candidate)
{
if(candidate.day_key != state.day_key)
{
state.day_key = candidate.day_key;
state.daily_lock = false;
state.last_entry_bar = -1000000;
state.last_signal_bar = -1000000;
}

state.daily_lock = candidate.daily_lock;
if(state.daily_lock)
return SCA_BLOCK_DAILY_LOCK;
if(!candidate.closed_bar)
return SCA_BLOCK_OPEN_BAR;
if(!candidate.signal)
return SCA_BLOCK_NO_SIGNAL;
if(candidate.bar_index == state.last_signal_bar)
return SCA_BLOCK_DUPLICATE_BAR;
if(candidate.bar_index - state.last_entry_bar < candidate.cooldown_bars)
return SCA_BLOCK_COOLDOWN;

state.last_signal_bar = candidate.bar_index;
state.last_entry_bar = candidate.bar_index;
return SCA_ENTER;
}

void RunCase(SCA_STATE &state, const SCA_CANDIDATE &candidate)
{
SCA_DECISION actual = EvaluateCandidate(state, candidate);
bool pass = actual == candidate.expected;
if(pass)
g_passed++;
else
g_failed++;

g_report += StringFormat("[%s] %s | expected=%s actual=%s | day=%d bar=%d\r\n",
pass ? "PASS" : "FAIL", candidate.name,
DecisionText(candidate.expected), DecisionText(actual),
candidate.day_key, candidate.bar_index);
}

string DecisionText(const SCA_DECISION decision)
{
switch(decision)
{
case SCA_ENTER: return "ENTER";
case SCA_BLOCK_OPEN_BAR: return "BLOCK_OPEN_BAR";
case SCA_BLOCK_NO_SIGNAL: return "BLOCK_NO_SIGNAL";
case SCA_BLOCK_DUPLICATE_BAR: return "BLOCK_DUPLICATE_BAR";
case SCA_BLOCK_COOLDOWN: return "BLOCK_COOLDOWN";
case SCA_BLOCK_DAILY_LOCK: return "BLOCK_DAILY_LOCK";
}
return "UNKNOWN";
}

void SaveReport()
{
int handle = FileOpen(InpFileName, FILE_WRITE | FILE_TXT | FILE_ANSI | FILE_COMMON);
if(handle == INVALID_HANDLE)
{
PrintFormat("Acceptance harness could not create %s. Error %d", InpFileName, GetLastError());
return;
}
FileWriteString(handle, g_report);
FileClose(handle);
Print("Acceptance harness report saved to ", TerminalInfoString(TERMINAL_COMMONDATA_PATH),
"\\Files\\", InpFileName);
}
//+------------------------------------------------------------------+

Répondu

1
Développeur 1
Évaluation
(5)
Projets
6
50%
Arbitrage
0
En retard
0
Chargé
Publié : 1 code
2
Développeur 2
Évaluation
(1)
Projets
1
0%
Arbitrage
1
0% / 100%
En retard
0
Travail
3
Développeur 3
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
4
Développeur 4
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
5
Développeur 5
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
6
Développeur 6
Évaluation
(1)
Projets
1
0%
Arbitrage
0
En retard
0
Gratuit
Commandes similaires
Buying profitable EA Budget up to 1.5k (Serious offer) Specification EN I will pay 1.5k (negotiable) for an EA for existing MT4 that generates a minimum of 5% or higher a month consistently no monthly DD more than 5% on ,5k account Please send demo version with optimal settings so I can test, if it performs in a strategy tester i will also need option to forward test it in a demo account. Developer should be willing
1- The EA must h ave a unique strategy specialized on make trades with very very low RRR, so basicaly risking 1475$ to make 100$, with an ammount adjustable of trades per day. (This is very important that i wish in 100 trades, it makes a maximum of 10 trades of mistake, maybe less...) 2- The EA must have the strategy specialized on INDEX CFD. 3- The EA must make each trade with more than 3 minutes, and less than 12h
I need an MT4 Expert Advisor (MQL4). 1. Open one Buy and one Sell trade simultaneously. 2. Adjustable lot size (default 0.01). 3. Stop Loss on both trades. 4. If one trade hits Stop Loss: - Do not open a replacement trade. - Leave the remaining trade open. 5. Optional trailing stop: - On/Off switch. - Adjustable distance. 6. When the remaining trade closes: - Open a new Buy and Sell pair. - Repeat continuously
Hi i am looking for a coder whose designed a future EA that trades nas100. I need the system to pass future props and be used on live account as well. It can be running on mt5 and i could use a trade copier. It should have a very good growth with your strategy to it. I would require a test file with some history of it being used on the account. Only apply if you read this
*JOB TITLE:* `MQL5 EA: 8-Indicator Confluence Bot for XAUUSD, US30, NAS100, DE40 + News + DD Protection` *BUDGET:* $300 - $400 *TIMELINE:* 10 - 14 days *PLATFORM:* MetaTrader 4 & 5 *ATTACHMENTS:* `Indicators.zip` = 10 indicators + 5 screenshots with all settings --- *1. CORE TRADING LOGIC - ON CANDLE CLOSE ONLY* *BUY when ALL conditions are TRUE:* 1. Price > 200 SMA 2. `Reversal Indicator` = UP arrow/dot 3
Hi, I Wanne have a trading robot that give me signals for short buy and sell. And only for all currency in forex trading and also can use it on mt5
ROBOTFORX_V7 40+ USD
i have the robotforx_v7 code but am looking for an experinced developer to improve my code i want it to capture quick moves on 5mins it should be able close like ten trades in small profits
I BUY EA FOR FTMO XAUUSD I am looking to buy professional Expert Advisors (EA) suitable for FTMO and other prop trading environments. I am interested in XAUUSD . I am NOT looking for high-risk EAs with impressive but unrealistic backtests. I am looking for low drawdown, consistent returns and robust strategies that can survive real market conditions. REQUIRED RISK PROFILE Maximum preferred daily drawdown: 1% Maximum
EA REQUIREMENT — READ BEFORE ACCEPTING This is my 4th attempt to get this EA built correctly. Many developers have already failed to reproduce my TradingView results. Please read the complete requirement first. Do not accept the project if you are not confident that you can achieve the required accuracy. I do not want to waste your time or mine. I will provide my TradingView Pine Script, settings, and baseline trade
the bot will be used for xauusd scalp trading , want the bor follow the trading indicator will SL and open another opposite order where i can customize the SL margin and risk management

Informations sur le projet

Budget
30+ USD

Client

Commandes passées1
Nombre d'arbitrages0