RobotFX curates the best open-source MetaTrader code to inspire your trading automation.

Functions for processing the orders of Spot currency pairs, Spot Gold and Spot Silver with error handling.
Revision 1: OrderModify2() & OrderProcess() corrected, OrderProcess() & OrderSend2() enhanced.
The code may have to be adjusted to suit your broker's ordering system.
Smooth out market noise with the Heiken Ashi Expert Advisor for MT4 and MT5. Reliable trend-following automation. Details here.
Build better strategies with RobotFX professional tools – check them out.
7991