Hi Ben / @korygill , Talented Team,

X / 2 = Y

Prior Weekly High - Y = New upper weekly horizontal line

Prior weekly Low + Y = New lower Weekly horizontal line

Last weeks range was 9.07. The high was 105.84 and the low 96.77. So..

[(9.07x0.775)-9.07=2.04

2.04/2=1.02

105.84-1.02=

96.77+1.02=

- Line in the sand (LIS). I want an aqua colored line drawn using the closing price of the first 5 minute candle in after hours trading (the one from 16:00-16:05). Wherever this candle closes, a horizontal line is drawn in aqua that shows LIS and Price. Based on SHAK today, that line would be at 102.66. No matter what timeframe we move to I want this line to be permanent for the next trading day only. Each day a new line is generated and we don’t see any prior lines.
- For weekly range lines. I want to a yellow horizontal line drawn from Sunday to Saturday of the next week based on the following. For SHAK this week, the lines would be at
**104.82 and 97.79**based on last weeks numbers.

X / 2 = Y

Prior Weekly High - Y = New upper weekly horizontal line

Prior weekly Low + Y = New lower Weekly horizontal line

Last weeks range was 9.07. The high was 105.84 and the low 96.77. So..

[(9.07x0.775)-9.07=2.04

2.04/2=1.02

105.84-1.02=

**104.82**96.77+1.02=

**97.79**- If we can figure this first one out, then the coding for the monthly lines will be easy. The multiplier for monthly is 0.784 and just referencing prior monthly ranges and high/lows. For SHAK, the lines would be at 97.82 and 75.52 based on last months numbers.
- (Prior Monthly Range x 0.784) - Prior Range = X

X / 2 = Y

Prior Monthly High - Y = New upper Monthly horizontal line in pink - Prior Monthly Low + Y = New lower Monthly horizontal line in pink
- For yearly, The multiplier for Yearly is 0.774 and just referencing prior yearly ranges and high/lows. For SHAK, the lines would be at 64.99 and 41.71 based on last years numbers.

- (Prior Yearly Range x 0.774) - Prior Range = X

X / 2 = Y

Prior Yearly High - Y = New upper Yearly horizontal line in blue - Prior Yearly Low + Y = New lower Yearly horizontal line in blue

Last edited: