Closeattime 2
Closeattime 2 — a MetaTrader 4 script kept in the Old Kings collection. It has 12 settings, for example s7 (default ----- Close Settings -), b All Close (default false) and b Sym Close (default false). 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 Closeattime 2
Closeattime 2 is a script for MetaTrader 4. It has 12 settings, such as S7, B all close and B sym close. MQL source code included.
Files in the download: closeattime.mq4.
Settings
| Setting | Default | What it does |
|---|---|---|
| S7 | ----- Close Settings ----------------- | |
| B all close | false | Close All |
| B sym close | false | Close by Symbol |
| B mn close | false | Close by Magic Number |
| B tn close | false | Close by Ticket Number |
| PO | false | Close Pending Orders |
| MO | false | Close Market Orders |
| Time to close | YYYY.MM.DD HH:MI | Local time to close |
| S3 | ----- Close Parameters --------------- | |
| Sym close | Symbol to close | |
| Mn close | 0 | Magic Number to close |
| Tn close | 0 | Ticket Number to close |
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: MT4 Expert Advisor · MQL4 Source Code