that did it Bruce thank you very much  you are amazing at these pdfs
Don

i look at spy aapl nflx and some other l top stocks  and it is just the last bar in pre market 9:930 i have been doing it manually drawing the line but thought it could be done by a pcf

thx Bruce  the high but that got me the high of the 8:309:00 bar  and the low was from the 8:00  8:30 bar

the stocks i watch all have 10 30 minute bars from 4:30 to 9:30  so is that possible ?

ok thats true for stocks = what about the last premarket bar from 9:00 to 9:30 the high and low of that bar as 2 horizontal lines
Don

Ok thank you Bruce = was trying to have a pcf% of avg(h+l+c)/3 greater than keltner upper or lower channel 8 and muliplier 1  so it can be seen on premarket data
Don

can a scan be put on the chart to see how it worked in the past 

Hi Bruce  I really like this solution for 1st 30 min high low  I was wondering if its possible to get the :4:30 am  9:30am high low as a range  as i have premarket data on chart  also can the line be extended to end of the day
Don

QUOTE (Bruce_L)
Please try the following Indicator Formula for your stochastic. It should max out at 20 bars.
ABS(STOC14.3.1 > AVG(STOC14.3.1,3)) * (ABS(STOC14.3.2 <= AVG(STOC14.3.2,3)) + ABS(STOC14.3.2 > AVG(STOC14.3.2,3)) * (ABS(STOC14.3.3 <= AVG(STOC14.3.3,3)) * 2 + ABS(STOC14.3.3 > AVG(STOC14.3.3,3)) * (ABS(STOC14.3.4 <= AVG(STOC14.3.4,3)) * 3 + ABS(STOC14.3.4 > AVG(STOC14.3.4,3)) * (ABS(STOC14.3.5 <= AVG(STOC14.3.5,3)) * 4 + ABS(STOC14.3.5 > AVG(STOC14.3.5,3)) * (ABS(STOC14.3.6 <= AVG(STOC14.3.6,3)) * 5 + ABS(STOC14.3.6 > AVG(STOC14.3.6,3)) * (ABS(STOC14.3.7 <= AVG(STOC14.3.7,3)) * 6 + ABS(STOC14.3.7 > AVG(STOC14.3.7,3)) * (ABS(STOC14.3.8 <= AVG(STOC14.3.8,3)) * 7 + ABS(STOC14.3.8 > AVG(STOC14.3.8,3)) * (ABS(STOC14.3.9 <= AVG(STOC14.3.9,3)) * 8 + ABS(STOC14.3.9 > AVG(STOC14.3.9,3)) * (ABS(STOC14.3.10 <= AVG(STOC14.3.10,3)) * 9 + ABS(STOC14.3.10 > AVG(STOC14.3.10,3)) * (ABS(STOC14.3.11 <= AVG(STOC14.3.11,3)) * 10 + ABS(STOC14.3.11 > AVG(STOC14.3.11,3)) * (ABS(STOC14.3.12 <= AVG(STOC14.3.12,3)) * 11 + ABS(STOC14.3.12 > AVG(STOC14.3.12,3)) * (ABS(STOC14.3.13 <= AVG(STOC14.3.13,3)) * 12 + ABS(STOC14.3.13 > AVG(STOC14.3.13,3)) * (ABS(STOC14.3.14 <= AVG(STOC14.3.14,3)) * 13 + ABS(STOC14.3.14 > AVG(STOC14.3.14,3)) * (ABS(STOC14.3.15 <= AVG(STOC14.3.15,3)) * 14 + ABS(STOC14.3.15 > AVG(STOC14.3.15,3)) * (ABS(STOC14.3.16 <= AVG(STOC14.3.16,3)) * 15 + ABS(STOC14.3.16 > AVG(STOC14.3.16,3)) * (ABS(STOC14.3.17 <= AVG(STOC14.3.17,3)) * 16 + ABS(STOC14.3.17 > AVG(STOC14.3.17,3)) * (ABS(STOC14.3.18 <= AVG(STOC14.3.18,3)) * 17 + ABS(STOC14.3.18 > AVG(STOC14.3.18,3)) * (ABS(STOC14.3.19 <= AVG(STOC14.3.19,3)) * 18 + ABS(STOC14.3.19 > AVG(STOC14.3.19,3)) * (ABS(STOC14.3.20 <= AVG(STOC14.3.20,3)) * 19 + ABS(STOC14.3.20 > AVG(STOC14.3.20,3)) * 20)))))))))))))))))))
Bruce
i jut saw this pcf on stoch up move great formula u made  would i just reverse the sign for the same counting of bars in d crossing over k
