Saturday, 9 November 2013

Amibroker AFL for Moving Average trading with buy sell signal

Today I am posting
another AFL used in Amibroker, that
could be used for trading based on moving average and longer time frame. The
period of moving average could be adjusted according to the users trading
strategy. I have used 5 and 20 moving averages as an example.Period 1 can be extended till 30 and the Period
2 can extend upto 200 maximum. These parameters are sufficient for any trader
to find the trend and do trading.

The Moving Average properties
offers a wide range starting from Simple
moving average (MA), Exponential
Moving Average(EMA), Double Exponential Moving Average (DMA), Triple
Exponential Moving Average (TEMA), Weighted Moving Average(WMA), Hull Moving
Average (HMA), Wilders Moving Average (WMA).Apart from these parameters, trading can also be done using Linear
Regression Lines.

In the properties window the user has to adjust the MAType I and
MAType 2 according to the table given below. Both MAType 1 and MAType 2 should
be the same number selected from the table given below.

No.1MA Moving
Average

No.2EMA Exponential
Moving Average

No.3DMA Double
Exponential Moving Average

No.4TEMA Triple
Exponential Moving Average

No.5WMA Weighted
Moving Average

No.6HMA Hull
Moving Average

No.7WMA Wilders
Moving Average

No.8Linear Regression Lines

Based on the settings the AFL generates buy sell signals.This
strategy, if wisely used can yield fruitful results. This is also useful in
deciding the trend of the market direction.

Google+ Followers

About Me

Disclaimer

Readers are advised that while the information herein is expressed in good faith, its accuracy cannot be always guaranteed. The the risk related with share market is always present. The views expressed in this blog are based on Technical analysis and it should not be construed as an offer for buy or sell. Anyone trading based on the recommendations will be doing so at their own risk and I am not responsible for any financial loss arising out of it.