Securities day session - Opening-Range- Jayy Opening Range (OR) for regular daytime session eg NYSE 0 930hrs to 1600 hrs.
This is not for Forex sessions which is addressed in a separate script.
This script fixes two issues:
syntax error when code compiles
flaky plotting of the opening range and targets that required page reloading
Additions:
In this code there are more more opening range time period choices at the bottom of the format dialogue box
Opening Range Targets:
Opening Range Targets as per Leaf_West
Targets are set at 127% , 162%, 200 %, 262 %, 362%, 423%, 685%, 1109% and 1794% and this can be traded intraday using methods described at charts-by-leaf.com I also have some Leaf West PDFs that describe how the targets are set and how they are traded. There are others that use opening range.
See the notes in the script for more detail.
My first opening range script originated from work done by Chris Moody. This script has changed significantly but there are small remnants of Chris Moody's script lurking within.
This script is available to all.
Cheers Jayy
Fib
Bollinger Bands Fibonacci ratiosThe Fibonacci Bollinger Bands indicator is based on the same principles as the standard Bollinger Bands indicator developed by John Bollinger. The Fibonacci Bollinger Bands indicator bases its upper and lower bands on volatility just like the Bollinger Bands indicator does, but instead of using standard deviation as the measure of volatility, a Wilders Smoothed ATR is used in its place.
The middle band is a moving average used to establish the intermediate-term trend. The 3 upper bands are constructed by using the Wilders Smoothed ATR and multiplying it by each of the Fibonacci factors (1.618, 2.618, and 4.236) and then adding the results to the middle band. The 3 lower bands are constructed in the same manner as the upper bands except their results are subtracted from the middle band.
Auto FibTook the code from LazyBears rsi-fib and made it so you could apply it to a chart. It plots fib levels between the high and low of a timeframe of your choosing. Seems to line up well with custom drawn fib levels.
Not sure if it's any better than just drawing the lines yourself, but whatever.