Job finished
Execution time 20 hours
Feedback from customer
I hired Navdeep to help me work on a personal project where my ability with MQL5 was lacking. He completed the job within a few hours and helped me with numerous questions after the handover
Feedback from employee
Happy to help
Specification
Hello,
I have developed a strategy but I'm struggling to write the MQL5 code and it's easier for me to get some help rather than continue struggling.
I will explain the part of the strategy I need help with in basic code but I need help writing this in MQL5 as 1. I can't figure out how to calculate the moving average of a source that isnt OHLC, and 2. I cant think how to store that as an array. I have commented the sections below:
lookback_period = 50 //------ Get RSI Values for all 28 Pairs double audcad = rsi("AUDCAD",lookback_period) double audchf = rsi("AUDCHF",lookback_period) double audjpy = rsi("AUDJPY",lookback_period) double audnzd = rsi("AUDNZD",lookback_period) double audusd = rsi("AUDUSD",lookback_period) double cadchf = rsi("CADCHF",lookback_period) double cadjpy = rsi("CADJPY",lookback_period) double chfjpy = rsi("CHFJPY",lookback_period) double euraud = rsi("EURAUD",lookback_period) double eurcad = rsi("EURCAD",lookback_period) double eurchf = rsi("EURCHF",lookback_period) double eurgbp = rsi("EURGBP",lookback_period) double eurjpy = rsi("EURJPY",lookback_period) double eurnzd = rsi("EURNZD",lookback_period) double eurusd = rsi("EURUSD",lookback_period) double gbpaud = rsi("GBPAUD",lookback_period) double gbpcad = rsi("GBPCAD",lookback_period) double gbpchf = rsi("GBPCHF",lookback_period) double gbpjpy = rsi("GBPJPY",lookback_period) double gbpnzd = rsi("GBPNZD",lookback_period) double gbpusd = rsi("GBPUSD",lookback_period) double nzdcad = rsi("NZDCAD",lookback_period) double nzdchf = rsi("NZDCHF",lookback_period) double nzdjpy = rsi("NZDJPY",lookback_period) double nzdusd = rsi("NZDUSD",lookback_period) double usdcad = rsi("USDCAD",lookback_period) double usdchf = rsi("USDCHF",lookback_period) double usdjpy = rsi("USDJPY",lookback_period) //----- Find Individual Currency Strength double aud = (audcad+audchf+(100-euraud)+(100-gbpaud)+audjpy+audnzd+audusd)/7; double cad = ((100-audcad)+cadchf+(100-eurcad)+(100-gbpcad)+cadjpy+(100-nzdcad)+(100-usdcad))/7; double chf = ((100-audchf)+(100-cadchf)+(100-eurchf)+(100-gbpchf)+chfjpy+(100-nzdchf)+(100-usdchf))/7; double eur = (euraud,eurcad+eurchf+eurgbp+eurjpy+eurnzd+eurusd)/7; double gbp = (gbpaud,gbpcad+gbpchf+(100-eurgbp)+gbpjpy+gbpnzd+gbpusd)/7; double jpy = ((100-audjpy)+(100-cadjpy)+(100-chfjpy),(100-eurjpy)+(100-gbpjpy)+(100-nzdjpy)+(100-usdjpy))/7; double nzd = ((100-audnzd)+nzdcad+nzdchf+(100-eurnzd)+(100-gbpnzd)+nzdjpy+nzdusd)/7; double usd = ((100-audusd)+usdcad+usdchf+(100-eurusd)+(100-gbpusd)+usdjpy+(100-nzdusd))/7; //---- Now I need a function to take one of the individual currency strengths and calculate 2 moving averages, subtracting the smaller moving average from the larger one. The problem is 1. finding the moving average of a source that isnt OHLC, and 2. storing that as an array to be able to identify crossovers etc: int signal(double data_currency) { int signal_output = 0; delta[] = ema(data_currency,50) - ema(data_currency,200) // This needs to be an array so that I can calculate when delta crosses above or below 0. This is the entry criteria if(delta[0] > 0 && delta[1] < 0) //delta crosses above 0 signal_output = 1; if(delta[0] < 0 && delta[1]) > 0 //delta below above 0 signal_output = -1; return(signal_output); }
This should be a simple fix for someone who knows the solution!
Responded
1
Rating
Projects
499
67%
Arbitration
5
40%
/
0%
Overdue
4
1%
Free
Published: 8 codes
2
Rating
Projects
7
29%
Arbitration
0
Overdue
0
Free
Similar orders
Hi 👋 I’m looking for an MQL5 programmer to help me with a very simple task 😊 📌 What needs to be done: Convert an existing Python trading strategy into a simple MT5 Expert Advisor Logic is already finished and tested in Python ✅ EA only needs to execute trades based on given rules (no fancy UI, no over‑engineering) Intraday strategy, one symbol, one timeframe ⏱️ 📌 What I provide: Full Python code 📄 Exact trading
ICT Sell-Only Execution EA
100+ USD
Below is the same information written as a continuous, professional text , clear and suitable for a requirements description field. This project consists of adjusting an existing Expert Advisor for MetaTrader 5, written in MQL5. The original EA structure, logic, and trading methodology must be fully preserved, with no rewriting, simplification, or replacement of the strategy. The only required functional change is to
MT5 EXPERT By Jim
100+ USD
//+------------------------------------------------------------------+ //| MT5 Forex Scalping EA | //| Trend Pullback Scalper | //+------------------------------------------------------------------+ #property strict #include <Trade/Trade.mqh> CTrade trade; // ===== INPUTS ===== input double RiskPercent = 0.5; input int EMAFast = 20; input int EMASlow = 50; input int RSIPeriod
XAUUSD Trading EA Development Project*
30 - 55 USD
I'm seeking an experienced MQL5 developer to create a robust Expert Advisor (EA) that integrates 4 powerful strategies into a single, cohesive system. The EA will trade XAUUSD exclusively and adhere to strict risk management principles, avoiding grid and martingale techniques. *Strategy Overview* The EA will incorporate the following strategies, each with its own unique approach: 1. *High Timeframe Trend Reversal*
i want to convert icc /cct strategy into an automated bot, if any one can do it please let me know so i send a video describing exaclty what i want
I am looking for an experienced developer to build a TradingView Pine Script that generates trading signals and sends them via webhook to MT4 for automated execution. The trading logic must be handled entirely in TradingView (Pine Script) . MT4 will only be responsible for receiving webhook messages and executing trades (no strategy logic inside MT4). The goal is to ensure that TradingView backtest results and live
An Expert Advisor based on Fibonacci Retracement
30 - 60 USD
* Use Fibonacci retracement (with adjusted values) to scale entry points. * Timeframe may differ depending on the projected target; but the Fibonacci conditions remain the same * date range into consideration as well * Applicable to indices, crypto and metals. * Activate entries on the second half of my fib *Usually takes the whole week to unfold (5 - 7 days) * Timeframes to consider 5m/15m, H1/H2 The attached images
Nestalink.EA
30 - 100000 USD
//+------------------------------------------------------------------+ //| Prop Firm Challenge EA – Fully Automated (MT5) | //+------------------------------------------------------------------+ #property strict #include <Trade/Trade.mqh> CTrade trade; // ================= INPUTS ================= input double RiskPerTradePct = 0.5; // 0.5% risk (prop firm safe) input double MaxDailyLossPct = 2.0; // Daily loss limit
Я ищу уже существующего советника
200 - 500 USD
Я ищу уже существующего, прибыльного советника Если у вас уже есть проверенный, стабильный и готовый к использованию советника, я бы хотел его протэстировать и получить. Обязательные требования ▪ Оригинальный код: Требуется полный исходный код в формате .mq5 (желательно чисто, читаемый и хорошо прокомментированный). ▪ Тестирование исторических данных: Минимальный срок тестирования — 5 лет (для проведения
i need a trading bot that can make 100% profit in 1 day. with capital less than $200 i know this is risky but am willing to take the risk. ea has to be backtestable and also i will test for just 5days to make sure it works. and make a purchase if am satisfied with the 5days results. send backtest results for me to consider and reply
Project information
Budget
30+ USD
Deadline
from 1 to 2 day(s)