STP-Entry Framework Daily V1 – EA MetaTrader 4

STP-Entry Framework Daily V1 - expert for MetaTrader 4
Author: Cheftrader* Description: A framework to build and test systems, which use stop-Orders to enter a position. Pending orders and postions are handled based on a daily system. The entry logik (STP-value calculation) can be easily changed in the mqh-file. Further features: – risk management, enable/disable trailing stop – money management, determine positions size depending … Read more

MQLUnit – Tiny Unit Tests Framework For Complex Expert Advisors – script MetaTrader 5

MQLUnit - Tiny Unit Tests Framework For Complex Expert Advisors - script for MetaTrader 5
As a Java developer for 20 years I am used to writing more complex programs using test driven development technique. When I started writing more complex expert advisors I was missing a solid framework that supports me in doing unit tests in MQL5. Therefore I have developed my own simple yet straight forward solution, MQLUnit … Read more

Validate Me framework – EA MetaTrader 4

framework_inputs
Validate Me framework My interpretation of how to code a robot using market buy and sell orders to cope with market validation. This framework deals with some checks that a trading robot must pass before it is published on the market. For educational purposes. code example BUY ask=MarketInfo(_Symbol,MODE_ASK);          bid=MarketInfo(_Symbol,MODE_BID);          sl=(OrderStopPips==0)?0.0:bid-ExtOrderStop;          if(sl!=0.0 && … Read more