hundredtoamillion

Kviateq - Session Pivots

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
版本注释:
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.
版本注释:
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
版本注释:
Disregard adding one minute to the session times. The script does it now automatically
版本注释:
Fixed the session times. They're now set to GMT
版本注释:
Added a few new functions and clean up some things
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?