Mastering GTerminal V5: Your Go-To EA for MetaTrader 4

Mike 2008.05.16 15:39 37 0 0
Attachments

As a trader, managing your Expert Advisor (EA) can feel like second nature once you get the hang of it. With GTerminal V5, you'll find it easier to automate your trading strategies and stay on top of the market.

For a comprehensive understanding of graphical orders and how to implement them in the MetaTrader 4 (MT4) environment, be sure to check out the detailed article and join the discussion in our forum thread.

Why Use GTerminal V5?

  • Automation: Streamline your trading by automating routine tasks based on your trading plan.
  • Free Up Your Time: No more waiting around for trading events; let the EA handle it!

Learning Tools

  • Visual demonstrations of trading principles and strategies.
  • Practice skills in the MT4 Strategy Tester.
  • Conduct strategy testing.
  • Participate in trading contests using the MT4 Strategy Tester.

Graphical Orders are essentially lines that trigger trade requests, with execution limited to the line's endpoint.

Types of Graphical Orders

Order opening lines are categorized as:

  • BUYSTOP
  • BUYLIMIT
  • SELLSTOP
  • SELLLIMIT

Order closing lines include:

  • TPBUY
  • SLBUY
  • TPSELL
  • SLSELL

For closing all orders of a certain type, we have:

  • TPALLBUY
  • SLALLBUY
  • TPALLSELL
  • SLALLSELL (including manually opened orders).

Initialization lines for setting StopLoss and TakeProfit for new orders are as follows:

  • TPINITBUY
  • SLINITBUY
  • TPINITSELL
  • SLINITSELL (applied only when the order is opened).

Additionally, the EA managing line is labeled as PAUSE, and will automatically appear on the chart for both demo and live trading.

Indicator Windows

Opening and closing lines also appear in the indicator windows for:

  • RSI
  • CCI
  • WPR
  • Momentum
  • Force Index
  • DeMarker
  • ATR
  • OBV
  • MFI

When an order line is accepted, you’ll see the EA’s confirmation: O.k.. If it’s not accepted, the message will read Not executed. Hover over the line for more details.

GTerminal can trade across all markets where MT4 is available. It allows for a two-step order process: first setting tp/sl=0, then modifying (essential for CFD trading).

Multiple GTerminal EAs can operate in different windows without interfering with each other. To keep track of them, use a unique magic number.

Traders can also manage orders opened by the EA manually—modifying, closing, applying scripts, enabling Trailing Stop, and more.

Limitations

  • The EA opens only one order per direction.
  • The lot size is defined in the EA settings, and the deposit state is not monitored.
  • The indicator period must match the one specified in the EA (a feature of MQL4).
  • All lines are of the Trend Line type.
  • The relative positioning of lines is not validated or commented upon.

Recommendations

If a graphical order fails to execute or opens but closes immediately, double-check the positioning of your lines.

The trades executed by the EA are logged and can be viewed in the tabs labeled "Expert Advisors" and "Journal." You can also use the "load/save" option in "Properties/Inputs" for ease of use.

Be sure to check the comments inside the attached file for further insights.

Feel free to reach out to the author by commenting on this post or via email.

P.S. I kept the debugging print (just one!). Please download it again, it's 35.2 KB, or feel free to delete it yourself by going to Edit > Find the print that’s not banned, and add two ones before it //.

List
Comments 0