Mastering Exp_Fishing: Your Go-To EA for MetaTrader 5

Mike 2017.01.20 02:04 30 0 0
Attachments

Author: Khlystov Vladimir

If you're diving into the world of trading with MetaTrader 5, you've probably heard about the Exp_Fishing Expert Advisor (EA). This nifty tool opens initial positions based on the current candle's direction and ramps up its volume once the profit in points crosses a set threshold defined in the EA settings.

Here's how it works: the data about your additional trades is stored in the comment section of each position, formatted as follows: number of additions/last trade price/last trade volume.

The EA is designed to open positions whenever the current candle's body surpasses the PriceStep threshold, and it can add to those positions whenever this threshold is exceeded at the arrival of a new bar.

Expert Advisor Input Parameters

//+----------------------------------------------+
//| Input parameters for the Expert Advisor |
//+----------------------------------------------+
input double MM=0.1; // Share of deposit in added trades
input MarginMode MMMode=LOT; // Method for lot value detection
input uint PriceStep=300; // Price grid step in points for opening or adding positions
input uint PosTotal=10; // Number of added trades
input uint StopLoss_=1000; // Stop loss in points
input uint TakeProfit_=2000; // Take profit in points
input int Deviation_=10; // Maximum price deviation in points

Originally developed in MQL4, this EA first made waves in the trading community when it was published in the Code Base on July 18, 2016.

Fig. 1. Examples of trades on the chart

Fig. 1. Examples of trades on the chart

List
Comments 0