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.
相似订单
I am looking for an experienced MQL5 developer who can BOTH research trading strategies and develop a commercial-quality MetaTrader 5 Expert Advisor. This is NOT simply a coding job. The developer is free to choose the trading logic, indicators, entry method, exit method, timeframe architecture and strategy type. I do not require the EA to copy or resemble any existing commercial EA. My priority is: ROBUST LONG-TERM
A developer will create an AI assisted EA forex watch-list scanner (not an auto-trader) designed to surface PDL/PDH bounces on M15, with coding in Python/MQL5. This will strictly be a market intelligence and scanning tool (no automatic order placement) and EA primary function will be a delivery of visual dashboard UI, 2-phased alerts (warning vs. execution), and multi-channel notification. 1. Project Overview &
Hello, please make me a simple MT5 Expert Advisor for XAUUSD on M15 timeframe. TRADING LOGIC: - BUY when EMA(10) crosses UP EMA(30) - SELL when EMA(10) crosses DOWN EMA(30) TRADING HOURS: - Only trade between 19:00 - 22:00 WIB / Jakarta time RISK SETTINGS: - Lot size: 0.01 - Stop Loss: 70 points - Take Profit: 150 - 300 points - Max 1 open position Please deliver .ex5 file ready to use. Thank you
C'est un Expert Advisor (EA) MQL5 pour MetaTrader 5, conçu pour l' XAUUSD , combinant un filtre de tendance et une grille adaptative avec gestion de panier ("basket") et protections contre le drawdown. Version 1.00. Logique de trading Filtre de tendance (H4 par défaut) • EMA rapide (50) vs EMA lente (200) pour déterminer la direction (UP/DOWN) • Filtre ADX (période 14, seuil 18) pour éviter de trader en
My EA is semi Auto EA..with Master and slave concept Using Heiken Ashi +Heiken Smooth and Moving Average What to do?1. Remove some previous feature 2.Change some rules of 4 slave to pending Order 3. Check the coding is clean. 4. create panel dialog box
I currently sell a white-label XAUUSD EA, but the existing supplier owns the source code. I now need a new, independently developed EA and licensing system that my company fully owns and controls. I am not requesting decompilation or copying of proprietary code. Existing settings, presets and trading examples will be provided as reference. The developer must first identify any missing strategy rules before
I DO NOT need any programming or strategy development. I already have a working NinjaTrader 8 automated strategy based on a 3/5 EMA crossover. I need you to run my existing strategy through NinjaTrader Strategy Analyzer/Optimizer, test the existing adjustable parameters, and find robust settings with the best profit factor and lowest reasonable drawdown. I will provide the existing NinjaScript ZIP. I do not want the
I am looking to acquire an EXISTING and PROVEN MetaTrader 5 Expert Advisor. I am NOT looking for someone to develop a random new strategy from scratch. The objective is to find a robust EA with an existing track record, verify its performance and robustness, and purchase the MQL5 source code together with clearly defined commercial rights. MAIN REQUIREMENTS The EA should meet most or all of the following
Looking to acquire an existing, proven EA. Not looking for new strategy development. REQUIREMENTS — non-negotiable: Minimum 12 months verified LIVE history (Myfxbook or MQL5 Signals, real money — not demo, not backtest) Hard stop loss on EVERY trade, set at order placement NO martingale, NO grid, NO averaging into losers, NO lot multiplication after a loss Max historical drawdown under 30% Minimum 5 trades per
Platform: TradingView Programming Language: Pine Script v6 Type: Custom Indicator Project Name: Scalping Reaction Zones + Valid Order Blocks MAIN GOAL I need a custom TradingView indicator for scalping. The indicator must detect: 1. Reaction / Explosion Zones 2. Valid Order Blocks 3. Combined Reaction Zone + Order Block zones The indicator should NOT generate: Buy signals Sell signals TP SL Entry signals Trading