명시

//+------------------------------------------------------------------+
//| 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
개발자 1
등급
(28)
프로젝트
39
23%
중재
14
0% / 93%
기한 초과
4
10%
작업중
2
개발자 2
등급
(153)
프로젝트
236
33%
중재
20
45% / 30%
기한 초과
1
0%
무료
3
개발자 3
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
게재됨: 2 코드
4
개발자 4
등급
(1278)
프로젝트
1699
49%
중재
52
71% / 12%
기한 초과
38
2%
작업중
5
개발자 5
등급
(2309)
프로젝트
2905
63%
중재
122
44% / 25%
기한 초과
429
15%
작업중
6
개발자 6
등급
(2)
프로젝트
2
0%
중재
1
0% / 100%
기한 초과
0
무료
7
개발자 7
등급
프로젝트
0
0%
중재
1
0% / 0%
기한 초과
0
작업중
8
개발자 8
등급
(5)
프로젝트
7
0%
중재
8
13% / 75%
기한 초과
3
43%
무료
비슷한 주문
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
Description du projet : Je recherche un développeur MQL5 expérimenté pour créer un Expert Advisor (EA) complet basé sur les concepts de Smart Money Concepts (SMC) . L'algorithme doit fonctionner sur trois unités de temps synchronisées (H4, M15, M1). Compétences techniques requises : Maîtrise parfaite du Multi-Timeframe (MTF) sans "survie" (no repainting/no future leaking). Capacité à coder des détections de
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
Bonjour, je cherche un développeur expérimenté pour créer un Expert Advisor (EA) simple sur MetaTrader 5. L'objectif est la sécurité du capital. 1. La Logique d'Entrée (La Stratégie) Le robot doit utiliser une Moyenne Mobile Exponentielle (EMA) . Achat (Buy) : Quand le prix (Clôture de la bougie) croise au-dessus de l'EMA et clôture au-dessus. Vente (Sell) : Quand le prix (Clôture de la bougie) croise

프로젝트 정보

예산
30 - 200 USD
기한
에서 3  5 일

고객

넣은 주문2
중재 수0