Specification
//+------------------------------------------------------------------+
//| 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);
}
Responded
1
Rating
Projects
20
0%
Arbitration
2
0%
/
100%
Overdue
4
20%
Free
2
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
3
Rating
Projects
941
75%
Arbitration
25
16%
/
68%
Overdue
100
11%
Busy
Published: 1 article, 6 codes
4
Rating
Projects
61
21%
Arbitration
11
27%
/
55%
Overdue
5
8%
Free
5
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
6
Rating
Projects
34
32%
Arbitration
3
0%
/
67%
Overdue
0
Loaded
Published: 2 codes
7
Rating
Projects
253
30%
Arbitration
0
Overdue
3
1%
Free
Published: 2 codes
8
Rating
Projects
7
0%
Arbitration
3
33%
/
33%
Overdue
3
43%
Loaded
9
Rating
Projects
16
6%
Arbitration
8
38%
/
38%
Overdue
2
13%
Working
Similar orders
Market Killer Indicator
30 - 500 USD
//+------------------------------------------------------------------+ //| 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
I'm seeking a NinjaTrader indicator and scanner to identify stock patterns for swing trading. I need this tool to help pinpoint swing highs and lows and key levels, covering various timeframes. Scope of work - Develop NinjaTrader indicator for last swing high and low - Implement key level marking for supply and demand zones - Create a market analyser scanner for reversal, structure shifts, and breakout patterns -
I'm seeking a NinjaTrader indicator and scanner to identify stock patterns for swing trading. I need this tool to help pinpoint swing highs and lows and key levels, covering various timeframes. Scope of work - Develop NinjaTrader indicator for last swing high and low - Implement key level marking for supply and demand zones - Create a market analyser scanner for reversal, structure shifts, and breakout patterns -
I need a custom Pocket Option binary options bot. This is NOT an MT5 EA. The bot must work directly with Pocket Option using API or WebSocket (NO clicker bot). Bot Requirements Generate simple Buy/Sell signals for OTC pairs Execute trades automatically on Pocket Option Allow me to set: Entry Amount (Level 0) Level 1 martingale amount Level 2 martingale amount Level 3 martingale amount If Level 0 loses → trade Level 1
Ai
300 - 500 USD
**Looking for a developer to build an Institutional AI Trading System based on a 2-Layer Architecture: Decision Engine (AI + Market Structure Analysis) Execution Engine (Trade Execution + Risk Management)** Full technical details will be shared after selecting the developer
Trade station strategy
80+ USD
I need a TradeStation EasyLanguage developer to create a simple one-shot intraday strategy for any 5-minute stock chart. I will manually enter five inputs: LowerBuyPrice, UpperBuyPrice, StopPrice, TargetPrice, and QtyShares. During regular U.S. equity hours, the strategy should enter long once when price trades between my buy levels, then exit only if the StopPrice or TargetPrice is hit, or if I close the position
Usdt clone
30 - 100 USD
FLASH USDT Generation on TRON (TRC20) with Extended Duration 10 August 2025 at 17:59 Python Design Consultation Python Specification 1. Objective To acquire or develop a technological solution that allows the generation of temporary “FLASH” USDT on the TRON (TRC20) network, with an on-chain lifespan equal to or greater than 180 days. 2. Functional Scope 2.1 FLASH USDT Generation Creation of temporary USDT tokens
Welcome to my freelance profile. I am a disciplined and detail-oriented trading systems specialist with strong expertise in: Algorithmic Trading (MT4 & MT5) EA/Indicator Setup & Technical Support Signal Creation, Optimization & Risk Structuring Strategy Testing & Performance Evaluation Trade Automation & System Fine-Tuning My work is based on accuracy, transparency, and strict professional standards. I ensure that
We are looking for a skilled developer with proven experience integrating the Deriv API WebSocket, ( https://developers.deriv.com/docs/getting-started ) to connect our trading web application with Deriv SmartTrader accounts. Our platform already generates AI-based trading signals , and the goal is to allow users to: Log in with their Deriv account (OAuth or API tokens) Fetch and display real-time account details
I want to make a new EAfor my strategy
30 - 60 USD
🔹 EA Name: Still not decided Bollinger Breakout Entries + Support/Resistance Filtering + Grid + Average Profit Exit S&R Bollinger Breakout Grid EA is a powerful automated trading system that combines Support & Resistance, Bollinger Band breakout confirmation, a controlled grid, and a smart Average Profit Exit System. This EA executes only high-quality reversal entries and manages trades intelligently without using
Project information
Budget
50 - 100 USD
Customer
Placed orders2
Arbitrage count0