Loading…

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

SettingDefaultWhat it does
S7----- Close Settings -----------------
B all closefalseClose All
B sym closefalseClose by Symbol
B mn closefalseClose by Magic Number
B tn closefalseClose by Ticket Number
POfalseClose Pending Orders
MOfalseClose Market Orders
Time to closeYYYY.MM.DD HH:MILocal time to close
S3----- Close Parameters ---------------
Sym closeSymbol to close
Mn close0Magic Number to close
Tn close0Ticket Number to close

How to install

  1. Download the ZIP from your PolyMaria library and unzip it.
  2. In MetaTrader 4 open File → Open Data Folder, then go to MQL4 → Scripts.
  3. Copy the .mq4 file(s) there. Put any .mqh files in MQL4 → Include.
  4. Open the .mq4 file in MetaEditor and press Compile (F7) if MetaTrader does not show it.
  5. Drag the script onto a chart to run it once.

Download the PDF guide

Tags: MT4 Expert Advisor · MQL4 Source Code

Old Kings — classic MT4 & MT5 collection · PolyMaria