hundredtoamillion

Kviateq - Session Pivots

hundredtoamillion Cập nhật   
First of all, I must say that this script wouldn't be possible without the help of one of the best script developers on TradingView - @ahancock (thanks a bunch for your help)

This script draws opening ranges for each of the sessions - Tokyo, London and New York and plots session high, low and pivot range of the previous session.
So if you trade London session - you would only take longs if we're above the Tokyo pivot range and vice versa for shorts.
Often times previous session's highs act as resistance and lows act as support, so careful trading around those levels.

It is obviously meant for lower timeframes, since each of the sessions only lasts a few hours.
Default settings are set to the exchange that I use and my timezone (GMT +7), so you might need to adjust the settings accordingly.

Tokyo - 12am GMT
London - 7am GMT
New York - 12pm GMT
Phát hành các Ghi chú:
There was a bit of a confusion about the script and also I made a mistake but naming the pivots wrong.
This update should solve this.

Basically now when it says "London Pivot" - it's a pivot that appears during the London session, however it's drawn using values of the previous (Tokyo) session. Similarly - the New York pivot range displays during New York session, however it uses London's High, Low and Close to determine the range.

I hope this update solves the confusion that might have been caused by me not triple checking the code before publishing it.
Phát hành các Ghi chú:
New version of the script!

Upon reviewing the script I noticed how the pivot ranges were calculated using the time right before the opening of the new session, rather than previous session's time. It wasn't an issue if the current session began right when the previous session ended, however if there was a gap - it resulted in inaccurate pivot ranges.
That's already fixed.

I also color coded previous session's highest highs and lows and extended them using dotted lines.

I changed the opening range to one hour. For some reason the results are also better if you add 1 minute to session times (1601 instead of 1600).

Enjoy
Phát hành các Ghi chú:
Disregard adding one minute to the session times. The script does it now automatically
Phát hành các Ghi chú:
Fixed the session times. They're now set to GMT
Phát hành các Ghi chú:
Added a few new functions and clean up some things
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 đồ?