loxx

Abraham Trend [Loxx]

loxx Updated   
Indicator based on "Trading the Trend" article by Andrew Abraham published in TASC.

There has been a lot of "reincarnations" and renamed versions of this system, but since the indicator is quite good, it seemed useful to create the original version.

What is the Abraham Trend?
New traders quickly become familiar with two adages: "The trend is your friend," and "Let your profits run and cut your losses." Many of us, however, have learned the hard way that these things are easier said than done. Why is that? One reason is lack of recognition, since the trend itself is rarely clarified and defined, let alone where it starts and ends. So we need a clear explication of what a trend is as well as where its beginning and its end are.

SIMPLE ENOUGH

Simply, if the trend is considered up, then the trend of prices are composed of upwaves and the downwaves are countertrend movements. Downward trends are the opposite, seen as downwaves with countertrend upwaves. Using several tools and functions, we can design a quantifiable approach to defining these waves. My favorite is the volatility indicator, which is a formula that measures the market volatility by plotting a smoothed average of the true range. The true range indicator originates from the work of J. Welles Wilder Jr. from his New Concepts in Technical Trading Systems. The definition of the true range is defined as the largest of the following:

  • The difference between today's high and today's low
  • The difference between today's high and yesterday's close, or
  • The difference between today's low and yesterday's close.
  • The calculation uses a 21-period weighted average of the true range, giving higher weight to the true range of the most recent bar. The final value is then multiplied by 3.

The volatility indicator is used as a stop-and-reverse method. Let's say the market has been rising, then the volatility indicator is calculated each day and subtracted from the highest close during the rising market. The highest close is always used, even if there has been a series of lower closes since the highest close. If the market closes below the volatility indicator, then for the next day, the current reading of the volatility indicator is added to the lowest close. This step is followed each day until the market closes above the trailing volatility indicator.

We now have a definition of the trend. An upward trend exists as long as the volatility indicator is below the market and a downtrend is in force if the volatility indicator is above the market.
Release Notes:
Fixed UI issue.

Public Telegram Group, t.me/algxtrading_public

VIP Membership Info: www.patreon.com/algxtrading/membership
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?