Session reversal - MUST BE in MQL5 ONLY.
The strategy is to set up a trade at a given start time.
Based on that start time candle closing. The robot will determine the
CurrentTrent and then when the starting candle closes set up a position based
on the trade set up rules.
Trade setup rules:
Short position – set the entry to 15 pips away from the just
closed starting time candle’s Low. Stop set to the candles High plus 3 pips. Target
set to input value of ProfitValue. The profit value must be a minimum of the
risk in pips from the Stop to the entry.
Long position - set the entry to 15 pips away from the just
closed starting time candle’s High. Stop set to the candles Low plus 3 pips.
Target set to input value of ProfitValue. The profit value must be a minimum of
the risk in pips from the Stop to the entry.
Lot size must be set to a percentage of the current account
size in an input percentage. EG 1% of account size.
Must close all trades that are not open at the session end
time. Any open trades left to play out.
EXAMPLE --------------------------------------------------------
EG if the session
start time was 15:00 BST on a 15 minutes chart then the candle would close at
15:15. Using this candle as the way to look left for setting up the trend to
determine the trade position for entry. So if the “CurrentTrend” was set to 9.
This would look to the previous 9 candles to determine if the trend is bearish
or bullish. So 5 or more candles
bearish, 5 or more candle bullish.
If the trend is
bullish, then the trade setup is to reverse therefore setting a SHORT.
If the trend is
Bearish, then the trade setup is to reverse and go LONG.
Indicator to highlight
the candle - For testing use an arrow to highlight each session start time
candle. (red arrow or something)
-------------------------------------------
Inputs:
-
Lot size – set to a percentage of the current
account size, range from 0.5%, 1% 1.5%, 2%, 2.5% up to a maximum of 5%.
-
Session start time: 24 hour time AM/ PM
-
Current trend input – must be an odd number from
3-21
-
Session end time: 24 hour time. Eg AM / PM
-
ProfitValue In Pips: default set to 80 pips.
------------------------------------
Conditions:
-
Maximum of trade of 1 within 23 hours per
currency pair
-
Slippage of 15 pips maximum otherwise do not
take the trade. This covers for any extreme news announcements.
-
Must have comments / notes in the source to help
identify each of the elements lists above.
-
Must have the source files to be able to alter
and re-compile if needed.
Solicitudes similares
Trade XAUUSD only Support MT5 Use Buy Stop and Sell Stop pending orders around a configurable breakout range. When the market breaks the range, activate the corresponding trade. Automatically place Stop Loss and Take Profit immediately with every order. Automatically cancel the opposite pending order after one side is triggered. No Martingale No Grid No averaging down No loss recovery system No unlimited position
Hey guys, I’ve got an MT4 HFT EA that’s showing strong results on an IC Markets demo account, and I'm looking to move it over to MT5. Does anyone have a solid MT5 version that performs well on IC Markets? Having the source code (MQL5) included would be awesome. Thanks for any leads
Hello! I want to automatically trade on Sierra Charts (IronBeam Brokerage). NQ ($20 per "handle") or MNQ ($2 per point or handle) - futures Broker: IronBeam mostly for the low capital requirement for futures Chart: Sierra Charts I almost exclusively trade a 5-20 bracket with 2 contracts (first contract closes at a +5 and second bracket closes at a +20.) When the +5 is reached, I move my stop from -15 to BE
Let’s use Chart M3. Stochastic 8,3,3. 85/15 trigger for sell stochastic >85, and the reversal move need to engulf the last bar for 1 point. SL over the engulfed bar. Same trigger for buys… Stochastic <15, engulfed bar by 1 point = entrance. SL under the engulfed bar… more details as soon we start to work on it
Title: Custom EA: Dynamic Trailing Limit Grid with Volatility/Velocity Filter and Auto SL/TP Description: I am looking for an experienced MQL5 programmer to develop a high-performance, robust Expert Advisor (EA) for MetaTrader 5. The strategy relies on dynamic trailing limit orders that automatically adjust to market price changes, featuring a safety buffer during high-velocity price spikes. The EA must include the
Freelance Task — EA Recovery Layer Hello. I have a ready-made MQL5 EA. The signals, SL/TP and lot calculation should essentially not be touched. I need a recovery system added. I am not a programmer — below is how the robot should behave. What stays Entry only from an EA signal. Stop-loss is not a new signal. Trailing is already built into my EA — recovery does not implement its own trailing. If trailing is disabled
//+------------------------------------------------------------------+ //| synthetic tick generator based on two assets | //+------------------------------------------------------------------+ class CSyntheticTickGenerator { private : string symbol_a; string symbol_b; string synth_name; double ratio; double last_price_a; double
# SNRZ BOT — SESSION PROGRESS LOG Last updated: 2026-09-16 (local late-evening session) ## SAN BOT (new — cloned from SNRZ) - `MQL5\Experts\AutomatedOrderBot_SAN.mq5` / `.ex5` — v1.0, compiled 0 errors/0 warnings - Signal source: custom indicator "SAN" (InpSANName, buy buf 0 / sell buf 1, target bar 1), same SNRZ-style read, MA fallback if missing - Magic number 234567 (separate from SNRZ 123456 so both bots can run
Multi-Asset EA (XAUUSD / FRA40) with Time Filters, High-Impact News Avoidance, Advanced Risk/Lot Sizing, and H1 Breakout Strategy 1. RISK SETTINGS * Max Daily Loss Limit: (bool) Toggle true/false. If true, input double for max loss in currency (e.g., $500). If hit, close all positions and stop trading until next day. * Lot Sizing Mode: Dropdown menu: 1. Fixed Lots (e.g. 0.10); 2. Percentage Risk (%) based on Account
Should be as it but no alarms, also we need to add a deep search so he can see all the preves candles and a memory function so its not slowing down the indicator. for higher time frames daily 4h 1h around 365 days and for lower time frames we do up to 20k bars but both flexible so i can change it later. the memory is important so the indicator is not always recalculating everything when a new candle shows especially