Add advanced functions to the code that was generated for MQL4 and MQL5

MQL4 Indicators Experts Forex

Specification

function (A)

Add Transform combine the 4 Expert Advisors into just 1 Expert Advisor, maintaining the individuality of each one

Leave in extern (false) or (true)

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

function (B)

Add the function (false) or (true) INTO THE EXISTING FUNCTION: TradeSize = 0.01;

3686995

(true) Function (C) does not work

(false) Function (B) does not work

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

function (C)

KEEP AVAILABLE FOR MODIFICATION (extern = 0.01;)

Add function (false) or (true)

(true) Function (B) does not work

(false) Function (C) does not work

._____________________________________________________________________________

If entered in (extern = 0.01;) Initial lot value

FIRST BUY ORDER TO OPEN _________________________________________________

If the command was given to open the FIRST BUY ORDER (1* buy order lot 0.01) - (1* order is open in the YES market (2* buy order lot 0.02) - (2* order is open in the YES market (3* buy order lot 0.03) - (3* order is open in the YES market (4* buy order lot 0.04) - (4* order is open in the YES market (5* buy order lot 0.05)... so on there is no maximum limit.

If the command was given to open a 6* sell order, the function will take the lot value of the last buy order that is open in the market and the penultimate buy order that is open in the market (example (3* order is open in the market YES (4* buy order lot 0.04) - (4* order is open in the market YES (5* buy order lot 0.05): 0.04 + plus 0.05 = equal to (6* sell order lot 0.09) Sell orders will not be used to make the calculation.

If the command was given to open a 7* buy order: (5* order is open in the market YES (7* buy order lot 0.06)... No sell orders will be used to make the calculation

If the 2nd order was a sell command, the function will take the lot value of the last buy order that is open on the market (example (1st order is open on the market YES (2nd sale order lot 0.01): it will repeat the same lot value

The function will be restarted again with the initial lot of 0.01 only if all orders 1*, 2*, 3*, 4*, 5*, 6* and 7* etc... all orders were closed and if the command was given to open a new order

There will be only buy orders.

There will be both buy and sell orders.

FIRST SELL ORDER TO OPEN _____________________________________________________

If the command was given to open the FIRST SELL ORDER (1* sell order lot 0.01) - (1* order is open in market YES (2* sell order lot 0.02) - (2* order is open in market YES (3* sell order lot 0.03) - (3* order is open in market YES (4* sell order lot 0.04) - (4* order is open in market YES (5* sell order lot 0.05)... so on there is no maximum limit.

If the command was given to open a buy order 6*, the function will take the lot value of the last sell order that is open in the market and the penultimate sell order that is open in the market (example (order 3* is open in the market YES (sell order 4* lot 0.04) - (order 4* is open in the market YES (sell order 5* lot 0.05): 0.04 + plus 0.05 = equal to (buy order 6* lot 0.09). Buy orders will not be used to perform the calculation.

If the command was given to open a sell order 7*: (order 5* is open on the YES market (sell order 7* lot 0.06)... No buy order will be used to make the calculation.

If the 2nd order was a buy command, the function will take the lot value of the last sell order that is open in the market (example (1st order is open in the market YES (2nd purchase order lot 0.01): it will repeat the same lot value

The function will be restarted again with the initial lot of 0.01 only if all orders 1*, 2*, 3*, 4*, 5*, 6* and 7* etc... all orders were closed and if the command was given to open a new order

There will only be sell orders.

There will be both sell and buy orders.

._____________________________________________________________________________

If entered in (extern = 0.02;) It will be twice the value of extern = 0.01; multiply by 2

If entered in (extern = 0.03;) It will be three times the value of extern = 0.01; multiply by 3

If it is inserted in (extern = 0.04;) It will be four times the values ​​of extern = 0.01; multiply by 4... and so on, there is no maximum limit

Function (C) must work individually independently for each Expert Advisor of function (A)

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

function (D)

ADD THE FUNCTION THAT CHANGES FROM | 01 |; TO THE MAXIMUM | 99 |;

ONLY THE LAST TWO PLACES OF THE MAGIC NUMBER

AND REPEAT THE SAME NUMBER FOR ALL WITHIN A LIST

int NúmeroMágico1 = 62745 | 01 |;

int NúmeroMágico2 = 62746 | 01 |;

int NúmeroMágico3 = 62747 | 01 |;

int NúmeroMágico4 = 62748 | 01 |;

68995

KEEP AVAILABLE FOR MODIFICATION (external) EDITABLE FIELD ONLY

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

function (E)

Hide the Indicators used in the expert so that they do not appear in the strategy tester backtest

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

function (F)

Remove and take only the code from (55858884.mq4) referring to the information contained to show the data on the visual screen and place it in the experts (EA 1111.mq4) and (EA 2222.mq5)

//| Print info to chart                                              |

Add and create these two more (Current Spread: 0.0) and (Magic Number: 00  Show only the last two numbers)

689955

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

The Experts and the code (55858884.mq4) will be sent in the comments.

DO THE SAME FUNCTIONS IN (EA 1111.mq4) and (EA 2222.mq5) MAKING THE NECESSARY CHANGES.

The files (EA 1111.mq4) and (EA 2222.mq5) were created only to obtain the information.

Responded

1
Developer 1
Rating
(74)
Projects
121
43%
Arbitration
12
33% / 50%
Overdue
17
14%
Free
Similar orders
This is not an EA that actually opens/closes trades. Instead this project involves creating a dashboard where the user can create a grid trade scenario with initial entry and scale trade pip distances, lot sizes for each trade, and draw down amount. It then calculates the break-even + profit level where all trades would close. For each new scale trade the BE+ point is recalculated which is then displayed on the
Hi I have the code in pinescript for an indicator that I need done in Ninja Trader, I wanted this indicator in NT bcs I chart in NT, and if the indicator could also have been an automated strategy even better. Please confirm that it will be an indicator and Automated Trading Strategy
Hello potential Freelancers I’m very new to trading so please bear with me as I try to explain what ‘m looking for. I'm currently getting signals ( XAUUSD )sent to me and I’m looking to find a person who can look at the data either watch account live, or I send the trade history. The bot my provider is using makes 100’s of trades a day and does very well on average. I’m also looking to have the following features
Hi guys I would like to k ow if someone has experience with machine learning models? I would like to train a model to identify if there is a range market or trendy market based on several parameters like EMA and ATR for example. If we use for example a 20 and 50 EMA and we measure the distance between both lines the algo should oearn if the trend is strong or weak. If it‘s steong it keeps trending and if it‘s weak
Hello The EA will work on particular zone choose by the user and can mark it on any TF and with some rules can open trades and mange the trade by some unique rules. the EA need to check the difference by RSI as well and with some extra rules . developer should have good attitude and good communication (englsih) with high performence and knowledge with coding EA
Hello I need a very simple indicator This indicator should show the highest floating or history drawdown of the account It means that it can display the highest number that the account drawdown to be displayed on the chart in this format max drawdown account(xxxx$$) ...date(00/00/00)time:(00:00) max drawdown currency ..( currency name with max drwadown) . (xxxx$$) date(00/00/00)time:(00:00) thanks
Hello The EA will work on particular zone choose by the user and can mark it on any TF and with some rules can open trades and mange the trade by some unique rules. the EA need to check the difference by RSI as well and with some extra rules . developer should have good attitude and good communication (englsih) with high performence and knowledge with coding EA. THREE TYPES OF ENTRIES 1: AGGRESSIVE 2: DIVERGENCE 3
I want to create an EA that can take bids according to information of a logic I have developed to give indication of a BUY or SELL opportunity. The EA will then be able to activate the BUY at the lowest possible position once the indicator clears it for a BUY and take bid upwards or identify the highest point and clears it for a SELL and take bids downwards. As you can see from example of JULY 2024 data to see how
Hello, I‘m interested in an indicator to predict the next candles probability (bullish or bearish). But honestly I have no idea how to do this. Would be interested in your opinion how we can create such an indicator. Please let me know if you‘ve done similar work
Profitable EA HFT 50 - 300 USD
From a long time i am searching for a profitable EA i have lost a lot , and now i have only 300$ to buy a profitable EA , i wish to say with 0 losses but some or most traders they don't want to hear this i am really tired of searching for a programmer to just create me a profitable EA with the least losses or zero losses maybe nearly 1 year i am searching i just need an HFT EA that can work very well on MT4,MT5

Project information

Budget
60+ USD

Customer

Placed orders2
Arbitrage count0