Chris55 
Gold User, Member, TeleChart

Registered User 




Gender: 

Tuesday, June 14, 2016 
Saturday, October 20, 2018 10:53:44 AM 
266 [0.09% of all post / 0.31 posts per day] 

Sorry, I see you've taken that into account. Thanks for all your help. Chris

Thanks much Bruce,
I may have noticed something in your formula:
The Spread (BBBOT  EMA13 uses 0.2, 20 for the BB). However the Spread is the source of a 'second' BB which uses the different parameters 0.55 and 21.
It is within the bottom to the center line of this second BB that we are looking to find the EMA13, and if present, it should be lower today than 3 bars ago.
I'm seeing pretty consistent 0.2 bandwidth parameters?
Thanks,
Chris

Thanks Bruce, I understand now, had overlooked the + on the Bollinger formula.
Have another formula you might help me with:
I would like to stipulate in one PCF formula:
 Exponential Bollinger Bands (0.55, 21) are sourced from the spread BBBOT(0.2, 20)  XAVGC13
 There is an XAVGC13 below the center line and above the lower band of the exponential BB(0.55, 21)
 This XAVGC13 is lower today than it was 3 bars ago
Many thanks for your help, Bruce.
Chris

Bruce,
I've been looking at thos two formulas and can see that the Keltner Upper and Lower channels are specified by the +/ xxx ATRs.
What I don't see offhand is a differentiation of the BBTOP and BBBOT.
In condition #1 need the BBTOP to be below the KB Top, and in #2 the BBBOT to be above the KBBottom.
Is there a way to write the PCF using BBTOP(2,20), BBBOT(2,20), KCTOP(1.3,16) and KCBOTTOM(1.3,16)?
Thanks for your insight. Kind regards,
Chris

Thanks a lot Bruce, appreciate your help.

Thanks Bruce,
Any way I can tie these two together into one PCF? Using AND?
Kind regards,
Chris

Hi Bruce,
Right now I'm using two separate filters for my version of a (BB/KB) Squeeze:
1. The exponential BBTOP (20, 2) is below the exponential Keltner (16, 1.30) Top channel
2. The exponential BBBOT (20, 2) is above the exponential Keltner (16, 1.30) Bottom channel
I did these two by means of the "Create Condition" function on the chart.
I wondered whether you would code a PCF Condition formula for me which includes both setups
I outlined above?
Many thanks and kind regards,
Chris

Thanks much Bruce  it was a long time ago. Thanks for simplifying these PCFs.

Hi Bruce,
Some time ago you coded a PCF condition formula for finding the three smallest consecutive bar ranges within the last 30 days (or 20 business days), as follows:
MAXH3  MINL3 < MAXH3.1  MINL3.1 AND MAXH3  MINL3 < MAXH3.2  MINL3.2 AND MAXH3  MINL3 < MAXH3.3  MINL3.3 AND MAXH3  MINL3 < MAXH3.4  MINL3.4 AND MAXH3  MINL3 < MAXH3.5  MINL3.5 AND MAXH3  MINL3 < MAXH3.6  MINL3.6 AND MAXH3  MINL3 < MAXH3.7  MINL3.7 AND MAXH3  MINL3 < MAXH3.8  MINL3.8 AND MAXH3  MINL3 < MAXH3.9  MINL3.9 AND MAXH3  MINL3 < MAXH3.10  MINL3.10 AND MAXH3  MINL3 < MAXH3.11  MINL3.11 AND MAXH3  MINL3 < MAXH3.12  MINL3.12 AND MAXH3  MINL3 < MAXH3.13  MINL3.13 AND MAXH3  MINL3 < MAXH3.14  MINL3.14 AND MAXH3  MINL3 < MAXH3.15  MINL3.15 AND MAXH3  MINL3 < MAXH3.16  MINL3.16 AND MAXH3  MINL3 < MAXH3.17  MINL3.17 AND MAXH3  MINL3 < MAXH3.18  MINL3.18 AND MAXH3  MINL3 < MAXH3.19  MINL3.19 AND MAXH3  MINL3 < MAXH3.20  MINL3.20
I would like to adapt this formula to look for the four smallest consecutive range bars for the same period as above.
Many thanks and kind regards,
Chris

Thanks very much Bruce  I appreciate your help.

