Ansatsu Trend Follower System

#1
Most technical tools and systems are trend following in nature, which means that they are primarily designed for markets that are moving up or down. They usually work very poorly or not at all when markets enter lateral or trendless phases. It is usually during these sideways movements that technical traders experience their greatest frustration and systems traders their greatest equity losses.

Features:
Suitable for intraday traders, works on 5min time frames.
Catches trend easily and filters sideways market movement.
Defined entry and defined SL.
Less number of whipsaws against normal trend following systems.

Buy Signal:
Wait until both MACDs show you blue cloor and price bar is above both the volume stops and above dots colour.

Sell Signal:
Wait until both MACDs show you red color and price bar is below both the volume stops and below dots colour.




Does any one have the afl for this Trading System?
 
Last edited:
#2
A similar system found on another site but used for Forex Pips



This system is designed for longer time frames, it’s a trend following system that just ride the trend to the maximum profit, you can use shorter time frames but you will be exposed to more market noise, this system works perfectly in D1 time frame.
This system is made of two basic functions:

1: Determining the actual trend (The trend director indicators)
2: Determining when to take a position (The trade activator indicators).
------------------------------------------------------------------------------------------------------------------------------
Longer ATR stop line = red line;
Shorter ATR stop line = yellow line.

Now let’s go to the rules:

Up trend:

-ATR stops must be below the charts, (the shorter and the longer atr stop indicators) its easy to spot a reversal of the atr stop, if the close of the bar is below or above the atr stop line, it means a reversal, it’s the close and not the high or low of the bar that determines that;
-The dots in the chart must be blue;
-Histobands indicator must be in blue color or above zero;
-CCI_T3 indicator must be blue or above zero;
-Bar color indicator must be blue.

Down trend:

-ATR stops must be above the charts;
-The dots in the chart must be red;
-Histobands indicator must be in red color or below zero;
-CCI_T3 indicator must be red or below zero;
-Bar color indicator must be red.

The rules I wrote above is just for determining the trend and not when to take a position, to take a position you must be with right momentum, indicators will tell you that.
The main indicator for trade activator is the bar color, this indicator shows three areas:

Blue = up trend;
Red = down trend;
White = neutral.

For taking buy position the blue color must appear after a white area, that’s perfect momentum to take a position, for this to happen all the others indicators must be too in uptrend situation like I said above, they determine the trend. Now I said the bar color was the main indicator to determine when to take a position, but not the only, the unique indicator that does not serve for trade activation is the CCi_T3, this one is only for determining the trend! If you take a position when CCI_T3 changes trend direction you are not in a good momentum.

If the bar color triggers buy position and for example if the atr stops are not below the chart or the dots are not blue you wait for these indicators to turn direction, the same for the histobands, if the histobands is still red, wait for it to turn blue, if you don’t wait you may take a false signal and loose the trade, now for this to happen the CCI_T3 had to be already in blue color before the bar color indicator turning to blue;

For taking sell position is the opposite.

I will give you chart examples:


In this case was an example of a false sell signal because the bar chart was not below the shorter atr line yet. I call the bar color the main indicator for trade activation because it must be the first one to trigger a position, then you can wait for the others indicators to trigger too.

Now I will give you an example of when is a permanent false signal and there is no wait for the others indicators to trigger:



Has you see the indicator CCI_T3 that only serves for determining the trend and does not for trading activation is blue, so there is no wait for it to turn red, it is a permanent false sell signal.


Exits

Has you know this is a trend following system, so you want to ride the trend.
The shorter atr line is for taking profits, the longer atr line is for stop loss, the stop loss and take profit are dynamic, they changes throw the development of the trend, let’s see an example:



The take profit atr line(yellow line), is only for when you are in profit, if this line is in the area where you loose the trade you won’t want to stop the trade there, you want to loose the trade only in the longer atr stop line, the shorter line is only for take profits! Stop losses should be 5 pips above or below the red line.

When you move for the 2 stop loss, the 1 stop loss will nullify off course, the same for take profit line.

Notes: Risk only 2% of your capital per trade; trade only with ecn/stp brokers, don’t trade with dealing desk – market makers type brokers.

Thanks!!



The Attachment is not an amibroker afl formula but a .ex4 indicator with the template. If any senior member can convert it for amibroker it would be really very helpful. If you require the manual also you can get it from here.
http://www.mediafire.com/?qmlmy2mytmz
 
Last edited:
#4
Hello Jose Mary

I am uploading all the indicators and template in rar file.
The file is in .ex4 extention that means it is compiled formed of metatrader
If you are using metatrader you can easily copy the indicators in indicators folder of metatrader

Thanks
Anurag
 
Last edited:
#5
The folder consists of indicators folders in which

ATR trailing stop
PSAR (dots_color.ex4)
CCI
Histobands.ex4

All the above indicators are redeaily available except "unknown" Histobands

I have decompiled Histobands.ex4 to .mq4 version for you.

Here is the code:
//+------------------------------------------------------------------+
//| HistoBands.mq4 |
//| Copyright 2006, MetaQuotes Software Corp. |
//| http://www.metaquotes.net |
//+------------------------------------------------------------------+
#property copyright "Copyright 2006, MetaQuotes Software Corp."
#property link "http://www.metaquotes.net"

#property indicator_separate_window
#property indicator_buffers 2
#property indicator_color1 DodgerBlue
#property indicator_color2 Red

double WBP[];
extern int ShortPeriod=5;
//---- buffers
double ExtMapBuffer1[];
double ExtMapBuffer2[];
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int init()
{
//---- indicators
IndicatorBuffers(3);
SetIndexStyle(0,DRAW_HISTOGRAM,0,2);
SetIndexBuffer(0,ExtMapBuffer1);
SetIndexStyle(1,DRAW_HISTOGRAM,0,2);
SetIndexBuffer(1,ExtMapBuffer2);
SetIndexBuffer(2, WBP);
//----
return(0);
}
//+------------------------------------------------------------------+
//| Custor indicator deinitialization function |
//+------------------------------------------------------------------+
int deinit()
{
//----

//----
return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator iteration function |
//+------------------------------------------------------------------+
int start()
{
int i,k,counted_bars=IndicatorCounted();
double HH,LL,WBPma,Stdev,Bands;

if(Bars<=32) return(0);

//---- last counted bar will be recounted
int limit=Bars-counted_bars;
if(counted_bars>0) limit++;

for(i=0; i<limit-1; i++)
{
HH=High[Highest(NULL,0,MODE_HIGH,ShortPeriod,i)];
LL=Low[Lowest(NULL,0,MODE_LOW,ShortPeriod,i)];
WBP=(HH+LL+Close)/3;
}

for(i=0; i<limit; i++)
{
WBPma=iMAOnArray(WBP,Bars,34,0,MODE_SMA,i);
Stdev=iStdDevOnArray(WBP,Bars,34,MODE_SMA,0,i);
Bands=((WBP+2*Stdev-WBPma)/(4*Stdev))*4-2;
ExtMapBuffer1=0;
ExtMapBuffer2=0;
if (Bands>0){ExtMapBuffer1=Bands;}
if (Bands<0){ExtMapBuffer2=Bands;}
}

return(0);
}
//+------------------------------------------------------------------+



Please try to convert it to amibroker format.....will be very greatful

Regards
Anurag
 
#9
Thread starter Similar threads Forum Replies Date
J Day Trading 0
A Forex 12
W AmiBroker 0
N Swing Trading 1
S MetaTrader 6

Similar threads