Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Profile: rdhtci
About
User Name: rdhtci
Groups: Gold User, Member, Platinum User, TeleChart
Rank: Registered User
Real Name:
Location
Occupation:
Interests:
Gender: Unsure
Statistics
Joined: Monday, July 23, 2007
Last Visit: Tuesday, August 1, 2017 3:41:06 PM
Number of Posts: 20
[0.01% of all post / 0.00 posts per day]
Avatar
Last 10 Posts
Topic: Wide range days and narrow range days -- PCFs
Posted: Tuesday, July 31, 2007 5:06:35 PM
PS -- you guys do a great job...
Topic: Wide range days and narrow range days -- PCFs
Posted: Tuesday, July 31, 2007 5:05:38 PM
OK, I've updated again and it is running properly.

Thanks, Craig and Bruce, for the help.

Bob
Topic: Wide range days and narrow range days -- PCFs
Posted: Tuesday, July 31, 2007 4:59:09 PM
should read 'update was done...'
Topic: Wide range days and narrow range days -- PCFs
Posted: Tuesday, July 31, 2007 4:58:13 PM
Craig,

Thanks for the help, but the update was down when I closed and re-opened as above -- I have also updated manually again to be certain, but it is visually obvious that the day matching the criteria was yesterday...

Thanks

Bob
Topic: Wide range days and narrow range days -- PCFs
Posted: Tuesday, July 31, 2007 4:54:07 PM
...PS ...this is still happening after the market close, after I have closed and re-opened TC so that today should be the last day in the database.

The criteria are still being evaluated on yesterday

Bob
Topic: Wide range days and narrow range days -- PCFs
Posted: Tuesday, July 31, 2007 4:50:44 PM
Hi,

I have a problem with running this in an EasyScan.

Using your formula below for
'Maximum Range for Last 8-Periods', I added '(H - L)>=' to the front to make the condition true where today's range is greater than or equal to the largest range of the last 8 days. Like this:

-----------------

(H - L)>=(H - L + H1 - L1 + ABS(H - L - H1 + L1 ) + H2 - L2 + H3 - L3 + ABS(H2 - L2 - H3 + L3 ) + ABS(H - L + H1 - L1 + ABS(H - L - H1 + L1 ) - H2 + L2 - H3 + L3 - ABS(H2 - L2 - H3 + L3 )) + H4 - L4 + H5 - L5 + ABS(H4 - L4 - H5 + L5 ) + H6 - L6 + H7 - L7 + ABS(H6 - L6 - H7 + L7 ) + ABS(H4 - L4 + H5 - L5 + ABS(H4 - L4 - H5 + L5 ) - H6 + L6 - H7 + L7 - ABS(H6 - L6 - H7 + L7 )) + ABS(H - L + H1 - L1 + ABS(H - L - H1 + L1 ) + H2 - L2 + H3 - L3 + ABS(H2 - L2 - H3 + L3 ) + ABS(H - L + H1 - L1 + ABS(H - L - H1 + L1 ) - H2 + L2 - H3 + L3 - ABS(H2 - L2 - H3 + L3 )) - H4 + L4 - H5 + L5 - ABS(H4 - L4 - H5 + L5 ) - H6 + L6 - H7 + L7 - ABS(H6 - L6 - H7 + L7 ) - ABS(H4 - L4 + H5 - L5 + ABS(H4 - L4 - H5 + L5 ) - H6 + L6 - H7 + L7 - ABS(H6 - L6 - H7 + L7 )))) / 8

--------------

The problem is, this is returning items where the condition was true yesterday, instead of today.

I am running this in TeleChart Platinum, and the top bar is showing "Streaming Real Time"

Looking for a solution...
Thanks,

Bob
Topic: Wide range days and narrow range days -- PCFs
Posted: Monday, July 30, 2007 3:03:33 PM
Thanks, Bruce, that clarifies it perfectly.

Bob
Topic: Wide range days and narrow range days -- PCFs
Posted: Monday, July 30, 2007 1:41:55 PM
Thanks Bruce,

I'm not far enough along with Blocks to immdiately understand how to do that, I'll come back to it.

In the meantime, I am confused ref the implementation of your instructions at the 'Min Max PCFs' thread --
the instruction says:
Replace All PCF1 with ......
Replace All PCF2 with ......


Taking the first block:

(PCF1 + PCF2 - ABS(PCF1 - (PCF2))

in my range calcuation which you did above, you replace 'PCF1' with 'H - L' and you replace 'PCF2' with 'H1 - L1'

your implementation shows:

(H - L + H1 - L1 - ABS(H - L - H1 + L1 )

what puzzles me is that the first instance of 'PCF2' was replaced with 'H1 - L1' (note MINUS) but the second instance of 'PCF2' was replaced with 'H1 + L1' (note PLUS)

Does the fact that the second instance of PF2 is enclosed in brackets imply that the value is reversed?

Thanks,

Bob
Topic: Wide range days and narrow range days -- PCFs
Posted: Monday, July 30, 2007 12:48:49 PM
Thanks, Bruce.

Could you enlarge on how to do this in Blocks?

Thnks,

Bob
Topic: Wide range days and narrow range days -- PCFs
Posted: Monday, July 30, 2007 12:26:03 PM
Hi,

I would like to create a PCF to return the widest daily range in the last X days

Also, the narrowest daily range in the last X days

Where range = high minus low

I've tried using MAX in conjunction with H-L but this is clearly returning the highest high minus the highest low. And MAX will not seem to accept further brackets to control the calculation order.

Thanks,

Bob