OPEN-SOURCE SCRIPT

forex session - Opening-Range- Jayy

My first try on anything forex. Let me know if it needs adjustment.
This is Opening Range for forex
Targets set at 127% , 162%, 200 %, 262 %, 362%, 423%, 685%, 1109% and 1794%
of the selected opening range. You can adjust targets as you like in the dialogue box
362%, 423%, 685%, 1109% and 1794% levels will not show unless selected in the dialogue box.
Check any one (only one) of the time periods to change the opening range period to suit.
New York opens at 8:00 am to 5:00 pm EST (EDT)
Tokyo opens at 7:00 pm to 4:00 am EST (EDT)
Sydney opens at 5:00 pm to 2:00 am EST (EDT)
London opens at 3:00 am to 12:00 noon EST (EDT)
Because the actual forex day starts at 5pm it is not possible to plot some time periods correctly
ie try 120 minutes on the New York session. (Although this is not a problem with the other sessions)
If you keep to an hour or less and use periods that divide evenly into an hour all will be fine. All periods will actually work but will start looking a little funny.
No such problem occurs if you just use 5pm est to 5 pm est. other sessions could be put in as options or hard wired in with a few lines of script changes
There is an option in the dialogue box to display fib targets within Opening Range itself.
In the far past I adapted some original work created by Chris Moody from a 7-07-2014 script - there have been multiple adaptations . The script layout/ structure remains similar and messages regarding targets achieved (lines 224 - 230) are from the original script. In the original Chris gave Special Thanks To "The Coding Genius Behind The Curtain" - so hat tip to both.
FibonacciForexopeningrange

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Jayy

Disclaimer