MT4 Trailing Stop Expert

MT4 Trailing Stop Expert

This is a function that you can use in your MT4 expert advisor to apply a standard points based trailing stop For the MT5 verison click here A trailing stop is nothing more than a stop loss that moves as price changes. For this standard trailing stop the rules are…

MT4 Expert to apply an Automatic Stop Loss

MT4 Expert to apply an Automatic Stop Loss

This expert advisor will scan through new trades and automatically apply a default stop loss to trades that have no stop loss Click here for the MT5 version Start by using the wizard to create the expert advisor template. I called my expert AutoStopLoss. This expert uses a simple point…

dummy-img

MT5 Expert to apply an Automatic Stop Loss

This expert advisor will scan through new trades and automatically apply a default stop loss to trades that have no stop loss Click here for the MT4 version Start by using the wizard to create the expert advisor template. I called my expert AutoStopLoss. For MT5 include the Trade.mqh file…

Copy Protect your EA or Indicator

Copy Protect your EA or Indicator

If you want to share or sell your EA or Indicator then you should be thinking about how to protect your work and prevetn unauthorised distribution. This article shows 4 techniques covering limited capability trials, time limited versions and ultimately issuing licence codes linked to a single account. These are…

Close a Basket of Trades on a Target Profit

Close a Basket of Trades on a Target Profit

A simple EA to open trades to an average position and then close all when a target profit is reached

COmbining Stochastic and MA on Stochastic in an Expert

COmbining Stochastic and MA on Stochastic in an Expert

Answering a quick tips request, how to combine the Stochastic and 2 moving averages on the stochastic into an Expert Advisor.    

MQL By Request #6 – An EA with ATR Take Profit and Stop Loss

MQL By Request #6 – An EA with ATR Take Profit and Stop Loss

How to add stop loss and take profit to your EA. This covers simple point based as well as an example using ATR multiples. If you have not seen the earlier parts where the framework is developed the links below will take you to those articles. Part 1 built the…

MQL By Request #5 – Using the EA Framework V2

MQL By Request #5 – Using the EA Framework V2

I’ve been using a common framework Version 1 in this by request series. The framework is evolving as the series moves along and was never intended to be a commercial product. The framework has always been intended for use to support tutorials. That means that the framework is more of…

MQL By Request #4 – Moving Average Cross EA

MQL By Request #4 – Moving Average Cross EA

How to write a Moving Average Cross EA using the EA framework. This is in answer to a subscriber question on how to write a moving average cross EA for MT5. It is also a good example for first use of the EA framework developed in parts 1-3 of this…

Build a custom indicator in 10 minutes using iMAOnArray

Build a custom indicator in 10 minutes using iMAOnArray

Following up on a comment asking how to use iMAOnArray in an indicator this video shows how to build a complete working indicator in 10 minutes using iMAOnArray  

Scroll to Top