rdhtci |
Gold User, Member, Platinum User, TeleChart
|
Registered User |
|
|
|
|
Unsure |
|
Monday, July 23, 2007 |
Tuesday, August 1, 2017 3:41:06 PM |
20 [0.01% of all post / 0.00 posts per day] |
|
PS -- you guys do a great job...
|
OK, I've updated again and it is running properly.
Thanks, Craig and Bruce, for the help.
Bob
|
should read 'update was done...'
|
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
|
...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
|
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
|
Thanks, Bruce, that clarifies it perfectly.
Bob
|
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
|
Thanks, Bruce.
Could you enlarge on how to do this in Blocks?
Thnks,
Bob
|
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
|
|