hundredtoamillion

Kviateq - Session Pivots

hundredtoamillion ที่อัปเดต:   
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 อ่านเพิ่มเติมที่ เงื่อนไขการใช้บริการ

ต้องการที่จะใช้สคริปต์นี้บนชาร์ตใช่ไหม?