İş tamamlandı
Tamamlanma süresi: 20 saat
Müşteri tarafından geri bildirim
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
Geliştirici tarafından geri bildirim
Happy to help
İş Gereklilikleri
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!
Yanıtlandı
1
Derecelendirme
Projeler
499
67%
Arabuluculuk
5
40%
/
0%
Süresi dolmuş
4
1%
Serbest
Yayınlandı: 8 kod
2
Derecelendirme
Projeler
7
29%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
Benzer siparişler
BotC#
34+ USD
//+------------------------------------------------------------------+ //| Notification.mq5 | //| Copyright 2012, MetaQuotes Software Corp. | //| https://www.mql5.com | //+------------------------------------------------------------------+ #property copyright "Copyright 2012, MetaQuotes Software Corp."
I want to buy EA which works in proper sl and target by taking 0.5% or 1% per risk per trade,, no grid, no martingle,, i want minimum 10% to 25% profit monthly,, i want it for investor accoubt handling purpose,, it may follow any stategy or indicator i dont matter,, but i want consisten and maximum draqdown it can have 40 to 50% no prblm but i want regular monthly 10 to 25% return,, 👉 I want you to provide me ex5
MT4/ MT5 DEVELOPER
70+ USD
I’m a trader looking to build a non-repainting indicator . I recently came across an indicator on the MQL5 Market called King Binary , but I’m not sure whether it can be used for automation. When I checked its settings, there are no adjustable parameters—only alert notifications
Its very simple grod EA,,
30 USD
Ones EA start just buy at market order with input varibale "initial lot size",, example 0.01 lot,, and immedetely put target and stoploss by "input varible "distance points",, example 1000 points,,, if target hit then immediately take another buy order at market price with same points"distance points",, if tp hit this process keep on goes,, But if sl hit then immediately take sell order with lot size 0.03 with sl
GoldTrade EA
40+ USD
تمام، إليك وصف جاهز بالإنجليزية لنسخه في صفحة "Publish New Job" على موقع *mql5.com*: --- *Job Title:* *MT5 EA for Funded Accounts – XAUUSD – 3 Targets – Daily Loss Limit* --- *Description:* I need a professional MQL5 developer to create an Expert Advisor (EA) for trading *XAUUSD (Gold)* on a *5-minute chart* for *funded prop firm accounts*. *Main Features:* - *Lot Size*: 1% of available balance per trade -
Hello, I’m interested in buying a solid, profitable EA with verified results. Before purchasing, I’d like to test it first—either a time-limited demo version or another limited evaluation option (for example, a demo-only license or restricted lot size). If you’re selling an EA and can offer something like this, please share the details (strategy type, recommended pairs/timeframes, risk settings, and any live/backtest
I’m looking to acquire an existing, profitable Expert Advisor (EA) with full source code to add to our client investment portfolio. To be clear, this is not a request to develop or design a new strategy. If you already have an EA that is proven, consistent, and production-ready, I’m open to reviewing it immediately. Please apply only if you meet all the requirements below. Submissions without a proper introduction or
I am planning to integrate auto trading from python directly to broker terminal. Core Trading Setup Python ↔ Broker API integration Login & token management Market data (REST + WebSocket) Order placement / modification / cancellation Multi-strategy orchestration (50+) ✅ Infrastructure VPS setup (Linux preferred) Static IP handling & broker whitelisting Process supervision (systemd / supervisor) Logging, retries
I need an MT5 Expert Advisor for XAUUSD only. Strategy: - Low risk trading - Works on M15 and H1 - Trend + pullback or swing style - One trade at a time - No martingale, no grid Risk Management: - Risk per trade: 1% (adjustable) - Stop Loss and Take Profit must be included - Trailing stop optional Other requirements:I need a custom MT5 Expert Advisor for XAUUSD scalping. Trading style: - Scalping only - XAUUSD (Gold)
BencookFX EA
10000+ USD
THE STRATEAGY OF BECOOK FX IS LITERALLY A CODE WHICH IT DEAD TIME ZONE ON ICT AND RETAIL TRADER COMBINE WHICH IS A TEST FOR THOSE WHO WANT TO TRADE AND ACT LIKE
Proje bilgisi
Bütçe
30+ USD
Son teslim tarihi
from 1 to 2 gün