DISCLAIMER
I accept absolutely no responsibility whatsoever for anyone losing or making money using this expert advisor to trade. You use this robot at entirely your own risk.
________________________________________________________________________________________________________________
Please find attached an EA I have written.
It is called the TRACER EA (which is short for Trend-Retracement).
It is designed to go on the EUR/USD 15M chart but I think that with the correct settings it could also work on GBP/USD 15M chart and also the EUR/USD 5M and GBP/USD 5M charts.
Please feel free to backtest the EA and post your relevant findings in this thread in order that we may find the best settings.
The settings and how it works.
Here are the EA inputs:
Magic Number:
Self explanatory
ECN Broker:
Set this to true if you use an ECN broker. If not, don't.
extern double Lots:
Lot size - default 0.01
extern double Stoplossmargin:
The EA places a stop loss at the high of the last swing high/low. This number is the added number of pips away from the high/low it will set the stop loss. Default at 1 PIP (0.0001 for E/U).
extern double takeprofitmultiplier:
The EA multiplies the stoploss distance by this number to set the takeprofit. Think of it as a R:R setting. The default is 3 giving a risk reward ratio of 1:3.
extern int Slippage:
Maximum allowed slippage. Default = 3 (3 PIPS).
The EA uses three different MA's to determine trend direction and strength. A Fast MA, a slower MA, and an even slower TREND MA. Below are the default settings which worked best in backtesting but please test further. The MA period is self explanatory. MA shift is best left at 0. For MA method 1 = ema, 0=sma. MA price 1=close price.
extern string Remark2 = "== Fast MA Settings ==";
extern int MA1Period = 20;
int MA1Shift = 0;
int MA1Method = 1;
int MA1Price = 0;
extern string Remark3 = "== Slow MA Settings ==";
extern int MA2Period = 60;
int MA2Shift = 0;
int MA2Method = 1;
int MA2Price = 0;
extern string Remark4 = "== Trend MA Settings ==";
extern int MATrendperiod = 70;
int MATrendshift = 0;
int MATrendmethod = 0;
int MATrendprice = 0;
The final 2 inputs are:
extern double minimumgapdistance = 0.00030;
This determines the minimum gap distance required between the fast and slow MA's for the EA to take a trade. The default proved best in my backtesting but we may find a better one.
extern double minimumgapdistance2 = 0.00010;
This determines the minimum gap distance required between the slow MA and Trend MA for the EA to take a trade. This is untested so is set at default of 0.0001 but we may find better setting for this.
A starting point.
Run the default settings through strategy tester on an EU 15M chart for a few months worth of data. Then we can start manipulating the settings to find the best ones. I would recommend changing the MA settings, takeprofit mulitiplier settings and minimum gap settings in order to find the best. This bot has shown some promise in backtesting.
As an alternative, DEMO the robot to see how it works. Drop it on an EU 15M chart (or G/U 15M). The robot leaves its 'fingerprints' after trades so you can see where it entered and set its TP and SL etc. I think you will be suprised at the quality of the entries it generates. The key to profitability lies in finding good settings. This is where we can come together and help.
Noodles.
I accept absolutely no responsibility whatsoever for anyone losing or making money using this expert advisor to trade. You use this robot at entirely your own risk.
________________________________________________________________________________________________________________
Please find attached an EA I have written.
It is called the TRACER EA (which is short for Trend-Retracement).
It is designed to go on the EUR/USD 15M chart but I think that with the correct settings it could also work on GBP/USD 15M chart and also the EUR/USD 5M and GBP/USD 5M charts.
Please feel free to backtest the EA and post your relevant findings in this thread in order that we may find the best settings.
The settings and how it works.
Here are the EA inputs:
Magic Number:
Self explanatory
ECN Broker:
Set this to true if you use an ECN broker. If not, don't.
extern double Lots:
Lot size - default 0.01
extern double Stoplossmargin:
The EA places a stop loss at the high of the last swing high/low. This number is the added number of pips away from the high/low it will set the stop loss. Default at 1 PIP (0.0001 for E/U).
extern double takeprofitmultiplier:
The EA multiplies the stoploss distance by this number to set the takeprofit. Think of it as a R:R setting. The default is 3 giving a risk reward ratio of 1:3.
extern int Slippage:
Maximum allowed slippage. Default = 3 (3 PIPS).
The EA uses three different MA's to determine trend direction and strength. A Fast MA, a slower MA, and an even slower TREND MA. Below are the default settings which worked best in backtesting but please test further. The MA period is self explanatory. MA shift is best left at 0. For MA method 1 = ema, 0=sma. MA price 1=close price.
extern string Remark2 = "== Fast MA Settings ==";
extern int MA1Period = 20;
int MA1Shift = 0;
int MA1Method = 1;
int MA1Price = 0;
extern string Remark3 = "== Slow MA Settings ==";
extern int MA2Period = 60;
int MA2Shift = 0;
int MA2Method = 1;
int MA2Price = 0;
extern string Remark4 = "== Trend MA Settings ==";
extern int MATrendperiod = 70;
int MATrendshift = 0;
int MATrendmethod = 0;
int MATrendprice = 0;
The final 2 inputs are:
extern double minimumgapdistance = 0.00030;
This determines the minimum gap distance required between the fast and slow MA's for the EA to take a trade. The default proved best in my backtesting but we may find a better one.
extern double minimumgapdistance2 = 0.00010;
This determines the minimum gap distance required between the slow MA and Trend MA for the EA to take a trade. This is untested so is set at default of 0.0001 but we may find better setting for this.
A starting point.
Run the default settings through strategy tester on an EU 15M chart for a few months worth of data. Then we can start manipulating the settings to find the best ones. I would recommend changing the MA settings, takeprofit mulitiplier settings and minimum gap settings in order to find the best. This bot has shown some promise in backtesting.
As an alternative, DEMO the robot to see how it works. Drop it on an EU 15M chart (or G/U 15M). The robot leaves its 'fingerprints' after trades so you can see where it entered and set its TP and SL etc. I think you will be suprised at the quality of the entries it generates. The key to profitability lies in finding good settings. This is where we can come together and help.
Noodles.
Attached File(s)
Jimmy Noodles TRACER EA.mq4
14 KB
|
777 downloads
The best trade I ever made was my SIN for Jesus' RIGHTEOUSNESS.