Registered User Joined: 1/3/2017 Posts: 4
|
Hello Bruce,
I would appreciate if you could guide me to write a PCF for the following
1) Last 5 days close within 2% of each other (looking for a tight action)
2) Low of the last 2, 3, 4, or 5 days within 1-2%
3) Today's close at the highs or within 2% of the high today
Thanks,
SJ
|
Registered User Joined: 9/17/2010 Posts: 484
|
To get you started from http://forums.worden.com/default.aspx?g=posts&t=68321
"The following condition formula is an example checking for the entire range of price to be less than 3% over 15 bars (about 3 weeks in a daily time frame).
MAXH15 <= 1.03 * MINL15
The following condition formula checks for the closing prices to be in a 2% range over 15 bars.
MAXC15 <= 1.02 * MINC15"
so 5 days within 2%
MAXC5 <= 1.02 * MINC5
The lows within 2%
MAXLx <= 1.02 * MINLx and last
H<C*1.02
|
Registered User Joined: 1/3/2017 Posts: 4
|
Thank You bcochrane...much appreciated!
|