polyclick

Bill Williams Divergent Bars

Bill William Bull/Bear divergent bars
See: Book, Trading Chaos by Bill Williams
Coded by polyclick

A bullish (green) divergent bar, signals a trend switch from bear -> bull
-> The current bar has a lower low than the previous bar, but closes in the upper half of the candle.
-> This means the bulls are pushing from below and are trying to take over, potentially resulting in a trend switch to bullish .
-> We also check if this bar is below the three alligator lines to avoid false positives.

A bearish (red) divergent bar, signals a trend switch from bull -> bear
-> The current bar has a higher high than the previous bar, but closes in the lower half of the candle.
-> This means the bears are pushing the price down and are taking over, potentially resulting in a trend switch to bearish .
-> We also check if this bar is above the three alligator lines to avoid false positives.

Best used in combination with the Bill Williams Alligator indicator.
Gỡ bỏ khỏi Script Ưa thích Thêm vào Script Ưa thích
Some stuff I noticed while using this indicator which are -IMPORTANT- to know.
Works best on higher timeframes (1H, 4H, 1D, ...).
It's important you look for, what Bill Williams calls, "angularation" before using the signal.

Angularation, for full explaination, check his book: "Trading Chaos".

Quick giveaway: draw an average line through the last few prices, draw an average line through the green/red line of the alligator.
When a divergent bar pops up when the angle between those 2 lines is very big, then the trend is about to switch.

So, what we want is: a divergent bar popping up from a big distance to the alligator. A correction, aka: trend switch will occur to go back to the alligator.
Then, for an extra confirmation, use the awesome oscillator.

For more insights, read his book, it's hard to explain it all in this description :D
+2 Phản hồi
Hi Nice code. I can't transpose it to prorealtime. Can you give a hand ?
Phản hồi
polyclick robinstephane
@robinstephane, sorry I don't think I understand what you mean. You need some explaination?
Phản hồi
robinstephane polyclick
@polyclick, No thanks. I am just trying to make this code work on prorealtime.
Phản hồi
is there a way to make this in to a mtf indecater ?
Phản hồi
@bossx, I have noooooo idea :D it's my first indicator so I'll have to look into this. Don't really know wether this is going to be beneficial tho.
Phản hồi
Trang chủ Bộ lọc cổ phiếu Bộ lọc Forex Bộ lọc Tiền điện tử Lịch kinh tế Cách thức hoạt động Tính năng Biểu đồ Giá Quy tắc Áp dụng Người điều hành Giải pháp cho Website & Nhà môi giới Widget Giải pháp biểu đồ Nhận trợ giúp Yêu cầu tính năng Blog & Tin tức Câu hỏi thường gặp Wiki Twitter
Hồ sơ Tùy chỉnh Hồ sơ Tài khoản và Thanh toán Nhận trợ giúp Các ý tưởng đã đăng Người theo dõi Đang theo dõi Tin nhắn riêng Trò chuyện Đăng xuất