Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Scripts

Global Close Orders Management - script for MetaTrader 4

Close Orders of global trades
Published by:
[Deleted]
Views:
1314
Rating:
(3)
Published:
2024.03.29 12:02
Updated:
2024.04.01 20:54
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

//***************************************************************************//

extern string  Close_Orders_Management                    =  ""   ;
//***************************************************************************//
input bool     Close_All_ORDERS                          =  false;
input bool     Close_Active_Buy_and_Sell_ORDERS          =  false;
input bool     Close_Active_Buy_ORDERS                   =  false;
input bool     Close_Active_Sell_ORDERS                  =  false;
//***************************************************************************//
input bool     Close_All_Pending_Orders                  =  false;
input bool     Close_Buy_Pending_Orders                  =  false;
input bool     Close_Sell_Pending_Orders                 =  false;
//***************************************************************************//
input bool     Close_All_LIMIT_Orders                    =  false;
input bool     Close_BUY_LIMIT_Orders                    =  false;
input bool     Close_SELL_LIMIT_Orders                   =  false;
//***************************************************************************//
input bool     Close_All_STOP_Orders                     =  false;
input bool     Close_BUY_STOP_Orders                     =  false;
input bool     Close_SELL_STOP_Orders                    =  false;
//***************************************************************************//
input int      Close_ALL_Positive_Orders_Higher_than_PIPS    =  0;
input int      Close_BUY_Positive_Orders_Higher_than_PIPS    =  0;
input int      Close_SELL_Positive_Orders_Higher_than_PIPS   =  0;
//***************************************************************************//
input int      Close_ALL_Negative_Orders_Lower_than_PIPS     =  0;
input int      Close_BUY_Negative_Orders_Lower_than_PIPS     =  0;
input int      Close_SELL_Negative_Orders_Lower_than_PIPS    =  0;

//***************************************************************************//


#property copyright     "Copyright 2024, MetaQuotes Ltd."

#property link          "https://www.mql5.com"

#property version       "1.01"

#property description   "persinaru@gmail.com"

#property description   "Julian 2024 - free open source"

#property description   "Global Close Orders Management."

#property description   ""

#property description   "WARNING: Use this software at your own risk."

#property description   "The creator of this script cannot be held responsible for any damage or loss."

#property description   ""

#property strict

#property show_inputs




    Symbol Spread Equity Profit Banner V1.mq4 Symbol Spread Equity Profit Banner V1.mq4

    Simple banner showing Symbol Spread Equity Profit Banner

    Open Charts of open trades symbols Open Charts of open trades symbols

    Open Charts