FlipPro Unlimited
- Utilities
- Saptarshi Roy
- Version: 1.0
- Activations: 5
FlipPro Unlimited EA Manual
1. Introduction
FlipPro Unlimited is an Expert Advisor (EA) designed for the MetaTrader 5 (MT5) trading platform. It is a versatile trading tool that allows users to initiate buy or sell positions with customizable stop loss (SL) mechanisms, and it supports automated flipping of trade directions upon hitting SL. The EA includes features like dynamic or fixed SL, trailing to breakeven (BE), martingale pending orders, target profit closure, and a common take profit (TP) level.
Key capabilities:
- Manual initiation of trades via buttons or keyboard.
- Automatic reversal (flip) on SL hits.
- Martingale strategy for hedging losses.
- User-friendly control panel and settings dialog.
- Real-time info labels for trade monitoring.
Important Disclaimer: Trading involves significant risk of loss. This EA does not guarantee profits and should be used with proper risk management. Backtest and demo test before live use. The developer (Roy and Sons Holdings) holds no responsibility for losses incurred.
Version: 1.0
Copyright: 2024-2025, Roy and Sons Holdings
MQL5 Market Link: https://www.mql5.com/en/market/product/146645
2. Installation
1. Download the EA: Obtain the "FlipPro Unlimited.ex5" file from the MQL5 Market or provided source.
2. Attach to Chart:
- Open MT5 and navigate to the Navigator panel (Ctrl+N).
- Find the EA under "Expert Advisors" and drag it onto a chart of your desired symbol (e.g., EURUSD).
- In the EA properties window, configure input parameters (see Section 3) and allow live trading if needed.
- Click "OK" to attach. The control panel should appear on the chart.
3. Permissions: Ensure "Allow live trading" and "Allow DLL imports" are enabled in MT5 settings (Tools > Options > Expert Advisors).
4. Restart Handling: If positions with the EA's MagicNumber exist on startup, the EA will detect and manage them automatically.
Note: The EA uses a control panel that can be dragged by clicking and holding the header. It also responds to chart changes and mouse events.
3. Input Parameters
These are configurable when attaching the EA or via the settings dialog (some parameters are runtime-changeable).
- LotSize (default: 0.1): Fixed lot size for trades (regardless of account balance). Can be changed at runtime via settings as "Initial Lot".
- MagicNumber (default: 1234567): Unique identifier for the EA's trades to avoid conflicts with other EAs.
- SlippageMax (default: 0): Maximum allowed slippage in points for order execution.
- MinTradeInterval (default: 0): Minimum seconds between trades to prevent rapid firing.
- CandleLookbackInput (default: 1): Number of candles to look back for dynamic SL calculation. Can be changed at runtime.
- MartingaleLevelsInput (default: 3): Number of martingale pending orders to place. Can be changed at runtime.
- MartingaleMultiplierInput (default: 2.0): Lot multiplier for each martingale level. Can be changed at runtime.
- CommissionPerLot (default: 0.5): Commission per lot in account currency (adjusts BE calculations).
Other runtime settings (via dialog):
- Fixed SL Pips (default: 10000.0): For fixed SL mode.
- Breakeven Multiplier (default: 1.0): Multiplier for trailing BE threshold (e.g., trail when profit reaches X times initial SL).
- Target Profit (default: 0.0): Total profit level to close all positions (disabled if 0).
- Take Profit Price (default: 0.0): Common TP price for all positions/orders (disabled if 0).
- Initial Lot (overrides LotSize at runtime).
4. User Interface
4.1 Control Panel
The panel appears on the chart (draggable via header). It includes buttons for trade control and toggles.
- Header: "Infinite Flip Controls" (blue background).
- Buttons:
- Start BUY (green): Opens a buy position if no trade is active.
- Start SELL (red): Opens a sell position if no trade is active.
- Reverse & TP (blue): Closes all positions/pending orders, flips direction, and opens a new trade (includes martingale if enabled).
- Close All (gray): Closes all positions and cancels pending orders.
- Flip: ON/OFF (toggle, sky blue/dark blue): Enables/disables automatic flip on SL hit.
- SL: Dynamic/Fixed (toggle, green/red): Switches between dynamic SL (based on candles) or fixed pips.
- Trailing BE: ON/OFF (toggle, green/red): Enables/disables trailing to breakeven.
- Martingale: ON/OFF (toggle, green/red): Enables/disables martingale pending orders.
- Settings (gray): Opens the settings dialog.
4.2 Info Labels
Displayed at the top-center of the chart (updates in real-time):
- Volume: Total open volume for EA positions.
- Pot Loss: Potential loss if all SLs are hit (negative value shown as positive loss).
- BE Price: Weighted average entry price (breakeven point).
- Pot Profit: Potential profit if all TPs are hit (shown only if all positions have TP).
4.3 Settings Dialog
Opened via the "Settings" button (draggable via header). Allows runtime changes.
- Header: "Stop Loss Settings".
- Fields:
- Fixed SL (pips): Set fixed SL distance.
- Candle Lookback: Candles for dynamic SL.
- BE Multiplier: Threshold multiplier for trailing BE.
- Target Profit: Profit level to close all.
- Martingale Levels: Number of martingale orders.
- Mart Multiplier: Lot multiplier for martingale.
- Take Profit Price: Common TP for all.
- Initial Lot: Starting lot size.
- Buttons:
- OK (blue): Applies changes and closes dialog. Updates active trades if applicable (e.g., moves SL).
- Cancel (red): Closes without changes.
Note: Double-click on the chart to set a common TP price (if multiple orders exist).
5. Features Explanation
5.1 Flip Sequence
- When enabled (default: ON), if a position hits SL, the EA automatically flips direction and opens a new trade.
- Disabled: Trades close on SL without flipping.
5.2 Stop Loss Types
- Dynamic SL (default): Based on min/max of recent candles (CandleLookback). For buy: lowest low; for sell: highest high.
- Fixed SL: Fixed pips from entry (default: 10000 pips, adjustable).
- SL respects minimum stop levels and is normalized.
5.3 Trailing Breakeven
- When enabled, trails SL to breakeven (entry price adjusted for commission) once profit reaches Breakeven Multiplier * initial SL pips.
- Skips if already at BE or closer. Checks minimum distance to market.
5.4 Martingale
- When enabled, places pending orders at levels between entry and SL.
- Levels: Divided evenly (step = SL distance / (levels + 1)).
- Lots: Initial lot * multiplier^level.
- Type: Buy limit for buy trades; sell limit for sell.
- Shares SL and TP with main trade.
5.5 Target Profit
- If set (>0), monitors total profit across all EA positions and closes all when reached.
5.6 Common Take Profit
- Set via settings or double-click on chart price.
- Applies to all positions and pending orders (modifies existing).
- Potential profit label shows if all have TP.
5.7 Other Behaviors
- Retries failed order placements every second.
- Handles commission in BE calculations.
- Updates on timer (every second) for trailing, targets, and labels.
6. Keyboard Shortcuts
Active when settings dialog is closed:
- Up Arrow: Start BUY.
- Down Arrow: Start SELL.
- Delete: Close All.
- R or End: Reverse & TP.
7. Risk Management and Disclaimers
- Risks: Martingale can amplify losses. Large lots or high multipliers may lead to margin calls. Dynamic SL may be wider in volatile markets.
- Recommendations: Use small lots (e.g., 0.01). Set reasonable SL and targets. Monitor via info labels. Test on demo accounts.
- Limitations: No TP by default (unless set). Assumes FIFO/netting account types. Debug mode prints logs (enable via #define __MQLDEBUG__).
- Support: Refer to MQL5 Market page or contact developer.
For updates or issues, check the product link. Happy trading!