Hey good day.
Allow me to explain my strategy. The strategy itself is not yet complete and I'm still trying to find the best confirguration.
But nonetheless here it is.
First Step is for EA to mark out the high and low of the first hour candle of XAUUSD once it opens for the day or the new day.
Picture 1

From Picture 1, we can all obviously see the period separator. That shows the end of the day and the start of the new day.
Since this is in M5, 12 X M5 candle equals to H1 thus that grey shaded box is the first hour.
EA will need to know the first hour Highest point and Lowest Point.
Pic 2

Now that EA has determine the first hour high and low, all it needs to do is wait for any candle to CLOSE ABOVE or CLOSE BELOW (in M5).
If close above high, EA will open Buy.
If close below low, EA will open Sell.
For lot size, please make an input for me. "First lot = "
If i were to insert 0.1, EA will only enter 0.1 lot size and nothing more.
For exit?
Kindly set TP 125 pips once EA opened an order.
Once hit TP, EA will NOT open any more order for the day and WAIT for the next day.
There are days when market will close below and close above the zones. Hence this next step is crucial too. The counter strategy.
Picture 3

I will now explain Picture 3 (counter strategy)

So firstly, EA will opened a sell order. As it was first seen a close below the zone.
Along the way, TP of 125 pips failed to be reached and a close above the zone was seen from the picture.
Once such senario occurs, EA will close the first position of sell at a loss and opened a COUNTER buy order.
At what lot size? Same as the input command from earlier above, EA will let me insert " First Lot =" and "Second Lot ="
Tp now for 2nd position instead of 125 pips, program the EA to TP 300 pips.
Picture 4

Kindly Program the EA for maximum "tries" of 3 per day. Limit the EA to only 3 times per day as picture above.
So far my backtesting, maximum number of fail is only 2 hence when i test, the 3rd entry it will always move to TP.
Picture above shows First Entry sell failed.
Second Entry Buy failed.
Third entry Sell was opened.
And price dropped 650 pips.
Like the command input for 1st Lot, 2nd lot, kindly also allow me to command the EA the lot size for the 3rd and final entry.
Once 3rd entry was triggered, program the EA to TP the third entry at 300 pips.
Important
- EA is in MT4
- Maximum "tries" per day is limit to 3.
- First Entry TP = 125 pips
- 2nd and 3rd Entry TP = 300 pips
- EA require my input for 1st, 2nd and 3rd lot size before the Smiley Face emerge.
- Once TP, EA will relax and wait for the next day signal zone.
There are days when i see market can give alot of pips even if it's on the first entry.
You can try and see for yourself.
Hence I'm open if you have any suggestions on trailing stop or how to maximize the profits.
Let me know if this EA can be done for XAUUSD, M5. Thank you.
Похожие заказы
Dear developers I want to create an expert advisor for my strategy. The entry signals quite simple using OHLC, Bollinger, SuperTrend. (Possibly: ICT/FVG) The money and risk management is more difficult using martingale and trailing stops. I also need help to design this before any development
Welcome to the new era of automation I have something very powerful for trades who are looking to make consistent profits in the industry The EA is called Golden Sniper Pro designed specifically for boom index on Deriv broker with a win rate of over 85%. The ea combines EMA and RSI to detect market direction, calculates SL and TP by ATR. Uses tick counts to avoid entries near spike zones, if there was an entry
Hello, I am looking for someone who can help me to build a MT4/MT5 forex EA, by analyzing the trading history. You are responsible to find out trading logic behind the EA and Build a new EA that accurately replicates the existing strategy. I need someone who has proven previous experience to build a new EA by reverse engineering. Thanks
Looking to develop risk management EA for personal use probably commercially in the future. I want the EA to have a display panel with 0.1, 0.2, 0.5,1,2,3 percent risk management button. I also want BE, partial closure of 0.25,0.5,0.75 and full closure panel on both profit and loss. I’ll also like to include trailing stop, 2 trades max per day and BE+spread option. I’ll be attaching the image for a guidance on what
Sierra Chart Alerts to MT5 via Webhook (Alert Manager File Version) Objective: Create a Custom Study (ACSIL / C++) that monitors alerts from the Alert Manager file and forwards any valid alert directly to MT5 via an HTTP POST (Webhook) in JSON format. Additional Note: The study should allow adding any modifications in the future and provide clear insights into the alert points in Sierra Chart. 1. Data Flow Diagram
I am in need of a good scalping bot for gold or any currency pair. If you have one that is working, reach out. You must be able to provide a trial version so I can test the bot myself
MT5 Expert Advisor Development Project Overview I am looking for an experienced MQL5 developer to build a custom MetaTrader 5 Expert Advisor based on a grid-cycle trading framework. This is not a standard grid EA . The system combines: Session-based trade initiation Multi-filter signal generation Dynamic grid management Advanced basket management State-machine-driven trade lifecycle management Dynamic take-profit
I am in need of a good scalping bot for gold or any currency pair. If you have one that is working, reach out. You must be able to provide a trial version so I can test the bot myself
Test instructions: - Run EA on US30 (Dow Jones) - Timeframe: H1 - Test period: last 3–6 months - Use default risk settings (1% per setup) - Check Friday breakout logic only Expected behavior: - EA should mark Friday High/Low - Wait for candle close breakout - Wait for retracement into range - Enter only when H1 candle closes inside range - Execute 2 trades per setup (TP1 = 1R, TP2 = 2R) - Respect 1.5% daily loss
ART 1: NUMBER OF TRADES ALLOWED IN ONE DIRECTION: Maximum number of trades in one direction = ------------------------------ ------------------------------ ------------------------------ -------------- par PART 2 PARTIAL CLOSURE OF STOPLOSS: Total STOPLOSS =------ Pips 1a: Percentage of Stoploss =--% 1b Percentage of Lot size =--% 2a: Percentage oe of Lot size =--% f Stoploss =--% 2b