
🌌 "Eternal Stillness — The Calm Before Every Market Move"
📌 Overview
Eternal Stillness is a sophisticated Expert Advisor (EA) developed for MetaTrader 4 (MT4) by R.KH 1001, available via RoboMQL. This EA emphasizes modularity, internal configuration control, and event-driven execution, designed to accommodate dynamic trading environments with optional virtual stops, emergency exits, and performance indicators.
⚙️ How It Works
Eternal Stillness operates using an event-based system, leveraging built-in MT4 event handlers like OnTick, OnTrade, and OnTimer to execute trade logic and market evaluations.
🔁 Main Event Handlers:
OnTick (Enabled): Actively processes new ticks and price changes.
OnTrade (Disabled by default): Reserved for trade-related events, though disabled in the current setup.
OnTimer (Disabled by default): Can be enabled to run periodic checks or processes (default interval: 60 seconds).
🔧 Core Features & Settings
🔹 Point Formatting Rules:
mql4
Copy
Edit
#define POINT_FORMAT_RULES "0.001=0.01,0.00001=0.0001,0.000001=0.0001"
This setting helps adapt pip size formatting based on the symbol's digit precision for accurate calculations.
🔹 Spread & Status Monitoring:
mql4
Copy
Edit
#define ENABLE_SPREAD_METER true
#define ENABLE_STATUS true
These enable live monitoring of spread conditions and the EA's internal status.
🔹 Indicator Testing:
mql4
Copy
Edit
#define ENABLE_TEST_INDICATORS true
Allows for test indicators to be displayed on the chart during EA operation.
🛡️ Virtual and Emergency Stops
🔹 Virtual Stop Control:
mql4
Copy
Edit
#define VIRTUAL_STOPS_ENABLED 0
Virtual stops are disabled by default, allowing for real-time manual or hard stop-loss management.
🔹 Emergency Stop Parameters:
mql4
Copy
Edit
#define USE_EMERGENCY_STOPS "no"
#define EMERGENCY_STOPS_REL 0
#define EMERGENCY_STOPS_ADD 0
Emergency Stops: Can be enabled for backup hard stops if virtual stops fail.
Relative and Additional Sizing: Can configure emergency stops based on virtual SL multiples or additional pips.
🧩 Modular Constants & Utilities
The EA uses pre-defined constants and external tables (fxdBlocksLookupTable[]) to manage object properties and draw chart objects dynamically. This suggests a layered approach, supporting customizable trading blocks and graphical elements.
📁 File Metadata
File Name: eternal stillness.mq4
Developer: R.KH 1001
Source: https://www.robomql.com