Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
COrdersManager class - library for MetaTrader 4
- Views:
- 6787
- Rating:
- Published:
- 2015.08.25 16:01
- Updated:
- 2016.11.22 07:32
- Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
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
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 patternsThis indicator shows Flag and Pennant patterns.
Histogram Blanket
This new representation helps to see charts in a new different way.
ATR 3 LWMAThis indicator shows 3 periods ATR LWMA.