Cancel Largest Pending XRPUSD
Cancel Largest Pending XRPUSD — MT5 script, supplied with source code and a compiled file. Source metadata: ID 884: Cancel Largest Pending XRPUSD Source algorithm identifier: CANCEL_LARGEST_PENDING. Declared inputs include: MagicFilter, SymbolOverride, SlippagePoints, MaxAttempts, MaxQuoteAgeSeconds, StopLossMode, StopLossValue, TakeProfitMode, TakeProfitValue, ProfitLockMode, ProfitLockValue, TrailMode, TrailValue, AdjustmentMode, AdjustmentValue. Description extracted from the supplied source metadata. Compilation compatibility, runtime behavior and trading results have not been independently verified.
Script · MT5 · v1.0 · Free
About Cancel Largest Pending XRPUSD
Cancel Largest Pending XRPUSD is an expert advisor (trading robot) for MetaTrader 5. It places pending buy/sell stop or limit orders and moves the stop loss behind price (trailing stop / break-even). It has 15 settings, such as Magic filter, Symbol override and Slippage points. MQL source code included.
Files in the download: Cancel_Largest_Pending_XRPUSD_MT5.mq5, Cancel_Largest_Pending_XRPUSD_MT5.ex5.
Trading robots can lose money. Check every setting and test on a demo account before using real funds.
Settings
| Setting | Default | What it does |
|---|---|---|
| Magic filter | -1 | -1 means all magic numbers, still TargetSymbol only. |
| Symbol override | Explicit exact broker symbol override; blank uses catalog target. | |
| Slippage points | 30 | Maximum slippage allowed when opening a trade |
| Max attempts | 3 | |
| Max quote age seconds | 120 | |
| Stop loss mode | PipsMode | Stop loss distance |
| Stop loss value | 50.0 | Stop loss distance |
| Take profit mode | PipsMode | Take profit distance |
| Take profit value | 100.0 | Take profit distance |
| Profit lock mode | PipsMode | |
| Profit lock value | 5.0 | |
| Trail mode | PipsMode | Trailing stop distance or switch |
| Trail value | 20.0 | Trailing stop distance or switch |
| Adjustment mode | PipsMode | |
| Adjustment value | 5.0 |
How to install
- Download the ZIP from your PolyMaria library and unzip it.
- In MetaTrader 5 open File → Open Data Folder, then go to MQL5 → Experts.
- Copy the .mq5 file(s) there. Put any .mqh files in MQL5 → Include.
- Open the .mq5 file in MetaEditor and press Compile (F7) if MetaTrader does not show it.
- Drag the expert advisor from the Navigator onto a chart, check the settings, allow Algo/Auto Trading and press OK.
- Test it first on a demo account or in the Strategy Tester.
Tags: Pending Orders · Trailing Stop & Break-even · MT5 Script · MQL5 Source Code