Gerry![]() Veteran ![]() ![]() ![]() ![]() ![]() Posts: 277 Joined: 12/24/2003 Location: Lewiston, Maine 04240 ![]() | Hi Jim, Here is what I have been trying and am not getting any results ? For shorts, this identifies the run of U+L up's with the most recent bar's Upper having just turned down ... -Sum( (Bol_Upper(9,1.2)[1] > Bol_Upper(9,1.2)[2] and Bol_Lower(9,1.2)[1] > Bol_Lower(9,1.2)[2]), 4) = 4 and Bol_Upper(9,1.2) < Bol_Upper(9,1.2)[1] For longs, this identifies the run of U+L dn's with the most recent bar's Lower having just turned up ... -Sum( (Bol_Upper(9,1.2)[1] < Bol_Upper(9,1.2)[2] and Bol_Lower(9,1.2)[1] < Bol_Lower(9,1.2)[2]), 4) = 4 and Bol_Lower(9,1.2) > Bol_Lower(9,1.2)[1] I'm not clear how you want to integrate a squeeze with this, so I'll leave that to you ... and btw I have not tested this re syntax or validity, but it's pretty straightforward so hopefully you're good to go. Jim, did you get a chance to read my last post where I indicate in more details what it is that I am looking for. I think that others would enjoy this setup once we have it going. Thanks again, Gerry |