USER GUIDE: DEWA TRADER TREND SURFER SYSTEM
Welcome to the official user guide for the Dewa Trader Trend Surfer System. This system is a professional charting and execution toolkit built for MetaTrader 4 (MT4). It consists of two parts that work together: a smart trend indicator and a zero-input background execution engine script, and an optional ea Trailing Stop Manager.
1. System Overview
The system splits the trading workload into two independent programs to ensure maximum performance and safety:
The Chart Indicator (Dewa_Trader_Trend_Surfer.ex4)
- Visual Cockpit: Plots trend lines, volatility channels, and major/minor trading signals on your main chart window.
- Information Panel: Displays a beautiful, real-time trading dashboard with live account information and calculated entry data.
- Command Center: Sends trade orders to the background engine via interactive buttons (BUY, SELL, CLOSE, ALL CLOSE).
The Script Engine (DewaTrader_TrendSurfer_Engine.ex4)
- Execution Robot: Runs quietly in the background of your active chart window.
- Symbol Restricted Guard: Only executes trades on the specific currency or asset chart it is running on. It will never touch or interfere with other background EAs or manual trades on other assets.
- Dynamic SL/TP Calculator: Calculates fresh Stop Loss and Take Profit levels wrapped around your exact execution price at the millisecond you press a button.
The Trade Protector (ATR_TrailingStop_Manager.ex4)
- Optional: This is an optional ea you may want to run in the background to trail your Stop Loss when price move in your entry direction. It will minimize your loss or lock your profit in case the market makes sudden moves.
Note
There are some additional files you need to copy to your relevant MT4 folders such as logo images and license file. Our system might not work if these files are missing. This is a requirement to protect our system from illegal distribution.
2. Security & Communication with webserver
Ler's walk you through to setting up your MT4 script to read a license file from the shared Common folder and configuring the terminal to securely communicate with your webserver
Step 1: Add the License File to the Common Folder
MT4 restricts file operations to a secure sandbox. To share a single license file across multiple MT4 instances on your computer, you must use the terminal's shared directory.
- Open your MT4 terminal.
- Click File in the top-left corner and select Open Data Folder
- The Data Folder will open in a Windows Explorer window. Look at the address bar and navigate one level up (usually to the MetaQuotes\Terminal folder).
- Locate and open the Common folder, then open the Files folder.
(The full path usually looks like
C:\Users\[Your_Username]\AppData\Roaming\MetaQuotes\Terminal\Common\Files). - Paste your license file (trend_surfer.lic) into this Files folder.
- Restart your MT4 application.
Step 2: Link Your Script to the Webserver
To allow your script to send and receive data, you must authorize the webserver's domain in MT4's WebRequest settings.
- In the MT4 top menu, click Tools > Options.
- Go to the Expert Advisors tab.
- Check the box for Allow WebRequest for listed URL.
- Click the green "+" (Add) button, and type our webserver's base URL (https://dewatrader.site).
- Click OK to save.
- Ensure your script is attached to the chart and the AutoTrading button on the main toolbar is turned green.
Step 3: Verify the Script Permissions
For safety, MT4 prevents scripts from making web requests if permissions aren't properly enabled on your chart.
- Drag and drop your script onto any chart.
- In the properties popup, go to the Common tab.
- Ensure Allow live trading and Allow DLL imports are checked.
- Click OK.
3. Installation & Setup
Step 1: Copy the Files
Copy our files according to the folders to your MT4. Example: indicator from our indicator folder goes to the MT4 indicator folders. Do exactly acoording to folders except trend_surfer.lic.
Step 2: Activate AutoTrading
- Look at the top toolbar of your main MT4 terminal
- Click the AutoTrading button. Ensure the icon turns Green (enabled).
Step 3: Launch on Chart
- Open any chart window (e.g., Gold - XAUUSD).
- Go to the MT4 Navigator panel, expand Indicators, and drag Dewa_Trader_Trend_Surfer onto the chart.
- Expand Scripts, and drag DewaTrader_TrendSurfer_Engine onto the chart.
- (Optional) expand Experts, and drag ATR_TrailingStop_Manager onto the chart.
Danger
Whenever you change time frame, you need to re-drag DewaTrader_TrendSurfer_Engine onto the chart or the buttons will not work!
4. Understanding the Trading Panel Dashboard
The dashboard sits at the top-left corner of your chart workspace. Here is what each line tells you:
- Header (==== TRADE PANEL ====): The main title bar.
- Trend Status: Displays the current market condition based on the Higher Timeframe (e.g., Strong Buy).
- Signal Status: Shows the rule pattern that triggered the latest signal according to market behaviour.
- Entry, SL, and TP Rows: Displays target price coordinates. It remembers Last entry position even if you switch chart timeframes or restart your terminal.
- Lot Size & Magic No: Shows your active trading configuration inputs.
- Control Buttons: Fully interactive control pads. Click them to trigger instant trade execution via the script engine.
- Account Name & Number: Displays your personal account registration layout to verify ownership quickly.
Logo Branding
Our logo sits at the bottom-left corner of your chart workspace. This acts as panic button. If you need any help regarding the technical set up and configuration. Just click the logo and it will open your browser linking directly to our website.
5. User Input Settings Guide
Right-click on your chart screen, select Indicator List, Double click on Dewa_Trader_Trend_Surfer and click Properties to adjust these parameters:
- Right-click on your chart screen
- Select Indicator List.
- Double click on Dewa_Trader_Trend_Surfer
- Click on Inputs tab
- Input your preferences
- ClickOK
- Close the pop up window