One Click B3 MT5
- Experts
- Mariusz Franciszek Szczepanczyk
- Versione: 1.16
- Aggiornato: 17 febbraio 2026
- Attivazioni: 5
One Click B3 MT5 – Clean One-Click Transaction Management Panel with TS, Auto TP, and Gray/Green Signal Lines
One Click B3 MT5 is a workflow-oriented trade management EA for MetaTrader 5. It keeps the charts clean and gives you powerful buttons to manage all your open positions: Close All, Close Profit, Single Symbol Control, Trailing Stop, and Automatic TP – so you can focus on reading the price instead of clicking on the terminal.
One Click B3 MT5 - EA with Auto SL, Trailing Stop Button, Auto TP, and Gray/Green Lines (20 Custom Instruments)
A trade management EA for MT5 that sets the initial SL, manages the trailing stop using the TS button on the panel, automatically sets TP for new positions, and draws Gray/Green signal lines based on candlestick patterns. The EA works with up to 20 user-defined symbols typed in the PanelSymbols parameter (separated by commas).
Main Features
EA works with all brokers on live and demo accounts; lightweight with minimal CPU load and fast performance.
Button panels can be placed anywhere on the chart, individually customizable in colors, sizes, fonts.
Compatible with indicators like MT5 Terminal, B_SL_TS_TP MT5, B_Pipsy MT5, B_Asr MT5, and Zoom MT5; suitable for beginners/advanced traders, long-term/scalping.
New Gray/Green signal lines (enable with EnableGrayGreenLogic): Gray line drawn on impulse start (close above/below prior body), extends right; updates to extreme, then Green line at 50-61.8% retracement extreme when candle enters zone and closes toward impulse. Lines auto-redraw on TF change, clear periodically. Customizable colors/styles/widths for Buy/Sell.
Two Control Panels
The main panel closes all or profitable positions across all platform charts. The Instruments Panel handles up to 20 custom symbols ( freely selected instruments ) and closes all or profitable ones per instrument across its charts.
Automatic SL and Trailing Stop
Complete SL/TS system: Auto SL triggers at configurable profit, moves to breakeven + offset with alert. TS button (green=ON, red=OFF) customizable in size/corner/XY/colors, syncs across charts. Trailing uses trigger/step pips, min move/time filter between mods, preserves SL/TP.
Auto TP
Sets TP automatically on first non-TP position per symbol; not reapplied if manual delete, disabled with EA switch. Configurable distance via EnableAutoTP/AutoTP_Pips, precise for instrument types, with audible alert.
GRAY / GREEN SIGNAL LOGIC
The EA uses a two-stage signal confirmation system based on gray and green price levels, improving trade precision and filtering false signals by requiring price confirmation.Gray Level: Preliminary reference price calculated on the selected SignalTF timeframe. Gray Buy/Sell triggered when candle 1 closes body beyond candle 2 body (up/down), with line drawn at opposite body edge. Tracks impulse high/low. Green Level: Confirmed execution level used for trade management logic. Green Buy/Sell appears at retracement extreme (50-61.8% Fibonacci of impulse) when price enters zone and closes toward impulse direction.
Gray/Green Signal Lines:
- Activated by EnableGrayGreenLogic parameter (can be enabled/disabled).
- Drawn as trend objects on specified timeframe (SignalTF), right-extending.
- Separate colors, styles, and widths for Buy/Sell.
- Signal calculations synchronized across all charts and symbols.
- Auto-cleanup every ClearLayoutsEveryHours hours with TF-sync.
The system significantly enhances entry accuracy through double confirmation.
Reliability and Technical Details
Supports hedging accounts, GlobalVariables for EA/TS sync. Saves positions/colors/states in INI files for restart recovery. Commission calculator per 20 instruments (Commission_1 to _20). Blocks excess mods, tracks 100 tickets with history, second-timer sync, instant ChartEvent response. Tested on real multi-position accounts, latest MT5; enhanced TS logic prevents journal spam.
Parameters Specification
AppLanguage – selects interface language (Polish/English/German/Russian/Spanish) for labels and news.
SignalTF – timeframe for Gray/Green signal analysis (default M1).
EnableGrayGreenLogic – enables/disables Gray/Green signal lines drawing.
BuyGrayLineColor – color of Gray Buy signal line.
BuyGreenLineColor – color of Green Buy signal line.
BuyLineStyle – line style for Buy signals (SOLID/DASH/DOT etc.).
BuyLineWidth – width of Buy signal lines.
SellGrayLineColor – color of Gray Sell signal line.
SellGreenLineColor – color of Green Sell signal line.
SellLineStyle – line style for Sell signals.
SellLineWidth – width of Sell signal lines.
ClearLayoutsEveryHours – hours interval to auto-clear signal lines (0=disabled).
EnableAutoTP – enables/disables automatic TP for new positions.
AutoTP_Pips – distance in pips from open price for Auto TP.
InitialEnableEA – EA starts enabled/disabled on chart attach.
TriggerPips – profit pips before first protective SL placement.
SL_Offset_Pips – offset pips from open for initial breakeven SL.
Slippage – max price slippage pips for modify/close.
TrailingTriggerPips – pips in profit from price to trigger TS update.
TrailingMovePips – pip steps for SL moves during trailing.
MinSLMovePips – min pip difference for SL modification.
MinSecondsBetweenTrailing – min seconds between SL updates.
EnableTrailingStop – global toggle for trailing stop.
TSAnchorCorner (0-3) – chart corner anchor for TS button.
TSButtonSize_mm – TS button size in mm.
TSPosX – TS button X position from corner.
TSPosY – TS button Y position from corner.
ColorOn – TS button background when ON (green).
ColorOff – TS button background when OFF (red).
TSTextColor – "TS" text color on button.
PosFileName – template for panel/button positions INI file per symbol.
StateFileName – template for EA on/off state INI per symbol.
xOffsetLeft – X position of main "Close Profit" button.
yOffsetLeft – Y position of main "Close Profit" button.
xOffsetRight – X position of main "Close All" button.
yOffsetRight – Y position of main "Close All" button.
btnColorProfit – background color for "Close Profit" button.
txtColorProfit – text color for "Close Profit" button.
btnColorAll – background color for "Close All" button.
txtColorAll – text color for "Close All" button.
ButtonFontSizeMainPanel – font size for main panel buttons.
PanelSymbols – comma-separated symbols for individual buttons.
PanelCorner – anchor corner for symbols panel.
PanelX – base X offset for symbols panel.
PanelY – base Y offset for symbols panel.
PanelWidthMM – main panel button width in mm.
PanelHeightMM – main panel button height in mm.
ButtonGapMM – spacing between panel buttons in mm.
ButtonWidthMM – per-symbol button width in mm.
ButtonHeightMM – per-symbol button height in mm.
ButtonFontSizePanel – font size for per-symbol buttons.
ButtonTextColor – text color for symbol buttons.
ButtonCloseAllColor – background for "Close All" in panel.
ButtonCloseProfitColor – background for "Close Profit" in panel.
Commission_1 to Commission_20 – per-lot commission for symbols 1-20.
A rare type of tool on MQL5 – focused on workflow, clean charts, and risk management, rather than "magic" entries. Made for traders who know what they are doing and want the platform to execute their plan with minimal screen time. This tool allows you to define your position plan and size, and then safely take a break while the EA watches your trades. It protects open positions and makes a profit when the price stops moving in the intended direction, and in the case of VPS, it can reliably manage trades between sessions. Discrete, low-volume sounds only report what's important: new deals, SL/TP site, updates, and Close All/Close Profit actions. During the day-to-day period, you don't have to stare at the chart – if you can't hear anything, nothing important happens; A short sound immediately informs you whether a trade has been opened, modified, or closed. This tool is also ideal for scalping: it can protect any number of free positions on any instrument and instantly close all trades on all symbols, or only on the symbol of your choice, at the time of your decision.
User, once you set the right parameters, the EA will protect ALL your open positions across ALL instruments automatically.
Most important - SL_Offset_Pips setting:
This determines how many pips FROM position opening the safe SL should be placed.
Include here the transaction cost + slippage.
Example for XAUUSD (1 Lot contract = 4.5 USD): safe distance = 80-120 pips.
Next - TriggerPips setting:
Distance FROM position opening when SL actually triggers.
This has BIG impact on slippage.
Example for XAUUSD (holding positions longer): safe value = 250-300 pips.
CRITICAL: ALL parameters MUST be IDENTICAL on EVERY chart of the SAME instrument.
Don't forget Commission_1/2/3/4/5... settings:
Enter the 1 Lot contract value in the correct position for each instrument (by order).
