On the New System entry screen, uncheck CloseBuyTrade and CloseSellTrade and enter a name in the name field for the name of the system (This name will also be the name of the Expert Advisor).


Many EAs do not use explicit logic to close their trades - they allow the stoploss or takeprofit to close the trade.  This EA will not define close functions, so we unchecked them.


Related Topics:
What is VTS
Why use VTS
Installing VTS
Property Window
Welcome Screen
Everything You Need To Know About VTS
Expert Advisor Facts
Configure
Assignment
Condition
Configure
Custom Indicators
MQL Function
TEXT Element
INPUT Manager
TRADETIME Manager
TRADESIGNAL Manager
COMMUNICATION Manager
OPENTRADE Manager
Message
Logic
MetaTrader Platform Configuration
Compiler
Compiler Flags
Platform
Editor
EA Output Folder
Custom Indicator Folder
License
Special Functions
fnOpenOrder
init and deinit
MetaTrader Platform
Journal Tab
Experts Tab
ECN Brokers
Step 1
Step 4
Function and Logic Power Plug-in
Logic
Candlestick Plug-in
Using a Candlestick Function in a Logic Element
Easy Email Plug-in
Configure Easy Email Settings
Using Easy Email from the Communication Manager
Using Easy Email from any Element
Using Easy Email with the fnSendEzEmail Function
Testing the Easy Email Connection
TrendLine Plug-in
Building an Expert Advisor to manage a manually drawn trend line
Building an Expert Advisor to draw and manage a trend line
Grid Plug-in
FX PowerGrid Functions
Grid Main Settings
fnRemoveLines
Using FX PowerGrid
Script & Multi-Platform Plug-in
Building a MetaTrader Script
Using the Multi-Platform Feature
Profit Exits Plug-in
Using the Exit Plug-in
Profit Manager Plug-in
Using the Profit Manager
Target
Action
Price Chart
Client-Side Stops Plug-in
Emergency Stops
Using Client-Side Stops
Using an Offset Value
Using an Absolute Price Value
Fibonacci Trader Plug-in
Building an Expert Advisor to manage a manually drawn Fibonacci retracement
Building an Expert Advisor to draw and manage a Fibonacci retracement
Signal Aggregator Plug-in
Signal Type: MQL
Configuring the Weight and Threshold
MQL-Mentor Plug-in
Partial-Close Plug-in
Partial-Close Price Chart
EA-Indicator Plug-in
Enable the EA-Indicator Plug-in
Using the EA-Indicator Plug-in
Custom Indicators in the Toolbox
EA-Indicator Price Chart
EA-Indicator Video
Chart Objects Plug-in
Market Score Plug-in
Order History Plug-in
EA Secure Plug-in
Enbale the EA Secure Plug-in
EA Secure Plug-in System Manager
EA Secure Configuration
EA Secure on Price Charts
Chart Execute Plug-in
Chart Execute on Price Chart
Using Chart Execute
Chart Execute Notes
Money Manager Plug-in
Money Manager Configuration
Money Management Table
Package Plug-in
Load a Package
Pivot Points Plug-in
fnRemoveAllPivots
Using the Pivot Point Plug-in
File IO Plug-in
Multi Trade Plug-in
Using the Multi Trade Plug-in
Debug Manager Plug-in
Using the Debug Manager Plug-in
Debug Manager Plug-in on a VTS Drawing
Event Manager Plug-in
Using the Event Manager
MQL Event Documentation