명시
//+------------------------------------------------------------------+
//| 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
등급
프로젝트
1008
47%
중재
33
36%
/
36%
기한 초과
99
10%
작업중
게재됨: 6 코드
2
등급
프로젝트
184
25%
중재
25
16%
/
76%
기한 초과
16
9%
무료
3
등급
프로젝트
0
0%
중재
2
0%
/
100%
기한 초과
0
무료
4
등급
프로젝트
403
28%
중재
40
40%
/
50%
기한 초과
1
0%
무료
5
등급
프로젝트
1
0%
중재
1
0%
/
100%
기한 초과
0
무료
6
등급
프로젝트
12
0%
중재
3
33%
/
33%
기한 초과
0
무료
7
등급
프로젝트
2
0%
중재
4
25%
/
50%
기한 초과
1
50%
무료
8
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
9
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
10
등급
프로젝트
36
33%
중재
5
0%
/
80%
기한 초과
0
작업중
게재됨: 2 코드
11
등급
프로젝트
269
29%
중재
2
50%
/
0%
기한 초과
3
1%
작업중
게재됨: 2 코드
12
등급
프로젝트
0
0%
중재
1
0%
/
100%
기한 초과
0
무료
13
등급
프로젝트
3
33%
중재
2
0%
/
100%
기한 초과
0
무료
14
등급
프로젝트
32
38%
중재
4
50%
/
25%
기한 초과
5
16%
작업중
15
등급
프로젝트
0
0%
중재
5
0%
/
80%
기한 초과
0
무료
16
등급
프로젝트
174
40%
중재
10
40%
/
10%
기한 초과
30
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
등급
프로젝트
53
57%
중재
2
100%
/
0%
기한 초과
1
2%
무료
게재됨: 5 코드
비슷한 주문
Self sufficient Trading robot
30+ USD
Indicators: Fast MA (Period 10, Exponential) and Slow MA (Period 50, Exponential). Buy Signal: When Fast MA crosses above Slow MA. Sell Signal: When Fast MA crosses below Slow MA. Risk Management & Parameters: Customizable Lot Size (Default: 0.01). Stop Loss (SL) and Take Profit (TP) in pips. Trailing Stop options. Max Spread filter. Platform: MetaTrader 5 (MQL5)
I am looking for an experienced MQL5/MT5 developer to develop a custom Expert Advisor based on a complete technical architecture already prepared by the client. This is not a request to design a trading strategy from scratch . The strategy architecture, entry/exit concepts, filters, risk-management requirements and testing requirements are already documented. The main responsibility will be MQL5 development
Strategy
40 - 60 USD
yo i have a strategy i would really like to turn into a signal bot basically please this is very technical and serious to me the strategy needs more time 1 time frame and the bot most be 100% accurate
Optimizing martingale EA and specific stressdays
50 - 125 USD
Hello, I am looking for someone who can optimize my personal Martingale EA and perform thorough backtesting, especially on stress days and periods of high market volatility. A few important details: The EA trades XAUUSD (Gold) on the 1-minute timeframe (M1) . I use 1:500 leverage with TMGM as my broker. The account size is €50,000 . The EA already includes a News Filter and several other safety features. I need Low
can you help me use a Tickblaze Algo NRBO on the NT platform? I have it somewhat set up, but I have other questions about running it & knowing how to operate it in NT. Thank you if anyone have experience in this kindly bib and let do it asap
I need a fully automated custom Expert Advisor for MetaTrader 5 (MQL5). The EA is intended for use on a The5ers $100,000 2-Step prop-firm account. IMPORTANT DELIVERY REQUIREMENT: I must receive the complete editable .mq5 source code as well as the compiled .ex5 file. Compiled-only delivery is NOT acceptable. The EA must be coded specifically for this project and must not copy trades, use external trading signals or
I've got a Pine Script from Trading View. I need help from a programmer who can help with optimising the strategy by 1) Adding a couple of further rules 2) Redesign the trading alert arrows & colours I need, please, a programmer who is 1) Good at Pine language 2) Has excellent after-job support (not for free though) 3) Possess the ability to work with others. 4) Able to deliver the job at the shortest possible time
I need a trading system similar to the attached files. Check attachment for details on the indicator. i guess the indicator contains some of (Rainbow MA , MTF Dashboard , Symbol Switcher , and Trend Histogram), though may not be exactly as listed
VENOM EA
35 - 50 USD
So, im a beginner and I'm pleading you to built me a bot that runs 24hrs and that can buy and sell at the same time, choose a better and profitable strategy. I will do anything thing it takes to get the bot. I hope you take my request into consideration
I have an existing working MQL5 Expert Advisor and require an experienced MQL5 programmer/trading-system analyst to independently analyse its historical performance. This is NOT initially a request to rewrite the EA or simply optimize parameters. Current strategy: - MetaTrader 5 - M15 timeframe - EMA / ADX / ATR based - Approximately 1,337 historical trades - Gross Profit approximately USD 271,000 - Gross Loss
프로젝트 정보
예산
30 - 500 USD