OPEN-SOURCE SCRIPT
Updated

Fibonacci HH LL TRAMA Band

12 836
LuxAlgo's Trend Moving Adaptive Moving Average was used as a reference to create bands by reading the highest and lowest prices of past bars based on Fibonacci numbers and then multiplying them by the Fibonacci ratio.

LuxAlgo/https://jp.tradingview.com/script/p8wGCPi6-Trend-Regularity-Adaptive-Moving-Average- LuxAlgo/


In particular, the so-called TRAMA is characterized by its adaptation to the average of the highest and lowest prices over a specific period of time and is used to identify support/resistance.

In order to apply this feature to the maximum extent possible, I used the high or low prices as the source of input, rather than the closing price.
For example,
Pine Script®
src = high

not original like
Pine Script®
src = close


In addition, I created 6 levels by multiplying the Fibonacci ratio
Pine Script®
//Midline mah = ama1 mal = ama2 m = (mah + mal)/2 //Half Mean Range dist = (mah - mal)/2 //Levels h6 = m + dist * 11.089 h5 = m + dist * 6.857 h4 = m + dist * 4.235 h3 = m + dist * 2.618 h2 = m + dist * 1.618 h1 = m + dist * 0.618 l1 = m - dist * 0.618 l2 = m - dist * 1.618 l3 = m - dist * 2.618 l4 = m - dist * 4.235 l5 = m - dist * 6.857 l6 = m - dist * 11.089



If you want to use it for scalping, such as 15 minutes, you can include Fibonacci numbers such as 21,34,55 for a quick reaction type to detect the trend. Also, by including Fibonacci numbers such as 89,144,233, you can see where you stand in the larger trend. Some examples are included below.

For Investors
BTCUSDT 1day Chart Fibonacci number "55"
snapshot

For Daytraders
BTCUSDT 4hour Chart Fibonacci number "34"
snapshot

For Scalpers
BTCUSDT 15min Chart Fibonacci number "55"
snapshot

BTCUSDT 15min Chart Fibonacci number "89"
snapshot

BTCUSDT 15min Chart Fibonacci number "233"
snapshot

Fibonacci numbers are 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, etc.,

Fibonacci ratios are 0.618, 1.618, 2.618, 4.236, 6.854, 11.089, etc.,
Release Notes
updated version6

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.