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.
Ähnliche Aufträge
Platform MetaTrader 5 (MT5) MQL5 Source Code Required Compatible with Exness MT5 both standard and cent accounts/ICMarket accounts Works on EUR/USD only (initial version) ⸻ Objective Develop a fully automated AI Expert Advisor based on ICT Smart Money Concepts (SMC). The EA must only execute high-probability trades that satisfy all required conditions before opening a position. The EA must avoid overtrading and
Bonjour, je recherche un développeur MQL5 expérimenté pour créer un Expert Advisor pour MetaTrader 5 basé sur une stratégie de trading intégrant des principes de gestion des risques rigoureux et d'intelligence financière. Le robot doit être capable de gérer plusieurs paires de devises et d'optimiser automatiquement les entrées et sorties en fonction de conditions de marché prédéfinies."
Hello everybody, I'm looking for an experienced MQL4/MQL5 developer to optimize a High-Frequency Trading (HFT) Expert Advisor for both MT4 and MT5. The EA performs consistently and profitably on demo accounts, but when it is run on Raw and Standard live accounts under what appear to be the same trading conditions, it begins generating losses. I do not have the original source code (.mq4/.mq5); I only have the
I'm looking for an experienced NinjaTrader 8 (C#) developer to build a fully automated futures trading strategy. Please apply only if you have proven experience developing and testing NinjaTrader strategies. Project Overview Develop a fully automated NinjaTrader 8 strategy. Designed for Apex funded and evaluation accounts. Primary instruments: NQ/MNQ Futures (with flexibility to support other futures later). Trading
Code An Loss Rate 90-100% MT5 EA , that can blow a 100 USD account a day ,with fixed TP of 3000 points and SL of 3000 For better Rate Calculations get an strategy that can lead to so
I need a professional MT5 Expert Advisor (MQL5) for XAU/USD (Gold) only. Requirements: - Symbol: XAU/USD only - Timeframe: H1 trend, M5 entry - Smart Money Concept (SMC) - Liquidity Sweep - Break of Structure (BOS) - Order Block Retest - Confirmation Candle (Engulfing or Pin Bar) - ATR-based Stop Loss - Risk:Reward = 1:3 (adjustable) - Auto Lot (1% risk) - Break Even - Trailing Stop - Maximum 2 trades per day - One
Hello, I am looking for an existing, fully backtestable MT5 Expert Advisor or EA portfolio designed specifically for passing an FTMO-style prop-firm evaluation. I am not looking for unrealistic profit claims or a visually perfect backtest. My priority is a statistically defensible probability of passing the challenge while respecting all risk limits. Primary objective The system should be designed for the current
I have a High-Frequency Trading (HFT) Expert Advisor for both MT4 and MT5 designed primarily for US30 (Dow Jones Index) . The EA performs consistently and profitably on demo accounts, but when I run it on an IC Markets Raw or Standard live account, it starts generating losses under what appear to be the same trading conditions. At this time, I cannot provide the source code (.mq4/.mq5). I can only provide the
I need an Expert Advisor for MT5 on XAUUSD 1min timeframe using SMC concepts. STRATEGY RULES: SELL: 1. Identify previous day High/Low as liquidity 2. Entry only during London-NY session: 15:00-19:00 GMT+3 3. If price sweeps previous day High and closes back below it 4. Check for bearish 1min FVG below sweep candle 5. Wait for BOS - lower low 6. Entry: Sell at 50% of the FVG 7. SL: 10 pips above sweep wick 8. TP: 2R
Hello looking for someone to convert an indicator from tradingview to Thinkorswim I have attached the codes from trading view Also, I like make it trigger (alert) a one-time alert when the trend changes, and can also create a custom watchlist column that flags symbols currently in a new trend so you can scan multiple stocks easily. And like the watchlist to show only fresh trend changes or the current trend direction