Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2015.08.25 16:01
COrdersManager class

COrdersManager class - library for MetaTrader 4

| English Español Português Русский Deutsch 日本語

Views:
2754
Rating:
votes: 17

Description:

It is a simple but good class for orders management. I know there should have been management of magic numbers and so on, this is just a taste.

Usage:

COrdersManager Orders;

Orders.DeleteAll();              // Close and delete all orders (open and pending)
Orders.CloseOpen()               // Close all open orders
Orders.CloseSell()               // Close all SELL orders
Orders.CloseBuy()                // Close all BUY orders
Orders.DeletePending()           // Delete all pending orders
Orders.CheckOpenOrders()         // Returns amount of open orders
Orders.CheckOpenBuyOrders()      // Returns amount of buy orders open
Orders.CheckOpenSellOrders()     // Returns amount of sell orders open
Accelerator Oscillator (AC) Accelerator Oscillator (AC)

The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.

Average Directional Movement Index (ADX) Average Directional Movement Index (ADX)

The Average Directional Movement Index Indicator (ADX) helps to determine if there is a price trend.

LinesProfitLoss LinesProfitLoss

Calculates profit (loss) of the current orders on the symbol.

FFC - Forex Factory Calendar FFC - Forex Factory Calendar

Modified version of FF Calendar Indicator with new features.