Professional Documents
Culture Documents
Now let us take look at my very first workable trading system. Of course I have come a long way
from there. This system though very simple did provide many profitable trades and I hope will
help the beginners to get some insight and help them in their path towards their own profitable
trading system. Step by step we will cover more advanced systems, Indicator etc. This system,
which I fondly called MABIUTS (Moving Average Based Intermediate Uptrend System. Forgive
my penchant for funny names) will be a good starting point for the thread. I will talk about the
setup and entry only. I will not cover the position sizing and money management part here
because each individual has his flavor of MM.
It was a time when I was trying the grasp the intricacies of Technical Analysis. I was looking at
various Indicators without really getting the grasp of their working and drawbacks. The
indicators gave conflicting signals leaving thoroughly exasperated.
Finally I decided to make a system, which will be a very simple one yet gives me reasonable
profits. I started experimenting with simple moving average cross over systems, but was quite
unhappy with the frequent whipsaws. Then I decided to approach the problem in an
unconventional way different from the normal use of Moving averages. I listed the objective as
follows
With these set of objective I set out to make my system. First step was to identify an Uptrend
using Moving averages. That time I was very familiar with the 3-13-39 system from the great
thread by Traderji. After some experimentation I decided to use just the 13 day EMA with a
signal line of a 9 day EMA of the 13 day EMA.
Now what about the entry? I wanted to enter on confirmation of starting of Intermediate Up
trend. Now my Pivot Analysis studies (Some of you may be familiar with my thread on pivots)
came to my aid. So the entry would be when the price crosses the previous High Pivot. (The
previous peak)
I kept the exit also very simple. When the he EMA (13) cross below the signal line, I will exit the
trade. (Trailing stops etc were a far cry for me those days)
It was a simple and elementary Trading system. But worked well during the bull market. It
caught on most of the intermediate up trends and kept one on the right side most of the times. It
also gave signals for entry or adding on pullbacks in an uptrend. It identified most sideways
movements. It was good for safe, stress free positional trades.
1 of 4
Experiments in Technical Analysis Karthik Marar
Of course It had its share of drawbacks. Some entries were signaled at the top which proved to
be loss making. The system also was unable to handle big drops.
Overall it was very satisfactory system in a bull market and of course in a bear market the system
will fully keep one aside. The system with its simplicity may be a good one for beginners.
I had implemented the same in Metastock and has now recreated the same in Amibroker. It has
the following features.
Buy and Sell indications – Arrow and “B/S” Texts. Amibroker is more flexible hence has the
price also.
Chart Bars color coded with green for Bullish, Red for Bearish and blue during pullbacks and
sideways movements. The blue indication puts one on alert.
2 of 4
Experiments in Technical Analysis Karthik Marar
Trend
Highlights
Symbols
Note: the Formula uses the Peak function. The Peak function used the zigzag function, which is
based on the % move. One can adjust the % value to suit the volatility of a particular stock to get
better results.
3 of 4
Experiments in Technical Analysis Karthik Marar
Amibroket AFL
_SECTION_BEGIN("Price");
SetChartOptions(0,chartShowArrows|chartShowDates);
_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g
(%.1f%%) Vol " +WriteVal( V, 1.0 ) +" {{VALUES}}", O, H, L, C, SelectedValue( ROC( C,
1 )) ));
Buy=EMA(C,13)>EMA(EMA(C,13),9) AND Cross (C,Peak(C,5,1));
Sell=Cross (EMA(EMA(C,13),9),EMA(C,13));
MYcolor = IIf( EMA(C,13)>EMA(EMA(C,13),9) AND C>Peak(C,2,1), colorGreen,
IIf(EMA(C,13)>EMA(EMA(C,13),9) AND C<Peak(C,2,1),colorBlue, colorOrange ));
PlotOHLC( Open, High, Low, Close, "", Mycolor, styleBar );
shape = Buy * shapeUpArrow + Sell * shapeDownArrow;
PlotShapes( shape, IIf( Buy, colorGreen, colorRed ),0, IIf( Buy, Low, High ) );
GraphXSpace = 5;
dist = 1.5*ATR(10);
for( i = 0; i < BarCount; i++ )
{
if( Buy[i] ) PlotText( "Buy\n@" + C[ i ], i, L[ i ]-dist[i], colorGreen );
if( Sell[i] ) PlotText( "Sell\n@" + C[ i ], i, H[ i ]+dist[i], colorRed);
}
_SECTION_END();
4 of 4