Close On Time
This Old Kings script for MetaTrader 4 is called Close On Time. It has 8 settings, for example Close Hour (default 7), Close Minute (default 0) and Use Curr Symbol (default False). Scripts run once when you drop them on a chart; try it on a demo account first. Inside: 1 tool 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 Close On Time
Close On Time is a script for MetaTrader 4. It has 8 settings, such as Close hour, Close minute and Use curr symbol. MQL source code included.
Files in the download: CloseOnTime.mq4.
Settings
| Setting | Default | What it does |
|---|---|---|
| Close hour | 7 | , |
| Close minute | 0 | , |
| Use curr symbol | False | |
| Use one account | False | |
| Number account | 11111 | |
| Slippage | 3 | Maximum slippage allowed when opening a trade |
| Cl close buy | Blue | |
| Cl close sell | Red |
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: MQL4 Source Code