ThoresDecimus Signal Receiver EA

Version 1.0 - Installation & User Manual

📥 Download EA File

📋 Table of Contents

  1. Overview
  2. How It Works
  3. Installation
  4. Configuration
  5. Trading Logic
  6. Troubleshooting

1. Overview

The ThoresDecimus Signal Receiver EA is an automated trading Expert Advisor (EA) for MetaTrader 4 (MT4) that connects to the ThoresDecimus trading platform to receive and execute trading signals automatically.

The EA polls the server every 60 seconds (configurable) to check for new trading signals. When a signal is received, it automatically opens positions according to the signal parameters and manages them using a sophisticated pyramiding strategy.

2. How It Works

2.1 Signal Reception

The EA connects to the ThoresDecimus platform server and polls for signals every minute. When you send a signal from your dashboard, the EA receives it and displays the information on the chart.

2.2 Trading Process

  1. Signal Received: EA receives signal with pair, direction (LONG/SHORT), TP, entry price, and lot size.
  2. Position Check: EA checks if any positions already exist for that pair. If yes, signal is ignored.
  3. First Position: Opens first position at current market price with the specified lot size.
  4. TP Calculation: First position's TP is calculated from the signal's entry price (not actual open price).
  5. Pyramiding: If price moves 100 points in losing direction, opens additional position with increased lot size.
  6. Auto-Close: When ANY position reaches its TP, ALL positions are closed automatically.

2.3 Lot Size Scaling

Additional positions use a progressive lot size formula:

New Lot Size = Previous Lot × (1.02 + (100 / (100 + TP)))

Example: If TP = 200 points and previous lot = 0.01:

3. Installation

3.1 Download the EA

Click the download button above to download ThoresDecimus_Signal_Receiver_v2.ex4

3.2 Install in MT4

  1. Open MetaTrader 4
  2. Click File → Open Data Folder
  3. Navigate to MQL4 → Experts
  4. Copy the downloaded .ex4 file into this folder
  5. Restart MT4 or right-click "Expert Advisors" in Navigator and select "Refresh"

3.3 Enable Expert Advisors

Important: You must enable Expert Advisors in MT4 before the EA can run.
  1. In MT4, go to Tools → Options
  2. Click the "Expert Advisors" tab
  3. Check the following boxes:
    • Allow automated trading
    • Allow DLL imports (if needed)
    • Allow WebRequest for listed URL
  4. Click OK

3.4 Add WebRequest URL

Critical: Without adding the server URL to allowed WebRequest URLs, the EA cannot connect to the server.
  1. In MT4, go to Tools → Options
  2. Click the "Expert Advisors" tab
  3. Click "Add" button next to "WebRequest URLs"
  4. Enter the following URL:
    https://nina-production-097d.up.railway.app
  5. Click OK to save
  6. Restart MT4 for changes to take effect

3.5 Attach EA to Chart

  1. Open a chart for any currency pair (the EA will trade the pair from the signal)
  2. In the Navigator panel, find "Expert Advisors"
  3. Drag "ThoresDecimus_Signal_Receiver_v2" onto the chart
  4. The EA inputs window will appear

4. Configuration

4.1 EA Input Parameters

When you attach the EA to a chart, you'll see these input parameters:

Parameter Default Value Description
RailwayURL https://nina-production-097d.up.railway.app The server URL (usually doesn't need to be changed)
AccountNumber (empty - REQUIRED) Your MT4 account number. MUST be set! This links your EA to your platform account.
RequestInterval 60 How often (in seconds) the EA polls the server for signals. Default is 60 seconds (1 minute).
⚠️ Important: You MUST enter your MT4 account number in the AccountNumber field. This is the same account number you use when connecting to the EA from the platform dashboard. Without it, the EA cannot receive signals.

4.2 Finding Your Account Number

To find your MT4 account number:

  1. In MT4, look at the bottom right corner of the terminal
  2. Your account number is displayed there (e.g., "12345678")
  3. Copy this number and paste it into the EA's AccountNumber input field

5. Trading Logic Explained

5.1 First Position

5.2 Additional Positions (Pyramiding)

5.3 Position Closing

5.4 Safety Features

6. Troubleshooting

6.1 EA Not Connecting

Problem: EA shows "WebRequest FAILED" or Error 4060
Solution: Make sure you've added the server URL to allowed WebRequest URLs (see section 3.4)

6.2 No Signals Received

6.3 Positions Not Opening

6.4 Chart Display

The EA displays two labels on the chart:

If you don't see these labels, check that the EA is running (smiley face in top right of chart).

6.5 Common Error Codes

Error Code Meaning Solution
4060 URL not in allowed list Add server URL to WebRequest URLs (section 3.4)
130 Invalid stops Check broker's minimum stop level requirements
134 Not enough money Deposit more funds or reduce lot size
146 Trading subsystem is busy Wait a moment and try again

7. Support

For additional support or questions, please contact us through the ThoresDecimus platform dashboard.

ThoresDecimus Signal Receiver EA v1.0
© 2024 ThoresDecimus. All rights reserved.

← Back to Homepage