Spécifications
//+------------------------------------------------------------------+
//| 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);
}
}
Répondu
1
Évaluation
Projets
39
23%
Arbitrage
14
0%
/
93%
En retard
4
10%
Travail
2
Évaluation
Projets
236
33%
Arbitrage
20
45%
/
30%
En retard
1
0%
Gratuit
3
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
Publié : 2 codes
4
Évaluation
Projets
1699
49%
Arbitrage
52
71%
/
12%
En retard
38
2%
Travail
5
Évaluation
Projets
2905
63%
Arbitrage
122
44%
/
25%
En retard
429
15%
Travail
6
Évaluation
Projets
2
0%
Arbitrage
1
0%
/
100%
En retard
0
Gratuit
7
Évaluation
Projets
0
0%
Arbitrage
1
0%
/
0%
En retard
0
Travail
8
Évaluation
Projets
7
0%
Arbitrage
8
13%
/
75%
En retard
3
43%
Gratuit
Commandes similaires
VICTOIRE MASTERCLASS
30 - 200 USD
import ccxt import pandas as pd import numpy as np import talib import time # Configuration exchange = ccxt.binance({ 'apiKey': 'VOTRE_API_KEY', 'secret': 'VOTRE_SECRET_KEY', }) # Paramètres de trading symbole = 'BTC/USDT' timeframe = '1h' montant = 100 # en USDT stop_loss = 0.98 # 2% de perte maximale take_profit = 1.03 # 3% de gain def recuperer_donnees(): ohlcv = exchange.fetch_ohlcv(symbole, timeframe
Trader
30+ USD
Un robot qui tarde a ma place même quand je Dors je veux qu'elle faire tout les tâches a ma place même quand le téléphone est éteint ou allumé le robot doit analyse et trade pour moi
I am looking for a developer to work with to create a bot that will generate signals based on the session highs and lows. Two pending orders will be placed, and one will be automatically deleted as soon as the other is activated. A second recovery trade will then be placed at the same level where the deleted trade was located that will activated in case the running trade hits sl. If the running trade hits tp the
Informations sur le projet
Budget
30 - 200 USD
Délais
de 3 à 5 jour(s)
Client
Commandes passées2
Nombre d'arbitrages0