TradingView
meomeo105
2022年6月1日上午10點22分

Gann Swing Chart [One-Bar] 

GoldOANDA

描述

"Gann used three types of swings chart.
One-Bar Swing Chart (1-Bar Swing Chart): The One-Bar Swing Chart, or Minor Trend Chart, follows the one-bar movements of the market. From a low price, each time the market makes a higher-high than the previous bar, a One-Bar trend line moves up from the recent low to the new high. This action makes the previous low price a One-Bar bottom. From a high price each time the market makes a lower-low than the previous bar, a One-Bar swing line moves down from the recent high to the new low. This action makes the previous high price a One-Bar top.
The combination of One-Bar tops and bottoms forms the One-Bar trend indicator chart. The crossing of a One-Bar swing top changes the One-Bar trend to up. The penetration of a One-Bar swing bottom changes the One-Bar trend to down."

This Indicator only show Gann Swing Chart use One-Bar type.

發布通知

Not change swing in Insidebar
www..tradingview.com/x/ebyDRWgo/

發布通知

Fix Bug

發布通知

Add Funtion ChoCh
(Merge Gann Swing Chart vs ChoCh Gann Swing Chart (www..tradingview.com/script/08sJYXI8-ChoCh-Gann-Swing-Chart-One-Bar/))

發布通知

Fix Bug

發布通知

.

發布通知

Add features: Users can choose the Time Frame or Time Frame to choose from each step available.

發布通知

Add Step

發布通知

Fix bug

發布通知

.

發布通知

Update

發布通知

.

發布通知

.

發布通知

Add Custom list auto change TimeFrame

發布通知

Add feature show more Gann
TradingView only allows display maximum 500 lines in an indicator.
If you want to display more line Gann, you need add once more times indicator.
For example:
Add indicator input value 'Show more Line' = 1.
Add indicator once again input value 'Show more Line' = 2.
Add indicator once again input value 'Show more Line' = 3.\n.....

發布通知

Delete unnecessary features. If you want to use the old feature, please see revision of the source code and create the script to use.

發布通知

Fix error Outside bar

發布通知

Fix error OutSide Bar

發布通知

Fix error Multi TimeFrame

發布通知

.

發布通知

Fix bug realtime

發布通知

Phiên bản version 2 mới cập nhật bị Tradingview xóa bởi vì không viết tiếng anh =))). Nên mình cập nhật lại phiên bản 2 ngay tại phiên bản 1 này.

發布通知

Cập nhật ảnh bìa

發布通知

Thêm lựa chọn vẽ sóng Inside Bar và sửa 1 lỗi nhỏ ít gặp.

發布通知

Xóa những line trùng nhau khi bật hiển thị cả sóng Gann và Swing Gann.

發布通知

Hình như tradingview sửa gì trong framework code nên bị lỗi mình đã sửa lại.

發布通知

Cập nhật phiên bản 3.0:
- Phiên bản này thuật toán đã được thay đổi, code dễ hiểu và chạy nhẹ hơn code cũ.
- Phiên bản này sẽ cho phép hiển thị sóng dưới dạng sóng chồng sóng. Giải thích dễ hiểu, phiên bản trước sóng Gann và Swing of Gann chỉ được vẽ dựa trên nến. Nhưng trong phiên bản này chúng ta sẽ hiển thị thêm 2 lớp sóng nữa.
Chi tiết về các lớp sóng :
1. Lớp sóng F1(Tương tự như phiên bản trước) : Sóng Gann được vẽ dựa theo nến. Sóng SGann(Swing of Gann) được vẽ dựa trên sóng Gann của lớp sóng F1.
2. Lớp sóng F2: Là sóng Gann được vẽ dựa trên sóng SGann của lớp sóng F1. Sóng SGann được vẽ dựa trên sóng Gann của lớp sóng F2.
Tương tự cho lớp sóng F2,...,Fn. Mọi người muốn hiển thị thêm nhiều lớp sóng thì có thể thêm các lớp sóng trong hàm f_CalculateAndDrawFn1(copy và chỉnh sửa sóng dòng cuối trong hàm để thêm được 1 lớp sóng).

Nếu a,e không thích phiên bản 3.0 mới này thì có thể copy code phiên bản cũ. Sắp tới mình cũng sẽ code thêm trên MT5 vì trên Mt5 sẽ hiển thị được hết sóng không bị giới hạn như trên tradingview, sau khi hoàn thành mình sẽ comment link indicator cho a,e sau.
Cảm ơn a,e đã thích indicator này.

發布通知

MT5 version : www.mql5 com/en/market/product/112401
評論
vietthien2
Thank you for your generosity!
Cam on nha!
Nayanstock
@meomeo105

the swing of gann is coming very late.
In a 5 min window when the swing line just pointed above ( day high ),i have immediately shorted the index and also it gave profit.But after that it started moving upwards and where it started it just came to day high . Now the day high and open both are same. and immediately the Gann swing line broke into two pieces and one is showing downside and the other above side,the zigzag window.
My question is when it came down why did not it make a low line there so that I can take the uptrend ?
Duy_Nguyen56
Cảm ơn bác đã chia sẻ code về phương pháp của bác OTL,
hoakhanh1976
Thank you for your beautiful indicator.
baquyen
Comment khong cho viet tieng viet. Xin loi bac.
Co cach nao noi dai de hien thi chart qua khu duoc khong bac. Khung m1 chi hien thi duoc 1 ngay, cac khung lon hon thi hien thi duoc dai hon.
Cam on bac
meomeo105
@baquyen, Do tradingview khong cho vẽ quá nhiều nên chỉ có cách sử dụng backtest de hien thi qua khu hoac them indicator nhieu lan moi mot indicator them vao chi bat hien thi sáng gann hoặc sgan cua mot loại f1 hoac f2 hoac f3. Còn muon hien thi nhieu toan bo chảt thi su dụng tren MT5, mình co code cho MT5 roi nhe. Link : www.mql5 com/en/market/product/112401
baquyen
@meomeo105, Cam on Bac, co indi cua Bac doc song de hon han. Minh co cai tren MT5 roi thay cung de dung. hieu duoc het song Gan + hieu nen nua thi bat dinh day de hon nhieu . Thanks Bac, Chuc Bac luon trade tot.
Pro_Trader
👏👏👏👏👏
Trieuvii
Cam on anh, Indi nay kha tot de minh co the trade theo cau truc. Neu duoc anh co the them text the hien day hoac dinh gia tri khi nen dong cua duoc khong a?
cryptonios
the new indicator is better, i still believe that a candle that forms a swing high and swing low simultaneously should not be ingored or at least an option for it,
other then that much respect for this one
更多