Fimathe Market Opening MT4
- Experts
- Jean Charles Vilhena Maia
- Version: 9.3
- Updated: 8 March 2026
Fimathe Market Opening
ATTENTION TO DAYLIGHT SAVING TIME
FOR XAUUSD CHANGE THE TIME FROM 23 TO 22
Fimathe Market Opening is an Expert Advisor designed to automate trades based on opening channel formation, body-close breakout confirmation (C1), and a structured reversal logic after the first stopped trade.
The system operates exclusively within its own operational day, based on the official XAUUSD opening reference. It follows objective rules for channel formation, breakout confirmation and position management according to the size of the channel.
The strategy is entirely price-structure based and does not use external indicators, moving averages or subjective filters. All decisions are made exclusively from price behavior and predefined structural rules.
Operational Concept
The system is built around three main elements:
-
opening channel formation
-
breakout confirmed by candle body close (C1)
-
structured reversal logic after the first stop loss
The methodology is intended to follow market structure during the opening phase and react only after predefined confirmation conditions are met.
Operational Day
The EA uses its own operational day, based on the XAUUSD opening reference.
Start: 20:00 (Brasília time)
End: 19:00 of the following day
The time reference is calculated in UTC to reduce inconsistencies related to daylight saving time.
When a new session begins:
-
the previous cycle is closed
-
internal variables are reset
-
a new channel formation process begins
No trading cycle is carried from one operational day to the next.
Channel Formation
After the operational session opens:
-
the system waits for the required number of initial candles
-
the channel is built from the highs and lows of the first completed candles
-
candle counting logic is structured to avoid incomplete formation errors
The EA only starts monitoring breakout conditions after the channel has been fully formed.
Channel Types
The system can classify the opening structure in two ways.
Opening Channel
When the channel size remains within the standard range:
-
a valid breakout occurs when the candle body closes above the channel top or below the channel bottom
-
the standard target is proportional to the channel size
Sliced Channel
When the channel reaches or exceeds the configured minimum size in points:
-
the channel is internally divided into two regions
-
C1 confirmation respects this internal subdivision
-
the structural breakout interpretation follows the PCM visual model
Small Channel and Expansion Logic
If the channel is considered small, below the configured threshold:
-
the first breakout projects an expansion of the original channel
-
the next valid breakout after this projection triggers the entry
This mechanism helps reduce premature entries during compressed price conditions.
Entry Rule (C1)
A trade is opened only when:
-
the body of a closed candle exceeds the top or bottom of the valid channel structure
-
wick-only breakouts are ignored
-
confirmation is taken from a completed candle
This rule helps reduce intrabar false breakouts.
Risk Management
Lot size can be calculated automatically based on a percentage of account equity.
The calculation considers:
-
distance between entry and stop loss
-
tick value of the symbol
-
configured risk percentage
Position size is automatically adjusted according to the selected risk model.
Stop Loss
The Stop Loss is positioned proportionally to the channel size using a configurable multiplier.
The EA also respects the minimum stop distance required by the broker.
Take Profit
Two target models are available.
Normal Trade
-
Take Profit proportional to the channel size
Reversal Trade
If the first trade results in Stop Loss:
-
the channel remains valid
-
the reversal logic can be activated
-
the new position uses an extended target based on the configured multiplier
Only one reversal is allowed per operational cycle.
Reversal Logic
If the first trade ends in Stop Loss:
-
the channel remains active
-
the system continues monitoring whether price continues the movement or returns to the original channel structure
If a new valid breakout occurs:
-
the reversal trade is executed in the appropriate direction
-
the reversal target is applied
If a second Stop Loss occurs:
-
the cycle is closed
-
no new trade will be opened until the next operational session
Important Rules
-
only one reversal per cycle
-
the channel is not rebuilt after the first stop
-
no multiple entries on the same candle
-
no martingale
-
no grid
-
no progressive hedge
-
no increase in lot size after losses
Time Control
The EA:
-
operates only within the configured operational day
-
may allow trade continuation after session close if the channel has already been formed, depending on parameter configuration
-
does not build a new channel outside the allowed operational window
Internal Timeframe Logic
The system automatically selects the internal operating timeframe.
-
Monday: M15
-
Other weekdays: M5
This ensures the strategy logic remains consistent regardless of the visual timeframe used on the chart.
Graphical Interface
Optional visual elements include:
-
channel upper and lower lines
-
identification of Opening Channel or Sliced Channel
-
C1 marking
-
reversal state indication
-
automatic text repositioning as new candles appear
Visual objects are reset only when:
-
Take Profit occurs
-
the second Stop Loss occurs
-
a new operational session begins
Main Parameters
The product includes configurable parameters for:
-
operational opening time reference
-
number of candles used to form the channel
-
minimum size for sliced channel classification
-
wick filtering and doji handling
-
fixed lot or equity-based lot sizing
-
stop multiplier
-
take profit multiplier
-
reversal target multiplier
-
break-even offset
-
chart language and visual interface settings
Notes
This Expert Advisor executes an objective methodology based on price structure.
Results depend on market conditions, symbol characteristics, volatility and user configuration.
Testing on a demo account is recommended before using the product in a live trading environment.

