cwbwin |
Beta Testers, Gold User, Member, TeleChart
|
Registered User |
|
New York City |
Investments |
Bridge, Choral singing, skiing, flying |
Male |
|
Friday, December 3, 2004 |
Friday, December 13, 2019 11:23:02 PM |
7 [0.00% of all post / 0.00 posts per day] |
|
Is therre a way to create a PCF for Keltner channel (10 EMA, 10 ATR, 1.5 ) formula in TC2007 that duplicates the one built into TC2000? Research shows that the EMA form is preferred to the SMA form.
|
Dear Bruce,
Thank you for yourr suggestion. I still have a problem, however, in that I also use a related custom formula ((O - MINL13) / (MAXH13 - MINL13) * 100) based on opening price and compare it to the first. Is there a way I can create a STOC based on opening price instead of closing price? If not, would (((O1 - MINL13.1) / (MAXH13.1 - MINL13.1) * 100) + ((O2 - MINL13.2) / (MAXH13.2 - MINL13.2) * 100) + ((O3 - MINL13.3) / (MAXH13.3 - MINL13.3) * 100)) / 3) yield yesterday's equivalent of STOC based on opening price? If not, is there a third party program that would do the job?
P.S. If you plot both the custom indicator ((C-MINL13)/(MAXH13-MINL13))*100 (with 3 day smoothing) and STOC13.3 in the same window, the two lines are in sync but NOT congruent.
|
I recently created the custom indicator (c-MINL13)/(Maxh13-MINL13)*100 with a three day simple smoothing average. I'd like to see if it's rising vs. yesterday. As your AVG function doesn't (yet) support formulas, I tried manually creating a PCF to do it as follows:
(((((C - MINL13) / (MAXH13 - MINL13) * 100) + ((C1 - MINL13.1) / (MAXH13.1 - MINL13.1) * 100) + ((C2 - MINL13.2) / (MAXH13.2 - MINL13.2) * 100)) / 3) > ((((C1 - MINL13.1) / (MAXH13.1 - MINL13.1) * 100) + ((C2 - MINL13.2) / (MAXH13.2 - MINL13.2) * 100) + ((C3 - MINL13.3) / (MAXH13.3 - MINL13.3) * 100)) / 3))
Unfortunately, this often returns false when the indicator line is rising (see EXH). What have I done wrong? Iif this can't be done in Telechart, is there any third party add-on program that supports moving averages of formulas?
|
I've created a couple of PCF's for ADX's +DI and -DI but the values I get differ from the lines plotted in your ADX. Could you please provide the formulas used by your vendor? Thank you. Sincerely yours,
Cy Brown
P.S. The +DI PCF I created is shown below:
(100*ABS((((H-H1)>(L1-L)AND(H-H1))+((H1-H2)>(L2-L1)AND(H1-H2))+((H2-H3)>(L3-L2)AND (H2-H3))+ ((H3-H4)>(L4-L3)AND(H3-H4))+((H4-H5)>(L5-L4)AND(H4-H5))+((H5-H6)>(L6-L5)AND(H5-H6))+ ((H6-H7)>(L7-L6)AND(H6-H7))+((H7-H8)>(L8-L7)AND(H7-H8))+((H8-H9)>(L9-L8)AND (H8-H9))+ ((H9-H10)>(L10-L9)AND(H9-H10))+((H10-H11)>(L11-L10)AND(H10-H11))+((H11-H12)> (L12-L11)AND(H11-H12))+ ((H12-H13)>(L13-L12)AND(H12-H13))+((H13-H14)>(L14-L13)AND(H13-H14)))/14)/ (((L>=C1)*C1+(L<C1)*L-(H<C1)*C1-(H>=C1)*H+(L1>=C2)*C2+(L1<C2)*L1-(H1<C2)*C2-(H1>=C2)*H1+ (L2>=C3)*C3+(L2<C3)*L2-(H2<C3)*C3-(H2>=C3)*H2+(L3>=C4)*C4+(L3<C4)*L3-(H3<C4)*C4-(H3>=C4)*H3+ (L4>=C5)*C5+(L4<C5)*L4-(H4<C5)*C5-(H4>=C5)*H4+(L5>=C6)*C6+(L5<C6)*L5-(H5<C6)*C6-(H5>=C6)*H5+ (L6>=C7)*C7+(L6<C7)*L6-(H6<C7)*C7-(H6>=C7)*H6+(L7>=C8)*C8+(L7<C8)*L7-(H7<C8)*C8-(H7>=C8)*H7+ (L8>=C9)*C9+(L8<C9)*L8-(H8<C9)*C9-(H8>=C9)*H8+(L9>=C10)*C10+(L9<C10)*L9-(H9<C10)*C10-(H9>=C10)*H9+ (L10>=C11)*C11+(L10<C11)*L10-(H10<C11)*C11-(H10>=C11)*H10+(L11>=C12)*C12+ (L11<C12)*L11-(H11<C12)*C12-(H11>=C12)*H11+(L12>=C13)*C13+(L12<C13)*L12- (H12<C13)*C13-(H12>=C13)*H12+ (L13>=C14)*C14+(L13<C14)*L13-(H13<C14)*C14-(H13>=C14)*H13)/14)
|
|