Spezifikation
//+------------------------------------------------------------------+
//| Simple Robo Trader MT5 |
//| Works on any pair & timeframe |
//+------------------------------------------------------------------+
#property strict
// Input settings
input double LotSize = 0.01;
input int FastMA = 10;
input int SlowMA = 30;
input int RSIPeriod = 14;
input int StopLoss = 200; // in points
input int TakeProfit = 400;// in points
// Indicator handles
int fastMAHandle;
int slowMAHandle;
int rsiHandle;
//+------------------------------------------------------------------+
int OnInit()
{
fastMAHandle = iMA(_Symbol, _Period, FastMA, 0, MODE_EMA, PRICE_CLOSE);
slowMAHandle = iMA(_Symbol, _Period, SlowMA, 0, MODE_EMA, PRICE_CLOSE);
rsiHandle = iRSI(_Symbol, _Period, RSIPeriod, PRICE_CLOSE);
return(INIT_SUCCEEDED);
}
//+------------------------------------------------------------------+
void OnTick()
{
if(PositionsTotal() > 0) return;
double fastMA[2], slowMA[2], rsi[1];
CopyBuffer(fastMAHandle, 0, 0, 2, fastMA);
CopyBuffer(slowMAHandle, 0, 0, 2, slowMA);
CopyBuffer(rsiHandle, 0, 0, 1, rsi);
// BUY Condition
if(fastMA[1] < slowMA[1] && fastMA[0] > slowMA[0] && rsi[0] > 50)
{
BuyTrade();
}
// SELL Condition
if(fastMA[1] > slowMA[1] && fastMA[0] < slowMA[0] && rsi[0] < 50)
{
SellTrade();
}
}
//+------------------------------------------------------------------+
void BuyTrade()
{
double price = SymbolInfoDouble(_Symbol, SYMBOL_ASK);
double sl = price - StopLoss * _Point;
double tp = price + TakeProfit * _Point;
MqlTradeRequest req;
MqlTradeResult res;
ZeroMemory(req);
req.action = TRADE_ACTION_DEAL;
req.symbol = _Symbol;
req.volume = LotSize;
req.type = ORDER_TYPE_BUY;
req.price = price;
req.sl = sl;
req.tp = tp;
req.deviation = 10;
OrderSend(req, res);
}
//+------------------------------------------------------------------+
void SellTrade()
{
double price = SymbolInfoDouble(_Symbol, SYMBOL_BID);
double sl = price + StopLoss * _Point;
double tp = price - TakeProfit * _Point;
MqlTradeRequest req;
MqlTradeResult res;
ZeroMemory(req);
req.action = TRADE_ACTION_DEAL;
req.symbol = _Symbol;
req.volume = LotSize;
req.type = ORDER_TYPE_SELL;
req.price = price;
req.sl = sl;
req.tp = tp;
req.deviation = 10;
OrderSend(req, res);
}
Bewerbungen
1
Bewertung
Projekte
14
36%
Schlichtung
3
0%
/
100%
Frist nicht eingehalten
0
Arbeitet
Veröffentlicht: 1 Artikel
2
Bewertung
Projekte
144
46%
Schlichtung
21
38%
/
19%
Frist nicht eingehalten
32
22%
Arbeitet
3
Bewertung
Projekte
3
33%
Schlichtung
2
0%
/
100%
Frist nicht eingehalten
0
Frei
4
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
5
Bewertung
Projekte
1
100%
Schlichtung
3
0%
/
100%
Frist nicht eingehalten
0
Frei
6
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
7
Bewertung
Projekte
452
55%
Schlichtung
24
54%
/
17%
Frist nicht eingehalten
30
7%
Beschäftigt
8
Bewertung
Projekte
1
0%
Schlichtung
3
0%
/
100%
Frist nicht eingehalten
1
100%
Frei
9
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
10
Bewertung
Projekte
0
0%
Schlichtung
1
0%
/
0%
Frist nicht eingehalten
0
Arbeitet
11
Bewertung
Projekte
7
14%
Schlichtung
1
0%
/
100%
Frist nicht eingehalten
1
14%
Frei
12
Bewertung
Projekte
169
38%
Schlichtung
9
78%
/
22%
Frist nicht eingehalten
15
9%
Frei
13
Bewertung
Projekte
8
0%
Schlichtung
2
50%
/
0%
Frist nicht eingehalten
1
13%
Arbeitet
14
Bewertung
Projekte
3
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
15
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
16
Bewertung
Projekte
0
0%
Schlichtung
1
0%
/
100%
Frist nicht eingehalten
0
Frei
17
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
18
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
19
Bewertung
Projekte
9
22%
Schlichtung
0
Frist nicht eingehalten
0
Frei
20
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
21
Bewertung
Projekte
63
52%
Schlichtung
5
0%
/
40%
Frist nicht eingehalten
1
2%
Frei
22
Bewertung
Projekte
1
0%
Schlichtung
1
0%
/
100%
Frist nicht eingehalten
0
Frei
Ähnliche Aufträge
Tradingview strategy develop
30+ USD
i need some tradingview strategy that i want to use as a tester, i have something that i am working on currently and i need someone that can provide me with tradingview strategies that doesn't have a win rate, the one with 1:1 RR it need to have low win rate like 10% or 5% profitability, i am not paying $30 for,i dont have up to that for this cause i only want to use it as a test, if anyone have any to send me please
Project Description I am looking for an experienced MQL5/MT5 Expert Advisor developer to develop an automated trading EA for XAUUSD on the M3 timeframe , running on an Exness account . The EA will automate a manual strategy based on SNR/GAP zones , using two setup types: Price Rejection Price Correction The EA should identify valid BUY/SELL setups around predefined SNR/GAP areas, apply configurable RSI, SMA, EMA and
Projektdetails
Budget
40 - 10000 USD