Fully write, initialize, and define all variables for a working error free debugged functional MQL4 EA Named: Skynet AI Hedge Fund EA

MQL4 Experts

Job finished

Execution time 1 day
Feedback from employee
A very nice and Kind Customer, He always compensate for every work done Thank you. More jobs to do together
Feedback from customer
Very skilled coder. Extremely patient with explanation of requirements. Will correct any issues promptly. Over all expert coder. Highly recommend for any strategy automation projects.

Specification

Fully write, initialize, and define all variables for a working error free functional MQL4 EA Named: "Skynet AI Hedge Fund EA" with the following external option parameters: Risk Type - (Fixed Lot or Percent Risk of Balance), Fixed Lot Size - (Initial value set to 0.01), Min Lot Size - (Initial value set to 0.01), Max Lot Size - (Initial value set to 100.00), Risk Percent - (Risk values based on an integer of a 1 - 100 range for percent of risk balance value calculations. Set initial risk value to 2) , Visible Take Profit - (Take Profit in pips as an integer value. Set initial value to 500), Visible Stop Loss - (Stop Loss in pips as an integer value. Set initial value to 500), Hidden Take Profit - (Create a hidden virtual take profit in pips with the initial value set to 20), Hidden Stop Loss - (Create a hidden virtual stop loss in pips with the initial value set to 50), Reverse Trades - (Create an option to reverse the direction of trades based of off the trading strategy and logic defined below with a boolean value of True or False) (Internally, fully code and define all functions, operators, and methods necessary to make the above external options work correctly within the mql4 code without any errors or debugging necessary for the latest MetaTrader 4 build. For the strategy logic and trade entry code hard code the following: (auto calculate the current time frame of the chart the EA will be placed on for a multi time frame compatible EA) (Create and initialize 3 Exponential Moving Averages. 1st EMA set to 6, 2nd EMA set to 14, 3rd EMA set to 26) (Create and initialize 1 Simple Moving Average. Set the SMA to 100) Define and Follow these trading rules when coding the EA: (Order executions will commence as follows - open one new trade at a time on each candle stick in the direction of the current trend based of off the EMA's and SMA) (Long Trades are defined to be executed when the 6 EMA is Above and the 14 EMA and the 14 EMA is above the 26 EMA and the 26 EMA is above the 100 SMA) (Short Trades are defined to be executed when the 100 SMA is above the 26 EMA and the 26 EMA is above the 14 EMA and the 14 EMA is above the 6 EMA) (For every trade order that is executed place a pending order in the opposite direction of the current trade 10 pips above each order for 3x the value of the current executed trade order. If the pending order becomes a market order Apply all order management to include: (visible take profit, visible stop loss, hidden take profit, and hidden stop loss) to the opposite executed trade. At the same time close the initial original executed trade only if the pending order becomes a market order. After the order closes continue trading the strategy.


Here is a Template I got from ChatGPT of what I am trying to accomplish:


// External parameters input int RiskType = 0; // 0 for Fixed Lot, 1 for Percent Risk input double FixedLotSize = 0.01; input double MinLotSize = 0.01; input double MaxLotSize = 100.00; input int RiskPercent = 2; input int VisibleTakeProfit = 500; input int VisibleStopLoss = 500; input int HiddenTakeProfit = 20; input int HiddenStopLoss = 50; input bool ReverseTrades = false; // Indicator parameters input int EMA1_Period = 6; input int EMA2_Period = 14; input int EMA3_Period = 26; input int SMA_Period = 100; // Define variables double LotSize; int Slippage = 3; int MagicNumber = 12345; // Unique identifier for this EA int LongTrade = 1; int ShortTrade = -1; int PendingOrderDistance = 10; // Define your trading strategy in the OnTick() function void OnTick() { // Calculate the current trend based on EMA and SMA values // Check if we should enter a Long Trade if (IsLongTradeConditionMet()) { // Calculate lot size based on Risk Type if (RiskType == 0) { LotSize = FixedLotSize; } else if (RiskType == 1) { LotSize = CalculateLotSizeBasedOnRisk(); } // Place a market order in the direction of the trend if (OrderSend(Symbol(), OP_BUY, LotSize, Ask, Slippage, 0, 0, "", MagicNumber, clrNONE) > 0) { // Order placed successfully // Place a pending order in the opposite direction if (ReverseTrades) { double OppositeLotSize = LotSize * 3; double OppositePrice = OrderSend(Symbol(), OP_SELL, OppositeLotSize, Bid + PendingOrderDistance * Point, Slippage, 0, 0, "", MagicNumber, clrNONE); if (OppositePrice > 0) { // Set Take Profit and Stop Loss for the opposite trade // ... // Close the initial trade if the pending order becomes a market order OrderClose(OrderSend(Symbol(), OP_BUY, LotSize, Bid, Slippage, 0, 0, clrNONE); } } } } // Check if we should enter a Short Trade if (IsShortTradeConditionMet()) { // Similar logic as for Long Trades // ... } } bool IsLongTradeConditionMet() { // Implement your Long trade logic based on EMA and SMA values // Return true if conditions are met, otherwise return false } bool IsShortTradeConditionMet() { // Implement your Short trade logic based on EMA and SMA values // Return true if conditions are met, otherwise return false } double CalculateLotSizeBasedOnRisk() { // Calculate lot size based on Risk Percent and account balance // Return the calculated lot size } // Other functions for setting Take Profit, Stop Loss, etc. // ...



Responded

1
Developer 1
Rating
(274)
Projects
403
28%
Arbitration
40
40% / 50%
Overdue
1
0%
Free
2
Developer 2
Rating
(47)
Projects
67
37%
Arbitration
5
40% / 40%
Overdue
1
1%
Free
Similar orders
Trading bot ea 30+ USD
yoo i want to make a trading bot i have my strategy in videos and also the rules to if anyone can work it out for me i will be glad welcome your bid and it urget let connect here on mgl5 And if you know you can not do the project without getting paid first please don't bid thanks
MT5 EA make work on zone break and candle confirm. Hi i need one expert person who can make exact what i want. My EA logic very simple.... few hrs market high and low make line then candle body close above or low then candle confirmation then pullback then entry RR1:2 no trail nothing,,,,, the line high low create after few hrs of the day i wll tell you later,,,,then 1hrs no trade if break then no trade for the
Hi, I need an Expert Advisor (EA) for MetaTrader 5, for my IC Markets account. Account MT5, hedging account, type: [Raw Spread / Standard: fill in] Deposit: 100 USD, leverage 1:30, account currency: [USD / EUR: fill in] Instruments Forex (major pairs) and gold (XAUUSD) Strategy and parameters may differ per instrument; each instrument must be tested and optimized separately If an instrument cannot be traded safely
المطلوب موشر لتداول الذهب مجرب وقوية يعطي اشاره قوية فقط مع وقف خساره ومختبر ومجرب في حال الموافقه علي لموشر بعد التجربه لمدة ٣ ايام يتم الشراء دايم مبلغ ٢٠٠ دولار
Masoudahg1 999999+ USD
Hello world, thank you for your helping and supporting for us from your for all everyone that investments or working in this programing and supporting seven/24 hours in daily and nightly for customers
Laily Mahmudy 100000+ USD
Thank you very much and of trying supporting and helping for us and my investfolio portfolio id is:"investfolio portfolio masoudahg1 id is":"7Zk0iVh7zuytHkQ9OJSzeY" &"35VmgKWofZxWowQ7O6CL8K" https://leylimahmudi46.atlassian.net is my Atlassian programing that when I working of this programs
Hi there I need someone who will create an ea then test it .. the ea should only place order on the bid price of it breakout in 1 point using invisible buy and invisible sell,, example if bid breakout in 1 point up automatically invisible buy active then invisible stop loss at where the ask price was same in sell If the bid breakout in 1 point down automatically invisible sell active then invisible stop loss where
I’m looking for an experienced MT5/MQL5 freelancer to help install and configure several existing EAs on IC Markets MT5 accounts using a Windows VPS. The work will include setting up the EAs on separate demo accounts and later running several together on one account with different risk settings. I also need help with MT5 backtesting and strategy optimisation, including comparing different risk levels and reviewing
I am looking for someone to build me a modular auto trader in Sierra chart and an Innie builder so that I can replicate my current Algas that I already have built. I've sent examples below can you please let me know how much you would charge me. I'm pretty good at building the signals myself but I do not know how to build the ocos order entry and I'm trying to get quotes and go with the person who seems they can help
i need price action and candle logic understand programmer need for this job... first understand logic and interested please message .... first understand logic and interested please message .... 2 types of hedge entry conditions: 1 is candle based 1- when i start point ea hh candle buy entry, after ll made 2- below the previous candle hedge sell order 3- if market goes again hh, if sell order profit book again

Project information

Budget
50+ USD
Deadline
from 5 to 30 day(s)