LazyBear

Indicators: Traders Dynamic Index, HLCTrends and Trix Ribbon

1) Trix Ribbon
===============================================================
This was built on request. Many Stock/FX traders overlay multiple Trix lines to form the ribbon, this indicator makes it easy.

Also, optionally this can plot a BollingerBand on Trix_1.

More info on Trix:
stockcharts.com...school/doku.php?id=chart_s...

2) High/Low/Close Trend Indicator
===============================================================
Simple indicator using EMAs of H/L/C. If blue line is above the red line, the trend is up, else down. Keep an eye on the zero line too.

3) Traders Dynamic Index
===============================================================
This hybrid indicator helps to decipher and monitor market conditions related to trend direction, market strength, and market volatility.

TDI has the following components:
* Green line = RSI Price line
* Red line = Trade Signal line
* Blue lines = Volatility Bands
* Orange line = Market Base Line

Trend Direction - Immediate and Overall:
----------------------------------------------------
* Immediate = Green over Red...price action is moving up.
Red over Green...price action is moving down.
* Overall = Orange line trends up and down generally between the lines 32 & 68. Watch for Orange line to bounces off these lines for market reversal. Trade long when price is above the Orange line, and trade short when price is below.

Market Strength & Volatility - Immediate and Overall:
----------------------------------------------------
* Immediate = Green Line - Strong = Steep slope up or down.
Weak = Moderate to Flat slope.

* Overall = Blue Lines - When expanding, market is strong and trending. When constricting, market is weak and in a range. When the Blue lines are extremely tight in a narrow range, expect an economic announcement or other market condition to spike the market.

Entry conditions:
----------------------------------------------------
* Scalping - Long = Green over Red,
Short = Red over Green
* Active - Long = Green over Red & Orange lines
Short = Red over Green & Orange lines
* Moderate - Long = Green over Red, Orange, & 50 lines
Short= Red over Green, Green below Orange & 50 line

Exit conditions:
----------------------------------------------------
If Green crosses either Blue lines, consider exiting when the Green line crosses back over the Blue line.

* Long = Green crosses below Red
* Short = Green crosses above Red

More info on a complete system using TDI:
www.forexmt4.com/_MT...s Dynamics/TDI_1.pdf

List of my free indicators: bit.ly/1LQaPK8
List of my indicators at Appstore: blog.tradingview.com/?p=970
Mã nguồn mở

Với tinh thần TradingView, tác giả của tập lệnh này đã xuất bản nó dưới dạng mã nguồn mở, vì vậy các nhà giao dịch có thể hiểu và xác minh nó. Chúc mừng tác giả! Bạn có thể sử dụng mã này miễn phí, nhưng việc sử dụng lại mã này trong một ấn phẩm chịu sự điều chỉnh của Nội quy nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?
//
// @author LazyBear
// If you use this code in its orignal/modified form, do drop me a note. 
// 
study("Traders Dynamic Index [LazyBear]", shorttitle="TDI_LB")
lengthrsi=input(13)
src=close
lengthband=input(34)
lengthrsipl=input(2)
lengthtradesl=input(7)

r=rsi(src, lengthrsi)
ma=sma(r,lengthband)
offs=(1.6185 * stdev(r, lengthband))
up=ma+offs
dn=ma-offs
mid=(up+dn)/2
mab=sma(r, lengthrsipl)
mbb=sma(r, lengthtradesl)

hline(32)
hline(68)
upl=plot(up, color=blue)
dnl=plot(dn, color=blue)
midl=plot(mid, color=orange, linewidth=2)
fill(upl,midl, red, transp=90)
fill(midl, dnl, green, transp=90)
plot(mab, color=green, linewidth=2)
plot(mbb, color=red, linewidth=2)