Breakeven
Breakeven is a script for MetaTrader 4 from the Old Kings collection. It has 8 settings, for example Break Even After X Pips (default 300), Xpips Above BE (default 10) and Show Info (default true). Drop it on a demo chart first to see exactly what it does. Inside: 1 EA file with source code (.mq4) you can open and edit in MetaEditor. Old Kings are classic community tools shared as-is. Not tested by PolyMaria. Try it on a demo account first. Are you the author of this tool? Message us on Telegram (@abumarket_support) and we will credit you or take it down.
Script · MT4 · v1.0 · Free
About Breakeven
Breakeven is a script for MetaTrader 4. It has 8 settings, such as Break even after x pips, Xpips above be and Show info. MQL source code included.
Files in the download: Breakeven.mq4.
Settings
| Setting | Default | What it does |
|---|---|---|
| Break even after x pips | 300 | Move the stop to break-even |
| Xpips above be | 10 | |
| Show info | true | |
| Text color | Red | Colour on the chart |
| Font size | 9 | |
| Font gap distance | 12 | Distance between orders |
| Use magic number | false | Magic number that tells this EA's orders apart |
| Magic | 1234567 | Magic number that tells this EA's orders apart |
How to install
- Download the ZIP from your PolyMaria library and unzip it.
- In MetaTrader 4 open File → Open Data Folder, then go to MQL4 → Scripts.
- Copy the .mq4 file(s) there. Put any .mqh files in MQL4 → Include.
- Open the .mq4 file in MetaEditor and press Compile (F7) if MetaTrader does not show it.
- Drag the script onto a chart to run it once.
Tags: Trailing Stop & Break-even · MT4 Expert Advisor · MQL4 Source Code