Four Screen Trading EA

Four Screen Trading EA
Download ALL MT4 experts (893)
YouTube Video Thumbnail



Similar MetaTrader Tools

Four Screen Trading EA

Info

The Four Screen Trading EA is a Expert Advisor for MetaTrader 4 that this expert advisor (ea) trades one currency pair, such as eur/usd, across four charts with different timeframes: m5, m15, m30, and h1. The Heiken Ashi indicator is applied to each chart.

Usage

This tool is typically used for automated trading on major forex pairs and gold.

Platform

This Expert Advisor works exclusively on MetaTrader 4 (both build 600+ and newer versions).

Setup

Place the downloaded file in MQL4/Experts folder via File ? Open Data Folder in MetaTrader 4.


How to Install and Use Four Screen Trading EA

1. Installation: Open the "File" menu, select "Open Data Folder," navigate to MQL/Experts, paste your file, and restart the terminal.

2. Activation: Drag the EA from the Navigator onto a chart, ensure "Allow live trading" is checked in the Common tab, and verify the AutoTrading button is green.

3. Optimization: Right-click your chart, choose "Expert List," click "Properties" to adjust inputs, and save your preferred setup as a set file for future use.

4. Maintenance: Regularly check the "Experts" tab in the terminal window to monitor trade logs and potential execution errors.

Frequently Asked Questions

Q: Why is my EA not opening trades? A: Check the "AutoTrading" button, ensure "Allow live trading" is enabled, and verify your broker allows automated trading on your account type.

Q: Can I run multiple EAs on one chart? A: No, each chart can only host one active EA; however, you can open multiple charts for different currency pairs to run several EAs.

Q: What does the "smiley face" icon mean? A: A smiley face in the top-right corner of the chart indicates the EA is successfully running; a frowny face means it is disabled.

What this tool does

This Expert Advisor (EA) trades one currency pair, such as EUR/USD, across four charts with different timeframes: M5, M15, M30, and H1.

Typical Use Case

This Expert Advisor excels in automated trading and technical analysis on MetaTrader 4.

Compatible Platform & Setup

This Expert Advisor works on MetaTrader 4. Place the file in the MQL4/Experts folder and restart the terminal.

Description & Settings

Related: 3 screens expert advisor - another powerful expert for MetaTrader 4 traders.

This Expert Advisor (EA) trades one currency pair, such as EUR/USD, across four charts with different timeframes: M5, M15, M30, and H1. The Heiken Ashi indicator is applied to each chart.

Also recommended: Automated Screenshot and Email Notification After Trade Opening - similar expert with strong performance on MetaTrader 4.

Data is measured on the completed bar for the M5 timeframe and on the current bar for the other timeframes.

EA Operation Principle:

Sell Order:
When all four charts display red Heiken Ashi candles, the EA places a sell order with a fixed take profit and stop loss (e.g., 20 points each). If the take profit is hit and the candles remain red, a new sell order is placed immediately. However, if a white candle appears on any chart, the EA waits for market entry. Entry occurs once all four charts show red candles again.

Buy Order:
The principle is similar for buy orders. When all four charts display white Heiken Ashi candles, the EA places a buy order with a fixed take profit and stop loss (e.g., 20 points each). If the take profit is hit and the candles remain white, a new buy order is placed immediately. If a red candle appears on any chart, the EA waits for market entry. Entry occurs once all four charts show white candles again.

Lot Size Management:
If a stop loss is triggered, regardless of the trading direction (buy or sell), the lot size for the next order based on the indicator signal on the four charts is doubled. For example, if the initial lot size was 0.01, the next order will be multiplied by two, and so on, until a take profit is triggered. Once a take profit is achieved, the lot size returns to its initial value (e.g., 0.01).

Trading Condition:
Trading occurs only when all four charts display candles of the same color (either all red or all white).

Expert Advisor Input Parameters:

- Lot size
- Order points (for stop loss and take profit)

Standard trailing stop functionality has been added in version 2.0 (2026).
If an order is closed with a profit and a new trading signal is present, a new order will only be opened at the start of a new bar.

You may also like: EA for Order Screenshots - excellent alternative for expert users on MetaTrader 4.

Source Code

#property copyright "robotfx"
#property link "https://robotfx.org"
#property strict
#property version   "1.00"
extern int       sl=20;
extern int       tp=20;
extern int       trailing=10;
extern bool      nowbarafterprofit=true;
extern double    lot=0.1;
extern int       slippage=3;

.......

Leave your opinion, ask a question, share some knowledge

⚠ Limitations & Risk Warning

  • This tool is provided for educational and testing purposes only.
  • Past performance does not guarantee future results.
  • Trading involves substantial risk of loss. Use on a demo account first.
  • Results may vary depending on market conditions, broker, and settings.
  • We recommend thorough backtesting and forward testing before using with real funds.
© ROBOTFX Free educational tools by RobotFX. Use entirely at your own risk; we are not liable for any financial losses incurred.