An Expert Adviser to execute trades base on preset conditions.

Job finished

Execution time 5 days

Specification

FOR 5 digits MT4 Plateform 

Risk Management :         Account Currency : USD

                                     1. Risk Capital, RC =  of Account Balance   ( %  MUST be an INPUT !!)

                                      2. Determine Margin Requirement for 1 standard Lot = MR  (= 100000/400 * Exchange Rate )

                                      3. Assume  Initial Lot Size , ILS = 0.01  

                                      4. Calculate Maximum DrawDown,  MD = 59.5 *ILS * ATR(14)

                                      5. Calculate Maximum Margin Requirement , MMR = 20 * ILS * ATR(14)

                                      6. Calculate Ratio = RC / (MD + MMR),      If Ratio >= 1.00 THEN set LS = ILS   ==> OPEN Buy Order

                                                                                                If Ratio  < 1.00  THEN increase ILS by 0.01 until Ratio >= 1.00 ==> OPEN Buy Order


1.  Working on  M15, M30 ans H1 Time frame using HEIKEN ASHI CHART

2.  For BUY trades only

3. Place BUY order after  a WHITE bar is fully formed after a RED bar on the  Heiken Ashi Chart.

4.  Conditions for ENTRY :    ATR (14) >=6 for M15, , 10 for M30 and 15 for H1 time frame. ( Min ATR(14) should be set as INPUT variables ) 

5.  After BUY Entry,  Modify Order to set TP = Entry Price + 3 * ATR(14)  and Stop Loss = Entry Price - 3 * ATR(14)- Spread

6.  NEXT,  Open Pending Order ( SELL STOP) at Price = Entry Price -  ATR(14),  and 

                                Take Profit = Entry Price - 3 * ATR(14)   and Stop Loss =  Entry Price + 3 * ATR(14) + Spread                           

                                  Lot Size  = 1.6 * LS  

7.   IF (6) above is HIT, then Open Pending Order ( BUY STOP) at Initial Entry price with Take Profit & Stop Loss same as (5) above

       BUT with Lot Size = 1.2 * LS.

8.   IF (7) above is HIT, then Open Pending Order (SELL STOP) same as (6) above BUT with Lot Size =1.9 * LS

9.   IF (8) above is HIT, then Repeat (7) above BUT with Lot Size = 2.6 * LS

10. IF (9 ) above is HIT,then Repeat (8) above BUT with Lot Size = 4.0 * LS   

11. IF (10 ) above is HIT,then Repeat (7) above BUT with Lot Size = 4.5 * LS

12. IF (11 ) above is HIT,then Repeat (8) above BUT with Lot Size = 7.0 * LS

13. IF (12 ) above is HIT,then Repeat (7) above BUT with Lot Size = 10.2 * LS

14. IF (13 ) above is HIT,then Repeat (8) above BUT with Lot Size = 15.0 * LS 

15. IF (14 ) above is HIT,then Repeat (7) above BUT with Lot Size = 20 * LS.

16. IF (15 ) above is HIT,then Repeat (8) above BUT with Lot Size = 30 * LS                     

17.  EXIT RULES :  If price reaches { Entry Price + 1.5 * ATR(14)}  BEFORE  the 1ST Pending Order is HIT  then move STOP Loss to Break Even,

                            and  Take 50% Profit,  Remove TP  and let price move until a RED Candle is formed,  then exit the  trade.

18.   Close All Open trades including Pending Order after either Take Profit Target hit or Trade Exit as (17) above.( Note : Close all Orders is                   needed here !)

19.  Look for New trade after all existing trades are closed.

   NOTE : After trade is opened, it should be able to be manually intervened.


  INPUT VARIABLES : 1.  Minimum ATR(14) for M15, M30 & H1  time frame.

                               2.  % Risk of Capital


                       ---- END ---  

Responded

1
Developer 1
Rating
(48)
Projects
73
37%
Arbitration
22
9% / 41%
Overdue
14
19%
Working
2
Developer 2
Rating
(1235)
Projects
2820
80%
Arbitration
156
22% / 43%
Overdue
488
17%
Free
3
Developer 3
Rating
(229)
Projects
339
49%
Arbitration
21
5% / 33%
Overdue
24
7%
Free
4
Developer 4
Rating
(4)
Projects
5
0%
Arbitration
5
0% / 40%
Overdue
2
40%
Working
5
Developer 5
Rating
(3)
Projects
8
13%
Arbitration
10
10% / 70%
Overdue
2
25%
Free
6
Developer 6
Rating
(30)
Projects
93
49%
Arbitration
18
56% / 17%
Overdue
38
41%
Free
Similar orders
Hi, could someone help me in developing a simple EA forex robot which has following features: 1. Open 2 trades at the same time i.e. 1 buy trade and 1 sell trade of the same currency pair. 2. The lot size of each trade should be 0.05 lots and there should be a flexibility to modify this lot size. 2. On opening the buy trade, it should have a Take profit of 40pips and Stop loss of 30 pips. These TP and stop loss can
im looking for a developer to build a fully automated trading robot Expert Advisor for Metatrader 5. The EA must do the following open buy sell orders based on a custom strategy details below place take profit and stop loss automatically Lot size should be adjustable Should avoid overtrading e.g. max 3 trades per day Close trades automatically based on criteria Work on multiple pairs if possible News filler optional
I need an Expert advisor (EA) for metatrader 5 (MT5), coded in MQL5. The EA should open and close trades based on the RSI indicator. A buy trade is triggered when RSI crosses below 30 and then moves back above it. A sell trade when RSI crosses above 70 and then drops below. The EA must include customizable input settings such as RSI period, lot size, stop loss, take profit, maximum number of trades, and trading time
I'm looking for a professional MQL developer to convert an Indicator codes (Pine Script) from TradingView to MQL5 and modifying it , It's based on FVG and OB indicator in tradingview
hello coders , i want you to create a trading bot in mt5. i have the pinescript code for the strategy. the trading bot is a type of scalping bot hence the entry and exit would be very fast typically in the same candle and within 20 seconds. so if anyone can help me in creating i would be very muh happy
Hi Experts! Please advise if it possible to modify an EA attached to my requirements? 1. Would like to add a volatility parameter of the instrument 2. Would like to add a trigger for intitalization / termination of this EA
Hello.. I need a professional developer to correct the expert's errors and add some necessary options to it... The expert makes profits in the demo account of most companies while losing in the real account.. The expert works on the strength of liquidity with fast trades and very tight stop loss... I need a developer to detect the expert's errors
This Expert Advisor (EA) is based on the 'Liquidity Sweep + Momentum Shift' scalping strategy, built for EURUSD, XAUUSD (Gold), and NAS100 (NASDAQ). It is designed to trade on the 5-minute (M5) timeframe, identifying high-probability reversals following liquidity grabs. The EA must scan for trades continuously and may execute up to 10 trades per symbol per day, depending on conditions met. 2. Symbols and Timeframes -
We are seeking an experienced MQL5 developer to create a custom Expert Advisor (EA) tailored to our specific trading strategy. The ideal candidate should have proven experience in building high-performance trading robots with a focus on strategy optimization, debugging, and efficient order execution. Key Responsibilities: Develop and code an Expert Advisor based on our pre-defined strategy. Conduct in-depth testing
Two EAs previously developed by developers one from HongKong and another from Nigeria. Need to first cross verify whether they did right coding or not? If no, report those errors, fix them. If yes, carry on for creating combined EA to achieve main purpose of making this new EA profitable along with fresh coding of entry logics

Project information

Budget
50+ USD
For the developer
45 USD
Deadline
from 1 to 3 day(s)