I need an EA which looks for trades targeting the sessions open time.
The conditions for trade:
This would need input parameters:
[TradeSessionStart] (time)
[TradeEndTime] (time)
[SessionOpenTime] (time)
[FractalCandles] - If this is set to 1, then the Fractal High/Low would be the high/low of 1 candle both sides.
At [TradeSessionStart] I would want to open a trade targeting the [SessionOpenTime] whether its buy or sell.
For trade execution I would want to wait for a fractal candle, so If I am looking to go long to reach the target, i would be waiting for a Fractal
Low, and executing the long after the close of the candle confirming the Fractal Low. For a target which requires shorting, I want to
wait for a Fractal high and enter on the close of the candle confirming the fractal high.
The stop loss for a sell should be 10 points (1 pip) + spread above the Fractal High. The stop loss for a buy should be 10 points (1 pip) below
the Fractal Low.
The [SessionOpenTime] should work even if this time looks like it is set to the previous day i.e. If it is set at 23:00 and the
[TradeSessionStart] is set to 05:00, it should look for the 23:00 candle open time at 05:00.
There should also be a [Trades] parameter indicating the number of times I want to look for a trade, this should only run after failure i.e. if the
first position hits the Stop Loss, I would look for one more Fractal High/Low to enter if this is set to 2. If it hits the TP on the first
trade it should stop looking for trades until the following day.
There should be no trades executed after [TradeEndTime] and if there are trades open, these should be moved to 10 points (1 pip) above
Breakeven at this time.
Additional inputs:
[2nd Order] - Yes/No
This is to open 2 positions. Risk would be spread between both open positions.
[2nd Order Target] - Options for setting the Target at a % of the target for that day (i.e 50% of target or 200% of target) or Trailing at Fractal
Low/High.
[Risk] - % of Equity to Risk for the open trades.
Trades should only be executed if there is at least a 1:1 Reward to Risk for the trade. The distance from the signal to the target should be
greater than the distance from the signal to the stop loss.
Please find an example of a trade below:

[SessionOpenTime] set at 23:00 (leftmost vertical line). This would be the target for the trade the next day. This is the open of the 23:00 candle
(green line)
[TradeSessionStart] set at 09:00 (right vertical line). Looking for trades after this time. Signal found on the first 5 minute candle after the fractal
is printed, targeting the green line setting SL above the Fractal High.
Benzer siparişler
I am looking for an experienced MQL5 Expert Advisor (EA) developer to analyze an existing trading setup and develop a similar automated trading robot. Project Overview I have access to a demo trading account where trades are being executed automatically. The trading results look very promising, but I do not know exactly what strategy, logic, indicators, or trade-management rules are being used. I will provide access
Most of the expert is already coded . Create a panel to show the Ratio for the Range . Trigger is based on ratio . Show Distribution / project starts after we clear Distribution
Modification of existing ea …. Add ema filter, add risk percentage per trade, and modify the pips per day filter. I already have the ea code I just need these things added and modifified
double CRiskManager::CalculateLotSize(double slPoints) { double balance = AccountInfoDouble(ACCOUNT_BALANCE); double riskMoney = balance * (m_riskPercent / 100.0); double tickValue = SymbolInfoDouble(_Symbol, SYMBOL_TRADE_TICK_VALUE); double tickSize = SymbolInfoDouble(_Symbol, SYMBOL_TRADE_TICK_SIZE); double pointValue = tickValue / tickSize; double lot = riskMoney / (slPoints * pointValue);
i share my strategy i need a bot trending bot fo mt5 . i attached the photo with this it help to make bot. it basicly 1 hours time frame base. i try but failed to make it
Title: Simple background trading bot for my Oanda account (v20 REST API) Overview Hi, I need a simple, lightweight event based standalone trading bot that connects directly to my Oanda account using broker’s standard REST API (V20 account) via VPS The bot just needs to look at group of 5 currency pairs (manually selectable and adjustable) in different 4 baskets, do some basic percentage math every period, and place
📄 وثيقة المواصفات الفنية لروبوت التداول (MQL5 EA Specification) 📌 1. ملخص المشروع والهدف * اسم المشروع: Gold Cent Grid-Hedge EA * المنصة: MetaTrader 5 (MQL5) * أداة التداول: الذهب (XAUUSD) * نوع الحساب: حساب سنت (Cent Account) * فكرة الاستراتيجية: تداول شبكة هيدج متوازنة (Grid-Hedging) تفتح صفقات تعزيز كل مسافة محددة، وتغلق الطرف الأكثر ربحاً عند تحقيق هدف مالّي مجمع بالدولار/السنت لإعادة هيكلة التوازن. ⚙️ 2
I need a developer who also understands trading. I have a Telegram copy-trading bot that reads signals from a Telegram channel via a Python script and converts them into trading orders. I want to create a program that analyzes Gold (XAUUSD) charts specifically and sends signals in this exact format: #XAUUSD BUY 4324-4321 TP 4327 TP 4330 TP 4334 TP 4339 TP 4344 TP 4354 TP 4364 SL 4311 If the # symbol is missing at the
Hi developer I want to convert my mt4 EA to mt5 EA . I have a mt4 ea with source code. i want developer to copy same mt4 code and create mt5 EA
*TITLE:* 5 Trades EA - EMA20/50 + RSI - Safe for Small Account *SPECIFICATION:* I need MT5 EA - Source Code .mq5 *Logic:* Buy: EMA20 > EMA50 and RSI(14) 45-70 Sell: EMA20 < EMA50 and RSI(14) 30-55 Timeframe M15, Symbol XAUUSD and all Forex *Trade Management:* Max 5 trades at same time. Fixed lot 0.01. No martingale. No lot increase. Distance between trades 150 points. Do not open all 5 at same price. Max 5 total