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.
Pedidos semelhantes
I am looking for an experienced developer to create a custom Expert Advisor (EA) for trading. The developer should have strong knowledge of MT4/MT5, strategy logic, indicators, risk management, and backtesting. Experience in building reliable and professional trading robots is preferred. Please contact me if you have done similar projects before. 9817724000
⸻ 🧠 Professional AI Prompt (Clear English Version) Act as a professional algorithmic trading engineer with deep expertise in developing automated trading systems for TradingView and MetaTrader. You have strong knowledge of market behavior, trend analysis, and risk management. Your task is to design a fully automated trading strategy based on the following requirements: ⸻ 🎯 Entry Conditions: • Open a BUY trade
I need a skilled MQL5 developer to build a fully functional Expert Advisor (EA) for MetaTrader 5 based on a simple but strict trading strategy. The EA will use EMA 50/200 trend detection combined with breakout and retest logic for entries. It must operate only during London and New York sessions and include solid risk management (fixed % risk, SL/TP, trade limits, and basic protection rules). APPLY ONLY IF YOU HAVE
VWAP BB Sniper EA Quantum VWAP Scalper SmartFlow FX Bot Institutional Edge EA 🧠 PRODUCT OVERVIEW VWAP + Bollinger Bands Auto Trading System A high-precision forex scalping bot designed to capture institutional price movements using: VWAP (fair value tracking) Bollinger Bands (volatility & entry timing) 👉 Built for fast, consistent intraday profits
Hello traders, I have Quantum queen v3.52, which is the latest version, available for $500 only. The price on the platform is around $1800, but I am offering it for a much lower price for serious buyers. Details: Product: Quantum queen Version: v3.52 Price: $500 Condition: Serious buyers only
Hi, I am looking to purchase a MT5 EA that can show consistent profitability 5% each month with drawdown less than 9%. I am not ready to build a new one from scratch as i do not have the strategy in mind yet so i do not want to take the risk of building one but not sure if it works. Only apply if you have an existing proven and tested EA that can sell to me together with the source code. The Ea is for prop firm even
It must have automated stop loss. Something that can end poverty and kill the market early.It must take the trades for me whenever I start it it must work on tradeport ea
I WANT TO CONVERT MY INDICATOR TO ROBOT, BUT I DONT HAVE THE SOURCE CODE , THE PROGRAMMER WILL DEVELOP THE SOURCE CODE FOR THE JOB. THE STRAGY IS SIMPLE , THE ROBOT WILL EXECUTE A TRADE WHEN THE SIGNAL FROM THE INDICATOR APPEARS. BUY SIGNAL IS WHEN THE ARROW APPEAS ON THE LOWER ZONE ( SUPPORT ZONE) SELL SIGNAL WHEN THE ARROW APPEARS ON THE UPPER ZONE ( RESISTANCE ZONE).THE ROBOT WILL HAVE THE FOLLWING FEATURES (1)
CONVERT MQL4 ROBOT TO MQL5 Solana I have robot SOLANA i want to change my robot for MQL4 ROBOT TO MQL5 AND also change the name of the robot..i need it with the source code
requirements 1. A expert which can make a bridge between trading view and MT4 /MT5 My strategy which i work upon in trading view, that autobot system should buy, sell and take profit in MT4/MT5