仕事が完了した
実行時間20 時間
依頼者からのフィードバック
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
開発者からのフィードバック
Happy to help
指定
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!
応答済み
1
評価
プロジェクト
499
67%
仲裁
5
40%
/
0%
期限切れ
4
1%
暇
パブリッシュした人: 8 codes
2
評価
プロジェクト
7
29%
仲裁
0
期限切れ
0
暇
類似した注文
EA
35+ USD
Project Title: Development of a Custom Breakout Expert Advisor (EA) with Dynamic Trailing Stop, Advanced Security Filters, and On-Screen Dashboard for MT5 Project Description: Overview: I am looking for an experienced MQL5 developer to build a fully automated Trading Robot (Expert Advisor) for MetaTrader 5 based on a pending orders breakout strategy with strict dynamic risk management and customized time/profit
Need a faithful ready made hft scalper ea robot
100 - 300 USD
READ CAREFULLY BEFORE APPLY Hi there I am in need of a well automated and reliable ready made expert advisor scalper ea that run perfectly across trending market conditions, I mean a profitable strategy must perform optimally and yield massive trading returns, I am looking forward to validate a well working ea as per my specifications here, you must provide both screenshot and videos of the HFT scalper ea running on
Need a ready made HFT scalper ea
100 - 200 USD
READ CAREFULLY BEFORE APPLY Hi there I am in need of a well automated and reliable ready made expert advisor scalper ea that run perfectly across trending market conditions, I mean a profitable strategy must perform optimally and yield massive trading returns, I am looking forward to validate a well working ea as per my specifications here, you must provide both screenshot and videos of the HFT scalper ea running on
MT5 Forex Scalping Expert Advisor — Budget $30 Project description I am looking for a developer to build a simple, fully automated Forex scalping bot (Expert Advisor / EA) for MetaTrader 5 (MT5). My total budget is $30 USD . Please keep the strategy simple and focus on reliable execution, risk management, and easy configuration. 1. Trading strategy The bot must automatically identify trading opportunities and open
Project Title: Development of a Custom Breakout Expert Advisor (EA) with Dynamic Trailing Stop and On-Screen Dashboard for MT5 Project Description: Overview: I am looking for an experienced MQL5 developer to build a fully automated Trading Robot (Expert Advisor) for MetaTrader 5 based on a pending orders breakout strategy with strict dynamic risk management. The EA must be highly optimized, bug-free, and follow the
Tredovate indicator
30+ USD
👋 Hey can anyone help me with creating an indicator for tradovate These were the ones I was looking at but I only have source code for TVS Trading view 1. engulfing Candle indicator by rmunoz 2. Fvg nephew sam (locked) 3. True volume surrogate (mt5)
I am looking for someone who can get me started on Sierra Charts. I need a setup with vwap and dayly VP aswell as session vp and vwap. Also previous days vp. I want to learn and use cvd and dom. Initially I just want to have my setup with the charts I use and connect all to the prop firm etc. Can you give me a good price for the above? I’d also like to understand how the setup works rather than simply having someone
Hi, I’m looking for an experienced MQL5 developer to convert my TradingView Pine Script into an MT5 EA. Here are the main requirements: **MBS BREAKOUT** * Buy when price breaks the Green Line * Sell when price breaks the Red Line **TIMEFRAMES** * Strategy 1 = M1 * Strategy 2 = M5 * Strategy 3 = M15 * Strategy 4 = M30 * Strategy 5 = H1 * Strategy 6 = H4 * Strategy 7 = D1 * Strategy 8 = W1 * Strategy 9 = MN1 Each
SUPER SCALPING
30+ USD
I WISH TO BUILD A ROBOT THAT CAN FIND BREAKOUTS ON 15MIN CHARTS, STARTING WITH THE WAVE 3 ON ELLIO WAVE ANALYSIS, ONCE IS PROFITABLE ENOUGH WILL OPEN A SECOND TRADE AFTER THE FIRST PULL BACK AND SET THE TP OF THE FIRST TRADE WITH THE SL OF THE SECOND TRADE IN A WAY TO GAIN A MINIMUM PROFIT OF 10 DOLLARS OR MORE, IF THE THIRD PULL BACK HAPPENS ANOTHER TRADE WILL BE PLACED MOVING ALL TP AND SL IN SUCH A WAY THAT THE
I am looking for someone with strong experience using QuantAnalyzer, StrategyQuant Portfolio Master, or a similar portfolio-analysis tool to create an accurate backtest of several existing MT5 EAs running together as one portfolio. The individual EAs can be backtested separately in MT5. My main requirement is to combine those results into a portfolio backtest using different risk allocations for each EA. For example
プロジェクト情報
予算
30+ USD
締め切り
最低 1 最高 2 日