Happy Shiba Inu
- Yardımcı programlar
- Pui Yan Leung
- Sürüm: 1.0
- Etkinleştirmeler: 5
Overview
Happy Shiba Inu is a precision scheduling utility designed to restrict a MT4 account's trading activity to specific day or time windows. It manages both live execution logic and the automatic cleanup of pending orders during "Off-Hours."
Installation
- Place the .mq4 file in your MQL4/Experts folder.
- Refresh your Navigator and drag the EA onto your desired chart.
- Ensure "Allow Live Trading" is checked in the Common tab.
Operational Logic
- Pending Orders: The moment the timer hits a "Restricted" zone, the EA will scan all open orders. Any Limit or Stop orders will be deleted immediately to prevent accidental fills during high-volatility off-hours.
- Execution Block: Any custom trading logic placed below the timer block will only run when the status is ACTIVE.
- Conflict Resolution: If any one of the three enabled slots is active, trading is allowed. The slots act as an "OR" gate.
Input Parameters
Timer Input (1, 2, and 3)
The EA provides three independent timing windows.
- Enable Timer X: Toggle true to activate the specific window.
- Start Time (HHMM): Define the range.
Note: The EA supports Overnight Ranges. If the Start Time is later than the End Time (e.g., 22:00 to 02:00), the EA recognizes this as a cross-day session.
Trading Days
Select which days of the week the EA is allowed to operate.
- If a day is set to false, the EA will remain in RESTRICTED status for the entire 24-hour period of that day, regardless of the Timer settings.
Notification
- Show Status: Triggers an MT4 Popup Alert whenever the status changes from Active to Restricted (or vice versa).
- Log events: Records status changes and "Pending Order Deletions" in the Experts Tab.
- Use Local Time: Uses the Market Watch time (Broker) or your PC local time.
- DB. Font Size: Adjust this value to adjust on-screen text size.
- DB. Font Color: Adjust this value to adjust on-screen text color.
Dashboard
The dashboard is located in the Upper Left corner of your chart. It provides real-time feedback:
- Time Display: Shows either your Broker (Server) time or your PC (Local) time based on your settings.
- Status: Trading is currently ACTIVE or Trading is RESTRICTED and all pending orders are purged.
