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
Libraries

COrdersManager class - library for MetaTrader 4

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

Views:
3261
Rating:
votes: 20

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
MySQL library for MQL4 with proper memory management MySQL library for MQL4 with proper memory management

Library provides functions for management of MetaTrader 4 to MySQL database connections. Fixed memory allocation and release problems of the original library.

Flag and Pennant patterns Flag and Pennant patterns

This indicator shows Flag and Pennant patterns.

Histogram Blanket Histogram Blanket

This new representation helps to see charts in a new different way.

ATR 3 LWMA ATR 3 LWMA

This indicator shows 3 periods ATR LWMA.