指定
//+------------------------------------------------------------------+
//| M65 PRO ROBOT |
//| Trend + RSI + Risk Management |
//+------------------------------------------------------------------+
#property strict
input double LotSize = 0.01;
input int StopLoss = 100; // points
input int TakeProfit = 200; // points
input int RSI_Period = 14;
int rsiHandle;
int ema50Handle;
int ema200Handle;
//+------------------------------------------------------------------+
int OnInit()
{
rsiHandle = iRSI(_Symbol, PERIOD_M5, RSI_Period, PRICE_CLOSE);
ema50Handle = iMA(_Symbol, PERIOD_M5, 50, 0, MODE_EMA, PRICE_CLOSE);
ema200Handle = iMA(_Symbol, PERIOD_M5, 200, 0, MODE_EMA, PRICE_CLOSE);
return(INIT_SUCCEEDED);
}
//+------------------------------------------------------------------+
void OnTick()
{
double rsi[], ema50[], ema200[];
CopyBuffer(rsiHandle, 0, 0, 1, rsi);
CopyBuffer(ema50Handle, 0, 0, 1, ema50);
CopyBuffer(ema200Handle, 0, 0, 1, ema200);
if(PositionSelect(_Symbol)) return;
double Ask = SymbolInfoDouble(_Symbol, SYMBOL_ASK);
double Bid = SymbolInfoDouble(_Symbol, SYMBOL_BID);
// BUY CONDITION
if(ema50[0] > ema200[0] && rsi[0] > 55)
{
trade.Buy(LotSize, _Symbol, Ask, Ask - StopLoss * _Point, Ask + TakeProfit * _Point);
}
// SELL CONDITION
if(ema50[0] < ema200[0] && rsi[0] < 45)
{
trade.Sell(LotSize, _Symbol, Bid, Bid + StopLoss * _Point, Bid - TakeProfit * _Point);
}
}
反馈
1
等级
项目
39
23%
仲裁
14
0%
/
93%
逾期
4
10%
空闲
2
等级
项目
240
34%
仲裁
20
45%
/
30%
逾期
3
1%
空闲
3
等级
项目
0
0%
仲裁
0
逾期
0
空闲
发布者: 8 代码
4
等级
项目
1732
49%
仲裁
55
67%
/
16%
逾期
38
2%
空闲
5
等级
项目
2937
63%
仲裁
124
44%
/
26%
逾期
429
15%
空闲
6
等级
项目
2
0%
仲裁
1
0%
/
100%
逾期
0
空闲
7
等级
项目
1
0%
仲裁
1
0%
/
0%
逾期
0
工作中
8
等级
项目
7
0%
仲裁
8
13%
/
75%
逾期
3
43%
空闲
9
等级
项目
478
40%
仲裁
105
40%
/
24%
逾期
82
17%
已载入
发布者: 2 代码
10
等级
项目
0
0%
仲裁
0
逾期
0
空闲
11
等级
项目
0
0%
仲裁
0
逾期
0
空闲
相似订单
Rim crazzack
30 - 300 USD
Je souhaite développer un robot de trading automatique capable de fonctionner uniquement lorsque je suis connecté à mon compte de trading. Le robot devra respecter les règles suivantes : Il peut ouvrir positions que lorsque je suis connecté. Il doit analyser les marchés en temps réel sur les unités de temps M1 (1 minute), M5 (5 minutes) et M15 (15 minutes). Il doit identifier des opportunités d'achat ou de vente en
Je recherche un EA fully automatique pour Volatility 75 et Volatility 100 sur Deriv/MT5. Logique de trading (5 modules) : Breakout – Cassure confirmée d'un niveau S/R sur H4/Daily, confirmation clôture H1 Rebond – Entrée quand le prix touche un S/R et repart en sens inverse Range – Détection canal horizontal, achat bas / vente haut Trailing Stop – Dès +300 points, SL remonte automatiquement Anti-drawdown – Pause auto
项目信息
预算
30 - 200 USD
截止日期
从 3 到 5 天