명시
//+------------------------------------------------------------------+
//| ScalperEA.mq5 |
//+------------------------------------------------------------------+
#property copyright "Template"
#property version "1.00"
#property strict
input int FastEMA = 8;
input int SlowEMA = 21;
input int AtrPeriod = 14;
input double StopAtrMult = 1.2;
input double TpAtrMult = 1.0;
input double RiskPercent = 0.5; // percent account risk per trade
input int Magic = 123456;
input double Lots = 0.01;
double EMAFast[], EMASlow[], ATRArr[];
int OnInit()
{
SetIndexBuffer(0, EMAFast);
SetIndexBuffer(1, EMASlow);
// nothing to set for ATR; we'll compute using iATR
return(INIT_SUCCEEDED);
}
void OnTick()
{
// get last two closed candles
int shift = 1; // last closed bar
double fast_prev = iMA(NULL, PERIOD_CURRENT, FastEMA, 0, MODE_EMA, PRICE_CLOSE, shift+1);
double fast_last = iMA(NULL, PERIOD_CURRENT, FastEMA, 0, MODE_EMA, PRICE_CLOSE, shift);
double slow_prev = iMA(NULL, PERIOD_CURRENT, SlowEMA, 0, MODE_EMA, PRICE_CLOSE, shift+1);
double slow_last = iMA(NULL, PERIOD_CURRENT, SlowEMA, 0, MODE_EMA, PRICE_CLOSE, shift);
double atr = iATR(NULL, PERIOD_CURRENT, AtrPeriod, shift);
if (atr <= 0) return;
// simple crossover signals
if (fast_prev <= slow_prev && fast_last > slow_last)
{
// buy signal
double entry = SymbolInfoDouble(_Symbol, SYMBOL_BID); // or use Ask for buy market entry
double stop = entry - StopAtrMult * atr;
double tp = entry + TpAtrMult * atr;
double lots = Lots;
// optionally compute lots from RiskPercent and stop distance
// place market buy
trade_buy(lots, stop, tp);
}
else if (fast_prev >= slow_prev && fast_last < slow_last)
{
// sell signal
double entry = SymbolInfoDouble(_Symbol, SYMBOL_ASK);
double stop = entry + StopAtrMult * atr;
double tp = entry - TpAtrMult * atr;
trade_sell(Lots, stop, tp);
}
}
void trade_buy(double lots, double stop, double tp)
{
MqlTradeRequest req;
MqlTradeResult res;
ZeroMemory(req);
req.action = TRADE_ACTION_DEAL;
req.symbol = _Symbol;
req.volume = lots;
req.type = ORDER_TYPE_BUY;
req.price = SymbolInfoDouble(_Symbol, SYMBOL_ASK);
req.sl = stop;
req.tp = tp;
req.deviation = 5;
req.magic = Magic;
OrderSend(req, res);
}
void trade_sell(double lots, double stop, double tp)
{
MqlTradeRequest req;
MqlTradeResult res;
ZeroMemory(req);
req.action = TRADE_ACTION_DEAL;
req.symbol = _Symbol;
req.volume = lots;
req.type = ORDER_TYPE_SELL;
req.price = SymbolInfoDouble(_Symbol, SYMBOL_BID);
req.sl = stop;
req.tp = tp;
req.deviation = 5;
req.magic = Magic;
OrderSend(req, res);
}
응답함
1
등급
프로젝트
987
47%
중재
33
36%
/
36%
기한 초과
99
10%
로드됨
게재됨: 6 코드
2
등급
프로젝트
168
24%
중재
23
9%
/
78%
기한 초과
16
10%
작업중
3
등급
프로젝트
0
0%
중재
2
0%
/
100%
기한 초과
0
무료
4
등급
프로젝트
401
27%
중재
40
40%
/
50%
기한 초과
1
0%
무료
5
등급
프로젝트
1
0%
중재
1
0%
/
100%
기한 초과
0
무료
6
등급
프로젝트
8
0%
중재
2
0%
/
50%
기한 초과
1
13%
작업중
7
등급
프로젝트
2
0%
중재
4
25%
/
50%
기한 초과
1
50%
무료
8
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
9
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
10
등급
프로젝트
35
34%
중재
5
0%
/
80%
기한 초과
0
작업중
게재됨: 2 코드
11
등급
프로젝트
262
30%
중재
0
기한 초과
3
1%
무료
게재됨: 2 코드
12
등급
프로젝트
0
0%
중재
1
0%
/
100%
기한 초과
0
무료
13
등급
프로젝트
3
33%
중재
2
0%
/
100%
기한 초과
0
무료
14
등급
프로젝트
16
13%
중재
4
50%
/
25%
기한 초과
4
25%
로드됨
15
등급
프로젝트
0
0%
중재
5
0%
/
80%
기한 초과
0
무료
16
등급
프로젝트
168
39%
중재
10
40%
/
0%
기한 초과
29
17%
로드됨
17
등급
프로젝트
8
13%
중재
3
0%
/
33%
기한 초과
2
25%
무료
게재됨: 1 코드
18
등급
프로젝트
8
0%
중재
3
33%
/
67%
기한 초과
4
50%
무료
19
등급
프로젝트
1
100%
중재
3
0%
/
100%
기한 초과
0
무료
20
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
21
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
22
등급
프로젝트
33
61%
중재
1
100%
/
0%
기한 초과
1
3%
무료
게재됨: 5 코드
비슷한 주문
Hola, estoy buscando un desarrollador MQL5 con experiencia real en trading algorítmico. Necesito un EA para XAUUSD con: Control de Drawdown filtro de mercado (tendencia vs rango) gestión de riesgo dinámica optimización para sesiones específicas Antes de avanzar quisiera saber: ¿Qué experiencia tienes con EAs en MT5? ¿Has trabajado con estrategias de oro (XAUUSD)? ¿Cómo gestionas el drawdown en un bot? ¿Puedes mostrar
Robots in C++ (cAlgo trading platform)
30 - 80 USD
Iam seeking for a good trade robot/indicator debugging developer to finalize and close profits for me,in both my exneas blocker and MT5,for expert advisor for trading both gold xausd and sliver xagusd,l really want a perfect robot that can herence and risk management principles,not to leave out am a beginner
I already have a fully developed MT5 Expert Advisor with all required prop firm features, including: Risk management Daily loss & max drawdown limits Spread & slippage filters News filter Trade management system The EA structure is complete. 👉 What I need is a professional developer to replace ONLY the entry logic with a high-quality, rule-based trading strategy. 🚨 STRICT REQUIREMENT (READ CAREFULLY): I am NOT
Project Description I am looking for a highly experienced MQL5 developer to build a professional-grade Expert Advisor for MetaTrader 5, focused on XAUUSD (Gold). This project is not a simple EA, but the foundation of a scalable multi-strategy trading system, designed for long-term development and future upgrades. Core Concept The EA must support a maximum of 5 internal strategies, each working independently but
I need an experienced developer to carry out an indicator and trading robot using the following; moving averages risk ( take profit and stop loss) and maximum drawdown limits heiken ashi confirmation. trendline breakout if possible The developer will test this on a demo account that I will provide before conclusion as I don’t want anyone to waste my time trying to use chartgpt trial and error. If you can do the
Volume Gaps & Imbalances by Zeiierman is the indicator I want to convert to MT5. I want to work with someone who specializes /understands scalping on the 1min. You need to be able to modify and play with the settings, back & forward test, and find settings that will work best for scalping the NQ. I am not looking for a developer that just builds without completely forward testing it, that all the fields works, and
Tradingview indicator
30+ USD
Hi, Before ordering, I want to verify the quality of your ICT/SMC logic. Do you have an existing indicator or strategy (your own work) that I can test on TradingView? If yes, please provide: 1. A demo (invite-only script or video) 2. Proof it is NON-repainting (explained clearly) 3. Live or replay demonstration (not static screenshots) Specifically I want to see: * Clean swing structure (no consecutive highs/lows) *
Описание: Мне нужен пользовательский индикатор для MT4, основанный на логике концепции «умных денег» (Smart Money Concepts, SMC). Индикатор должен определять изменения структуры рынка без перерисовки. Основные требования: Логика: Индикатор должен использовать подход, основанный на зигзаге, для определения точек HH/LL и LH/HL. Сигналы: - Фиолетовая стрелка (Продажа): Появляется, когда цена формирует новый нижний
Project Overview I am looking for a high-level Algorithmic Trader / Developer to build a sophisticated, fully automated scalping system for the Nasdaq-100 Future (NQ) . The system must integrate institutional order flow logic with market structure analysis. The core logic must be written in Python , acting as a central hub that bridges ATAS (as the primary data source for Order Flow) and MetaTrader 5 (as the
Automatic Level Detection Group]
30 - 100 USD
[Automatic Level Detection Group] - Enable Auto Detection: Yes/No - Number of Levels Required: (Number) 3-5 - Lookback Bars: (Number) 100-200 - Minimum Touches for Strong Level: (Number) 2 - Use Zig Zag Algorithm: Yes/No - Use Level Clustering: Yes/No - Max Cluster Distance (points): (Number) [Display and Drawing Group] - Resistance Line Color: (Color) - Support Line Color: (Color) - Show Info Labels: Yes/No - Lines
프로젝트 정보
예산
30 - 500 USD